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 is B2B?

0 Answers  


Which of the following are subclasses of java awt component?

0 Answers  


What is mean by connection pooling?

0 Answers  


Why awt is used in java?

0 Answers  


Give some advantages of orm (object-relational mapping)?

0 Answers  


What is a gui in java?

0 Answers  


what is the purpose and activity of SessionFactory in hibernate?

13 Answers   Cognizant, HCL, Oracle, PiServe Technologies,


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

7 Answers   AZTEC,


What is java full stack developer?

0 Answers  


I am newbie in J2EE & looking for strong basic behind each concept as, Why do we use private access specifier before each variable of type property bcoz ultimately to access it outside the class we use public method as getter & setter ? If we use getter & setter to access it outside the class so better we make variable as public so that it is easily available outside of the class... Please guide me why do we use as private ????

3 Answers   CTS,


is it possible to create single instance of java class per session in web application

4 Answers  


Define thin client?

0 Answers  


Categories