• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown

Stateful Bean LifeCycle

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?

Yeah, but does being a ninja come with a dental plan? And what about this tiny ad?
a bit of art, as a gift, that will fit in a stocking
    Bookmark Topic Watch Topic
  • New Topic