• Post Reply Bookmark Topic Watch Topic
  • New Topic

Local and Remote References

 
ahmad namini
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I hava a SWING based client that makes a call to a message-style web service which in turn invokes a local EJB. This ejb, designed as a session facade, makes a few calls to other local ejbs and one call to a remote ejb.
A problem exists in that the remote ejb does not work. My appserver (JBoss) cannot create the home object and I get an error signifying an "error marshalling arguments). The question are as follows:
1. Is it possible to invoke a remote and local beans from the same bean. I did incorporate local and remote references in my deployment descriptors, to no avail.
 
ahmad namini
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry all. I found my error. When invoking my remote bean, transaction was still on via the deployment descriptor. Thus, when invoking the remote bean, it needed to serialize, which it could not, since the parameter was not serializable, and thus the error.
Pretty neat stuff.
Sorry all again.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!