This week's book giveaway is in the Server-Side JavaScript and NodeJS forum.
We're giving away four copies of Micro Frontends in Action and have Michael Geers on-line!
See this thread for details.
Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

entity bean vs session bean

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anybody tell me what is difference betweeb
entity bean and session bean

we are using beans to write business logic.
 
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic