Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Stateful Bean LifeCycle

David Duncan
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?

Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!