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 10503

difference b/w the hybernate and entity bean

Wipro,

6 11361

Can CMP manage BMP Transaction ? Entity Bean Life Cycle ?

IBM, SAP Labs, Sony,

1 5015

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.

1773

Can Container managed Bean-Managed Persistence ?

Sony,

1684

Can Container Managed Bean-Managed Transaction ?

Sony,

3 5698

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

1 8967

ejb session beans and entity beans?

1 3125

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

HCL,

2 4284

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

3 5243

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

CGI,

2 5025

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 3835

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

3 4397

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

Excel,

3 4053

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

Excel,

2155


Post New EJB Questions

Un-Answered Questions { EJB }

What is the difference between ejb and spring?

520


How to create ejb project in eclipse?

519


Is udp stateless?

569


What do you mean enterprise javabeans (ejb) container?

589


Elucidate callback in ejb?

534






How does ejb invocation take place?

561


What is entity beans in ejb with example?

494


What is the difference between session and entity beans? When should I use one or the other?

537


What are ejb containers?

531


why Bean class implements all business method of Remote interface but bean bean class not implements the remote interface

2010


What is the meaning of acid in the connection of transaction management?

531


How entity beans support container managed persistence?

1929


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?

520


Where is ejb used?

512


What is the purpose of ejb in java?

530