EJB Interview Questions
Questions Answers Views Company eMail

how can u integrate ejb and hibernate? How can u call hibernateDAO methods in session bean?

Infosys,

2 10550

difference b/w the hybernate and entity bean

Wipro,

6 11411

Can CMP manage BMP Transaction ? Entity Bean Life Cycle ?

IBM, SAP Labs, Sony,

1 5068

can anyone explain me the workflow of EJB.I have developed an app. in WSAD using an example that contains CMP and session bean.But i am not able to understand the basic flow between diffrent packages.

1786

Can Container managed Bean-Managed Persistence ?

Sony,

1699

Can Container Managed Bean-Managed Transaction ?

Sony,

3 5733

what is a ejb architecture? and overview of ejb software architecture?

1 9015

ejb session beans and entity beans?

1 3140

explain why we say stateless beans does not maintain conversation state besides statefull maintains conversation state. give some examples...

HCL,

2 4327

java doesnot support multiple inhetance. but a interface can support.how the ambiguities are rectified in interfaces?

3 5271

java doesnot support multiple inhetance. but a interface can support.how the ambiguities are rectified in interfaces?

CGI,

2 5048

In my project iam integrating telephone line using some bridge. To connect my project to that telephone line they have give some jar file. Using dat i connected with that.. To handle that event like call attented, call disposed and idle time they have give one event listener class.. I did every thing and this class is alsoo called when a particular event is fired. The only thing is i wanna call EJB from that event listener method.. But the EJB is not getting initated and exception is thrown. This below shownn error is occured only i try to call it from this event listener class. In other places EJB calling is working fine.. javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org/jnp/interfaces/NamingContextFactory] at javax.naming.spi.NamingManager.getInitialContext (NamingManager.java:657) at javax.naming.InitialContext.getDefaultInitCtx (InitialContext.java:247) at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext. (InitialContext.java:197) at com.kgisl.etrac.desk.servicelocator.ServiceLocator.getInitia lContext(ServiceLocator.java:82) at com.kgisl.etrac.commonUtils.EventListener.getAdministrationE JBRemote(EventListener.java:206) at com.kgisl.etrac.commonUtils.EventListener.CallDispositioned (EventListener.java:65) Caused by: java.lang.ClassNotFoundException: org/jnp/interfaces/NamingContextFactory at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at com.sun.naming.internal.VersionHelper12.loadClass (VersionHelper12.java:42) at javax.naming.spi.NamingManager.getInitialContext (NamingManager.java:654) ... 6 more javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org/jnp/interfaces/NamingContextFactory] at javax.naming.spi.NamingManager.getInitialContext (NamingManager.java:657) at javax.naming.InitialContext.getDefaultInitCtx (InitialContext.java:247) at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext. (InitialContext.java:197) at com.kgisl.etrac.desk.servicelocator.ServiceLocator.getInitia lContext(ServiceLocator.java:82) at com.kgisl.etrac.commonUtils.EventListener.getAdministrationE JBRemote(EventListener.java:206) at com.kgisl.etrac.commonUtils.EventListener.CallDispositioned (EventListener.java:65) Caused by: java.lang.ClassNotFoundException: org/jnp/interfaces/NamingContextFactory at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at com.sun.naming.internal.VersionHelper12.loadClass (VersionHelper12.java:42) at javax.naming.spi.NamingManager.getInitialContext (NamingManager.java:654) ... 6 more It would be more help full if i get the solution 10x in advance balaji

1 3861

how can we decide a session bean as stateless or stateful without seeing jar file? i.e. by seeing the class file.

3 4445

what is mean by dll ? Please answer me. Advance thanks.

Excel,

3 4081

what is mean by OLE ? Please answer me. Advance thanks.

Excel,

2165


Post New EJB Questions

Un-Answered Questions { EJB }

How do I use a less than or greater than on a message selector in ejb-jar.xml?

531


What is stateful session bean?

570


What is ejb in java with example?

520


A client wants to preserve the reference to the ejbhome object of an enterprise bean instance and use it later. Which of the following can be serialized for this purpose?

533


Can you be deported if you are stateless?

480






What does statelessness mean?

531


What are the key benefits of the ejb technology?

612


TX operation funtion executed by?

2213


What is stateless and stateful?

519


What are the components of session beam?

649


What is the difference between ejbcreate() and ejbpostcreate?

538


What are the attributes of transaction in ejb?

511


What do you mean by ejbdoclet?

630


What are the callback annotations for the stateless bean?

498


How does ejb work in java?

550