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

Unspecified transaction context

 
Sandhya Lever
Ranch Hand
Posts: 90
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which three of a session bean that implements SessionSynchronization are called with an unspecified transaction context?
1.constructor
2.afterbegin
3.afterCompletion
4.beforeCompletion

I think 1 and 3 which is the other option?

In a JNDI lookup what does java:comp/env prefix access?
1.server resources
2.EJBContext of the bean
3.server's JNDI namespace
4.the bean's private namespace.

I think the answer is 3
Thanks
 
Sunil Dumpala
Greenhorn
Posts: 29
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For your second question I would vote for Option 4.
 
Balaji Anand
Ranch Hand
Posts: 146
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
before completion should be in a transaction... it can not be in an unspecified transaction. Anyone any input?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic