Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ava.io.NotSerializableException: javax.ejb.AsyncResult

 
Vladimir Liela
Greenhorn
Posts: 8
IBM DB2 Eclipse IDE Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all.
Have faced a problem with the call of an asynchronous EJB method. Trying to run stadard example using JBoss 5.0.0 CR2 via Eclipse Juno 3.8.2-4.2.2


The code of the EJB is


Remote interface:


The client applicaion:



All business logic has been deliberately omitted to make the example more clear. When the client runs I get the exception


The method itself works perfectly well (in JBoss console everthying is ok and it really operates ok). But the error occurs during returning the result to the client.
Would be grateful if somebody could help.
Have looked though the Internet, but the only solution that I figured out is about implementation of "Serializable" interface. But AsyncResult is a supplied class.
The jar containing AsyncResult is ejb31-api-experimental-3.1.4.jar has been found in the Internet. Please, help.
Thanks in advance/
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!