what are main features in EJB?
Answers were Sorted based on User's Feedback
Answer / janet
1.EJB architecture is inherently
transactional,distributed,portable,multitired secure.
2.EJB components are serverside components written entirely
in the java.
3.EJB components contain business logic only no system level
programming.
4.System level services such as transactions,security,life
cycle ,threading,persistence etc are automatically managed
by the EJB component by the EJB server.
5.EJB architecture is wire-protocol neutral Any protocol can
be utilized: HTTP,IIOP,DCOM etc.
| Is This Answer Correct ? | 15 Yes | 2 No |
Answer / harish
features in EJB2.0 :
Query Language has been introduced.
Container Manager Relationship has been introduced.
Local Interfaces have been introduced.
Message Driven Beans have been introduced.
| Is This Answer Correct ? | 2 Yes | 10 No |
how can we decide a session bean as stateless or stateful without seeing jar file? i.e. by seeing the class file.
What does @singleton annotation do?
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.<init> (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.<init> (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
what is mean by com/Dcom ? Please answer me. Advance thanks.
Differentiate Phantom from Un-repeatable?
Is soap stateless or stateful?
What is bean-managed transaction?
What are the design goals of EJB architecture?
Write the basic requirement of a cmp entity based class in 2.0 from ejb 1.1?
How can I call one EJB from inside of another EJB?
Where is ejb used?
Explain the Sotware Architechture of EJB?