I'm a little lost and trying to find answers but am struggling, so please forgive me if anything appears...well stupid.
I am trying to follow the org.jboss.remoting.samples.transporter.serialization and incorporate it into a seam project I have deployed as an ear. In other words the server side will be running within the seam application and client side will be a standalone distributed as a jar.
I have gotten it working with built in types i.e a String.
So change method footprint from:
`
public Order processOrder(Order order)
`
to
`
public String processOrder(String text)
`
I can call from the Client side just fine:
`
OrderProcessor orderProcessor = (OrderProcessor) TransporterClient.createTransporterClient(locatorURI, OrderProcessor.class);
System.out.println("Order to be processed: " + order);
String resultString = orderProcessor.processOrder("My Text");
`
and get back a result.
However if I try to use a custom object, like Order. I get ClassNotFoundException on the server side. How do I configure JBoss to use the classes deployed in my ear file? What confuses me is I have deployed the server transporter in my ear file as well as Order.class, however Order.class can't be found. I have tried following the instructions here: http://docs.jboss.org/jbossremoting/docs/guide/2.2/html/ch07.html but I think that I am misunderstanding the purpose of those instructions.
Can anyone clarify this for me?
Thank you!