File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes JBoss Remoting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss Remoting" Watch "JBoss Remoting" New topic

JBoss Remoting

Barry Higgins
Ranch Hand

Joined: Jun 05, 2003
Posts: 89
Hi all,
I am trying yo connect to a SSB using a remote client. However I may not have the correct classes on this client that this bean returns. This obviously gives me an RMI ClassNotFoundException.
To get around this I was hoping to use something like the remote classloading features of JBoss Remoting. I was hoping that this would involve modifications to the client and allowing the server to still expose the stateless bean for access over RMI.
From what I have read this does not appear to be the case. Can anyone who has used Remoting confirm this for me or am I looking at this the wrong way. By the way I am using Jboss 4.3.
Thanks in advance,
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

You should just need your interfaces on the client side, and some basic client libs that you can find in the JBOSS_HOME/client directory, you do not need every jar in that directory, just the ejb ones.

You also need a file on the client side.

EJB SSB are for remote method calling, you should not need to go beyond the spec. If you are not familiar with EJBs, I recommend doing a Google search.

Good Luck


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
Barry Higgins
Ranch Hand

Joined: Jun 05, 2003
Posts: 89
Hi Mark,
Thanks for your reply. I should have made myself clearer.
I am returning a serializable class from the SSB but due to the nature of the project, I may not have this class definition on the client (thus causing an RMI error).
I am familiar with EJBs but am not familiar with JBoss Remoting.
My question is if it will offer the ability to "remotely classload" the server side class without having to make significant changes to the server?
I agree. Here's the link:
subject: JBoss Remoting
It's not a secret anymore!