[
https://issues.jboss.org/browse/WFLY-2509?page=com.atlassian.jira.plugin....
]
Stuart Douglas commented on WFLY-2509:
--------------------------------------
There is no requirement that EJB's or their remotes implement serialisable (I
don't think any of the remote EJB's in our test suite do).
If you are having trouble with remote EJB invocation please ask in the forums first with
more details.
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.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)