• 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 ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Stateful Bean LifeCycle

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?

If you open the box, you will find Heisenberg strangling Shrodenger's cat. And waving this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic