>In the course of doing some tests with jBoss I discovered the following
>discrepancies between jBoss and the EJB 1.1 specification.
>
>jBoss fails to throw a NoSuchObjectException when an attempt is made to
>access a stateful session bean after it is removed.  jBoss throws
>java.rmi.ServerException instead.  See page 59 of the EJB 1.1
specification.

Add to BugZilla.

>jBoss fails to throw a RemoteException when an attempt is made to remove a
>session bean with a primary key via the home interface. jBoss throws
>java.rmi.ServerException instead.  See page 42 of the EJB 1.1
specification.

ServerException is a subclass of RemoteException

>jBoss fails to throw a RemoteException when an attempt is made to use the
>getPrimaryKey method on a session bean. jBoss doesn't throw any exception
>but returns a java.lang.Long object instead.  See page 43 of the EJB 1.1
>specification.


Add to BugZilla.

/Rickard




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to