![]() Related Questions Why are ejbActivate() and ejb Passivate() included for stateless session bean even though they are never required as it is nonconversational bean To have a consistent interface, so that there is no different interface that you need to implement for Stateful Session Bean and Stateless Session Bean. Both Stateless and Stateful Session Bean implement 1. How do J2EE application servers in general and the Weblogic servers in particular help software development? 2. What are EJBs? What are factors to determine which type of the EJBs to use? Give an example for each type you built recently in the projects you worked with and your reason of using that? 3. Describe how transactions are handled in EJBs. What happens to an EJB if an Exception is not caught? 4. Describe different ways of deploying EJBs to the Weblogic servers. Describe the necessary Read Answers (2) | Asked by : Basavaraj Latest Answer : first prepare jar file,if already create the domain for application,then no problem,otherwise create a domain for the application.1.go o start button/programfiles/bea home/wizardthen create domain.follow steps as given by above person. ... Read Answers (2) | Asked by : srinu Latest Answer : I agree with Jacks to an extent. So called N/W traffic issue is all bookish stuff. OK now see these scenario1) Client calling Entity Bean directly.client -------->Servlet ---------> Entity Bean2) Client calling Entity bean via Session Facadeclient-------->Servlet------>SessionFacade-------->entity ... Read Answers (5) | Asked by : rama krishna As per the weblogic ejb documentation:ejb-jar.xml and weblogic-ejb-jar.xml are the deployment descriptor files required one per ejb. My question is how about multiple ejb deployments?Thanks Its cluster domain with 4 managed server in weblogic. stateless sesion bean is created, it is a cluster enabled one. Here my need is to get the server name inside a bean about in which server the bean instance is created ?. Please let me know if any ones knows about it . View Question | Asked by : Louis In cluster domain in weblogic with 4 managed server. cluster enabled stateless bean is created & deployed. Inside the bean, how to get server name programmatically in which the bean instance is created ? what are the serious problems you had faced while using EJB's Latest Answer : Just deploying the jar file will not help in Weblogic, you need to compile the ejb source using the ejb compiler "ejbc" supplied by weblogic.Otherwise we will see version miss match errors and it will not be deployed.I forgot the exact error ...
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||