Fujitsu V6.0 manual Restriction Remarks Date Removal

Models: V6.0

1 96
Download 96 pages 17.07 Kb
Page 31
Image 31

Restrictions on the EJB Service

No.

Restriction

Remarks

Date of

 

 

 

Removal

 

 

 

 

18

In a specific method of the EJB application that

None.

Not

 

implements both Local and Remote interfaces, the

 

determined

 

following API of javax.ejb.SessionContext or

 

 

 

javax.ejb.EntityContext is executed, it returns Null.

 

 

 

[getEJBLocalObject]

 

 

 

When this method is executed, the following methods

 

 

 

return Null.

 

 

 

[In case of STATEFUL Session Bean]

 

 

 

- ejbCreate

 

 

 

- afterBegin

 

 

 

- beforeCompletion

 

 

 

- afterCompletion

 

 

 

- bisiness method

 

 

 

- ejbRemove

 

 

 

[In case of STATELESS Session Bean]

 

 

 

- ejbCreate

 

 

 

- bisiness method

 

 

 

- ejbRemove

 

 

 

[In case of CMP2.0 Entity Bean]

 

 

 

- ejbRemove

 

 

 

 

 

 

19

In a specific method of the EJB application that

None.

Not

 

implements both Local and Remote interfaces, when the

 

determined

 

getEJBHome method is issued to the EJB object got by

 

 

 

getEJBObject of SessionContext, it returns

 

 

 

RemoteException. When the above method is

 

 

 

executed, the following methods cause an exception.

 

 

 

[In case of STATELESS Session Bean]

 

 

 

- ejbCreate

 

 

 

- ejbRemove

 

 

 

 

 

 

20

When the lookup via Remote interface is done in the

See Note 1 below

Not

 

EJB application that implements both Local and Remote

 

determined

 

interfaces from the same EJB application,

 

 

 

java.lang.ClassCastException occurs.

 

 

 

 

 

 

Note 1

When the lookup via LocalHome and Home interface is done in the EJB application that implements both Local and Remote interfaces from the same EJB application, the following works are necessary for the EJB application development and its runtime operation.

2-9

Page 31
Image 31
Fujitsu V6.0 manual Restriction Remarks Date Removal