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

Is string a primitive data type in java?

0 Answers  


Name the Implicit variable which is used to access other implicit objectes present in JSP.

7 Answers   AZTEC,


What is the ear file?

0 Answers  


What is event handling in java?

0 Answers  


where exactly the servlets and jsp's are stored?

6 Answers   CG-VAK, JHJ, TCS,


What is j2ee stand for?

0 Answers  


Why is j2ee needed?

0 Answers  


What is declarative security ?

0 Answers  


Why java is called robust and secure?

0 Answers  


What are struts?

0 Answers  


Why java is a platform?

0 Answers  


What is deployer?

0 Answers  


Categories