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

What is assembly in java?

917


What are the advantages of object-relational mapping (orm)?

873


What is form-based authentication?

972


How many types of modules is defined by j2ee specification?

906


What is server in j2ee?

882


What is a web container j2ee?

941


What is java 2 platform, standard edition (j2se)?

1024


Define connection pooling?

902


What is a java application server?

926


What are web technologies in java?

862


What is devops in java?

939


What is java j2ee developer?

886


How java is used in web applications?

935


How do you compile java?

897


What is credentials?

907