This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference between the Create methods...

 
vishnu mohan
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the difference between the session bean's CREATE method and the entity bean CREATE method?
 
Sam Wang
Ranch Hand
Posts: 95
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello vishnu mohan.
In session bean,the create method is the start
of a serie of actions.The container create a
new session bean's impl class(or take it out
from the pool).If it's a stateless bean,it's
end.If it's a stateful bean,some user's data
is passed in the instance.
In entity bean,the create method means the
container get a instance of the impl bean's
class and load the data from some datasource
to this instance.Entity bean means data,however
session bean means action.
May this help you.Please tell me my fault if
there is.
 
vishnu mohan
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Stub Wang!
I got the things... thanks for ur reply..
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic