Basic types of Enterprise JavaBeans?

Answers were Sorted based on User's Feedback



Basic types of Enterprise JavaBeans?..

Answer / guest

Entity bean
Session bean
Message driven bean

Is This Answer Correct ?    3 Yes 1 No

Basic types of Enterprise JavaBeans?..

Answer / janet

There are two types of Enterprise beans- session beans and
entity beans representing different types of business logic
abstractions.
session beans represent behaviors associated with client
sessions ,they are generally implemented to perform a
sequence of tasks with in the context of a transaction. A
session bean is a logical extension of the client program
,running process on the clients behalf remotely on the server.
Entity bean represent specific data or collection of data
,such as a row in a relational database.Entity bean methods
provided operations for action on the data represented by
the bean.An entity bean is persistent,it servives as long as
its data remains in the database.

Is This Answer Correct ?    1 Yes 0 No

Basic types of Enterprise JavaBeans?..

Answer / harika

EJB's holds the business logic solely.

There are 2 types of EJB

1--> Session ==>Performs task for the client

2--> Message Driven ==> acts as a listener for a message type ,for example Java Message Service API

Is This Answer Correct ?    0 Yes 0 No

Basic types of Enterprise JavaBeans?..

Answer / harika.thota001@gmail.com

EJB's holds the business logic solely.

There are 2 types of EJB

1--> Session ==>Performs task for the client

2--> Message Driven ==> acts as a listener for a message type ,for example Java Message Service API

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More EJB Interview Questions

Life cycle methods in stateless Session Beans?

3 Answers   Virtusa,


What is software architecture of ejb?

0 Answers  


What is a local interface?

0 Answers  


What is the purpose of ejb in java?

0 Answers  


What are the steps involved in creating a Bean?

2 Answers  






What does ejb stand for?

0 Answers  


Is method overloading allowed in ejb?

0 Answers  


What are the different kind of ejb's?

0 Answers  


What is EJB object?

0 Answers  


What is a stateless session?

0 Answers  


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

1 Answers  


How EJB component can in interact with COM/DCOM components?

1 Answers  


Categories