Details
-
Enhancement
-
Resolution: Won't Do
-
Optional
-
None
-
None
-
None
Description
If you have a remote EJB that is not Serializable (i.e. does not implement the interface Serializable) you can lookup such class from a remote EJB client however when you execute a method you get an error as follows:
java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available for handling
The enhancement is to give an error or warning message when the EJB is deployed notifying the developer that he is deploying a Remote EJB that is not implementing the Serializable interface.
The same thing happens if you deploy an EJB marked with the annotation @Remote but with no @Stateless nor @Statefull annotations.