Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Stateful Bean LifeCycle

 
David Duncan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the head first book a stateful session bean in the ejbCreate method says the following can happen.

get a reference to a home
get a reference to your ejboject
get security information about a client

It says you can't for a transaction rollback or find out if a transaction has already been rolled back.

I tried a transaction rollback and find out whether a transaction has been rolled back in ejbCreate using Oracle 10g developer using Orion as the container and it worked out. (The same happened in ejbRemove)

Can anybody confirm for the exam what is correct?

Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic