[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: AW: [sca-j] ISSUE LOGGED: JAVA-5: EJB remove method on EJBHome
That issue was not even accepted,
right?
Henning Von: Barack, Ron [mailto:ron.barack@sap.com] Gesendet: Donnerstag, 4. Oktober 2007 11:29 An: Michael Rowley; sca-j@lists.oasis-open.org Cc: Matthew Shinn Betreff: [sca-j] ISSUE LOGGED: JAVA-5: EJB remove method on EJBHome http://www.osoa.org/jira/browse/JAVA-5 Von: Michael Rowley [mailto:mrowley@bea.com] Gesendet: Dienstag, 2. Oktober 2007 22:57 An: sca-j@lists.oasis-open.org Cc: Matthew Shinn Betreff: [sca-j] NEW ISSUE: EJB remove method on EJBHome TARGET: EJB Session Binding
Specification section 2.3.1 (section number from 1.0 version of the
spec) DESCRIPTION: In the discussion of the Ejb 2.x
client view in section 2.3.1 it says: “When the SCA
conversation with a stateful session bean ends, for example as a result of a
call to ServiceReference.endSession(), the associated session object will be
removed by calling the EJB Home remove() method.” Shouldn’t this really be a call to
the remove method on the EJBObject instead of the EJBHome? The EJBHome
interface has the following two remove methods: Public void
remove(javax.ejb.Handle handle); Public void remove(Object
primaryKey); The second remove method would be
illegal to invoke on a session bean home. The first remove method implies
a prior call to EJBObject.getHandle(). Further, the EJBLocalHome interface
only has the remove method that takes the primary
key. PROPOSAL: The remove method on the EJBObject
or EJBLocalObject interface should be used to remove the
EJB. |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]