You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Mohammad Nour El-Din <no...@gmail.com> on 2006/10/12 15:32:07 UTC

Both EJBHome and EJBLocalHome remove(Object primaryKey) methods should throw javax.ejb.RemoveException when called on a SessionBean

Hi All...

As described in "EJB3.0 Core Contracts and Requirements" specification, both
EJBHome and EJBLocalHome remove(Object primaryKey) methods should throw
javax.ejb.RemoveException as mentioned in sections 3.6.2.2, 3.6.3.2 and
3.6.5 of the specification. Currently the code throws
java.rmi.RemoteException when using EJBHome and javax.ejb.EJBException when
using EJBLocalHome. I will open a JIRA with this issue to track this
requirement.

Thanks
- Mohammad

Re: Both EJBHome and EJBLocalHome remove(Object primaryKey) methods should throw javax.ejb.RemoveException when called on a SessionBean

Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On 10/12/06, Mohammad Nour El-Din <no...@gmail.com> wrote:
> Hi All...
>
> Here is the JIRA http://issues.apache.org/jira/browse/OPENEJB-282. Please
> someone assign it to me as I don't have the enough JIRA karma to do this.

Done. I've changed the permission scheme for OpenEJB and you should
now be able to assign issues to anyone, too.

Jacek

-- 
Jacek Laskowski
http://www.laskowski.net.pl

Re: Both EJBHome and EJBLocalHome remove(Object primaryKey) methods should throw javax.ejb.RemoveException when called on a SessionBean

Posted by Mohammad Nour El-Din <no...@gmail.com>.
Hi All...

Here is the JIRA http://issues.apache.org/jira/browse/OPENEJB-282. Please
someone assign it to me as I don't have the enough JIRA karma to do this.

Thanks
- Mohammad


On 10/12/06, Mohammad Nour El-Din <no...@gmail.com> wrote:

> Hi All...
>
> As described in "EJB3.0 Core Contracts and Requirements" specification,
> both EJBHome and EJBLocalHome remove(Object primaryKey) methods should throw
> javax.ejb.RemoveException as mentioned in sections 3.6.2.2, 3.6.3.2 and
> 3.6.5 of the specification. Currently the code throws
> java.rmi.RemoteException when using EJBHome and javax.ejb.EJBExceptionwhen using EJBLocalHome. I will open a JIRA with this issue to track this
> requirement.
>
> Thanks
> - Mohammad
>