Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Which one should we prefer while using bean ?
managed bean annotation or faces-config



Which one should we prefer while using bean ? managed bean annotation or faces-config..

Answer / m4n07

Since we can create managed bean by two ways as,
we can define the bean name in faces-config.xml file so that
page can use that OR we can write annotation on bean class so
that it is automatically assign to page but I want to know
which one is good programming practice ?

And also mention disadvantage of other which should not prefer
...

Thanking you...

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More J2EE Interview Questions

What do you mean by the component contract?

0 Answers  


What is containers in java?

0 Answers  


What is commit?

0 Answers  


what is the difference between Tomcat 4 & Tomcat 5?

6 Answers   IBM, TCS,


Explain the four types of container that the j2ee specification defines

0 Answers  


What are the components and containers in java?

0 Answers  


servlet has not any main method in it how does it work by JVM?

7 Answers  


What is awt panel java?

0 Answers  


What is j2ee product provider?

0 Answers  


What is a web container in j2ee?

0 Answers  


What is DDP?

0 Answers  


how to run servlet program between two computer through internet ?

0 Answers   TATA,


Categories