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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c++ more secure than java?

851


What is delegation?

931


What is web container in j2ee?

902


What is ear file?

873


What is comment?

864


What is j2ee api?

902


Describe orm?

879


What is application client?

938


What is filter chain?

870


what is direct link to download swing ebook,applet,ejb,core java

2533


What is a j2ee module?

873


How to create object without using the keyword “new” in java?

953


Which java ide is best?

860


How does javac compiler work?

815


What is use of final keyword in java?

917