A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB Certification (SCBCD/OCPJBCD)
Unspecified transaction context
Joined: Aug 15, 2005
Apr 04, 2006 15:27:00
Which three of a session bean that implements
are called with an unspecified transaction context?
I think 1 and 3 which is the other option?
In a JNDI lookup what does java:comp/env prefix access?
2.EJBContext of the bean
3.server's JNDI namespace
4.the bean's private namespace.
I think the answer is 3
SCJP | SCWCD |SCBCD |SCDJWS |SCEA
Joined: Jul 28, 2005
Apr 04, 2006 16:14:00
For your second question I would vote for Option 4.
Joined: Nov 03, 2004
Apr 07, 2006 17:43:00
before completion should be in a transaction... it can not be in an unspecified transaction. Anyone any input?
I agree. Here's the link:
subject: Unspecified transaction context
Operations Allowed in the Methods of a Session Bean
"Unspecified Transaction Context"
Transaction Question from spec
ejbcertificate.com - Session Bean Lifecycle
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015