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...
No Answer is Posted For this Question
Be the First to Post Answer
What is japplet in java?
What is distributed application?
i developed a Stateless Session bean program.And created a client by a common java class as class m {p s v m(String s[]){....}} And i called the bean deployed in weblogic.from cmd prompt And that run. mind it i have to set setenv,seting classpath for that bean jar file before compile and run it. ok when i do a servlet programme deployed in tomcat and call that bean then it give classdefnotfoundException and NoInitialContext like this.So how i sucessfully do this? Ok when i call that bean from java class from the console like i previously told, if i don't set setenv i found the same error on the cmd prompt. pls help to get out of it
What do you mean by the deployment descriptor?
What is java api for xml processing (jaxp)?
What is single tier architecture in java?
What is devops in java?
What is tomcat in j2ee?
What do you mean by j2ee module?
Hi friends, can u explain Transparent Persistence in hibernate with sample code.
What are the main components of multi-tier architecture?
Why is java called object oriented?