aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes entity bean  vs  session bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "entity bean  vs  session bean" Watch "entity bean  vs  session bean" New topic
Author

entity bean vs session bean

reshu goyal
Greenhorn

Joined: Jan 25, 2005
Posts: 10
can anybody tell me what is difference betweeb
entity bean and session bean

we are using beans to write business logic.
rehans oberoi
Ranch Hand

Joined: Dec 06, 2005
Posts: 174
hi reshu


ENTITY BEANS:
it provide object representaion of data in the database.
they can allow shared access from multiple user.


SESSION BEAN: represent a process excecutiong on the behalf of a single object.even though it does not present directly shared data .
it can access or update the data in the database . session bean can
be ststeful or stateless. a session beans retains the conversational
state of the client acrosss multiple method calls. stateless session
bean are dedicated to the client only for the duration of single method call

and about

message driven bean: are asynchronously invokes when a client
message arrives. client never call them directly. so they do not have any
home or component interface

Praveena Jayanthi
Greenhorn

Joined: Dec 30, 2005
Posts: 10
I like the difference presented in HFEJB..

Entity Bean "IS" something.
Session Bean "DOES" something.

Think of ENtity Bean as a NOUN
and Session Bean as a VERB.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: entity bean vs session bean
 
Similar Threads
Wrapping an entity bean
What is the different between Session Bean and Entity Bean
session Vs Entity
J2EE
Call Entity Beans