]
Tomasz Adamski resolved WFLY-2509.
----------------------------------
Resolution: Rejected
Method invocation of a non serializable remote EJB
---------------------------------------------------
Key: WFLY-2509
URL:
https://issues.jboss.org/browse/WFLY-2509
Project: WildFly
Issue Type: Enhancement
Components: EJB
Reporter: omar al kababji
Assignee: Tomasz Adamski
Priority: Optional
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.