aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Unspecified transaction context Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Unspecified transaction context" Watch "Unspecified transaction context" New topic
Author

Unspecified transaction context

Sandhya Lever
Ranch Hand

Joined: Aug 15, 2005
Posts: 90
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


SCJP | SCWCD |SCBCD |SCDJWS |SCEA
Sunil Dumpala
Greenhorn

Joined: Jul 28, 2005
Posts: 29
For your second question I would vote for Option 4.
Balaji Anand
Ranch Hand

Joined: Nov 03, 2004
Posts: 146
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
 
subject: Unspecified transaction context