Free Training


C Language  |  CSS  |  MainFrame  |  VBScript  |  PHP  |  XML  |  C++ Tutorials  |  Ajax  |  JavaScript  |  CSS3  |  UML  |  jQuery  |  Microsoft AJAX

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