what is SessionBean, EntityBean?

Answer Posted / harika.thota001@gmail.com

Session Bean :- It Performs task for a client. It Not Persistent. When the client terminates, its session Bean will no longer be available

Entity Bean:- It Represents a business object. It is Persistent. Even the EJB Container terminates, entity bean still be in database

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is more beneficial: CMP or BMP?

604


What is stateless programming?

605


Write down the steps for the creation of stateless ejb.

609


Does spring use ejb?

510


What do you mean by ejb ql?

579






Why do we need ejb in java?

519


For ejb applications with bean-managed transaction demarcations, which of the following is used by the client to get a reference to the usertransaction object for the weblogic server domain?

543


What’s new in the ejb 2.0 specification?

539


Differentiate Conversational from Non-conversational interactions?

550


Write the basic requirement of a cmp entity based class in 2.0 from ejb 1.1?

597


What is the use of @ejb annotation?

538


What is ejb ql?

570


Why do we use ejb?

526


What is the use of @resource?

553


An instance of stateful session ejb when accessed simultaneously from more than one clients on same vm results in remoteexception or ejbexception. In case the client is a servlet thread, which of the techniques can be used to avoid remoteexception/ejbexception?

570