Exforsys.com
 

Sponsored Links

 

SCBCD Tutorials

 
Home Certification SCBCD
 

SCBCD Study Notes : Chapter 4 : Session Bean Life Cycle

 

SCBCD Study Notes : Chapter 4 : Session Bean Life Cycle - Page 2

Page 2 of 3



Given a list of methods for a stateful or stateless session bean class, define which of the following operations can be performed from each of those methods: SessionContext interface methods, UserTransaction methods, Java Naming and Directory Interface API (JNDI API) access to java:comp/env environment naming context, resource manager access, and other enterprise bean access.


Stateful Session Bean


Table 4.1. Operations allowed in the methods of a stateful session bean.


Bean method

 



 


 


 


 


Bean method can perform the following operations

 



 


 


 


 


Container-managed transaction demarcation

 



 


 


 


 


Bean-managed transaction demarcation

 



 


 


 


 


constructor

 



 


 


 


 


-

 



 


 


 


 


-

 



 


 


 


 


 



 


 


 


 


methods: , .

 



 


 


 


 


JNDI access to

 



 


 


 


 


methods: , .

 



 


 


 


 


JNDI access to

 



 


 


 


 


 



 


 


 


 


 



 


 


 


 


 



 


 


 


 


 



 


 


 


 


methods: , , , , .

 



 


 


 


 


JNDI access to

 



 


 


 


 


Resource manager access

 



 


 


 


 


Enterprise bean access

 



 


 


 


 


methods: , , , , , .

 



 


 


 


 


methods

 



 


 


 


 


JNDI access to

 



 


 


 


 


Resource manager access

 



 


 


 


 


Enterprise bean access

 



 


 


 


 


Business method from component interface

 



 


 


 


 


methods: , , , , , , .

 



 


 


 


 


JNDI access to

 



 


 


 


 


Resource manager access

 



 


 


 


 


Enterprise bean access

 



 


 


 


 


methods: , , , , , .

 



 


 


 


 


methods

 



 


 


 


 


JNDI access to

 



 


 


 


 


Resource manager access

 



 


 


 


 


Enterprise bean access

 



 


 


 


 


 



 


 


 


 


 



 


 


 


 


methods: , , , , , , .

 



 


 


 


 


JNDI access to

 



 


 


 


 


Resource manager access

 



 


 


 


 


Enterprise bean access

 



 


 


 


 


N/A

 



 


 


 


 


(a bean with bean-managed transaction (BMT) demarcation cannot implement the interface)

 



 


 


 


 


 



 


 


 


 


methods: , , , , .

 



 


 


 


 


JNDI access to

 



 


 


 


 



 



 


 


 


 




Next Page: SCBCD Study Notes : Chapter 4 : Session Bean Life Cycle - Page 3





 

 

Comments



Post Your Comment:

Members Please Login
Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe    

Sponsored Links

 

Subscribe via RSS


Get Daily Updates via Subscribe to Exforsys Free Training via email


Get Latest Free Training Updates delivered directly to your Inbox...

Enter your email address:


 

Subscribe to Exforsys Free Training via RSS
 

 

Copyright © 2000 - 2009 exforsys.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape