Hi
I am trying to access a remote stateless session bean, which returns an interface. The interface is IStringWrapper which is an interface to StringWrapper, which has a single method, getString().
The bean looks like this:
public void ejbCreate() throws CreateException { } public IStringWrapper getStringWrapper() { Log.debug( this, "Returning new StringWrapper with \"hello\"" ); return new StringWrapper( "hello" ); }
Exception in thread "main" java.lang.reflect.UndeclaredThrowableException at $Proxy1.getStringWrapper(Unknown Source) at ejb.client.TestClient.getStringWrapper(TestClient.java:43) at Test.main(Test.java:25) Caused by: java.lang.ClassNotFoundException: ejb.results.containers.StringWrapper at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
OK, so I'm a muppet who doesn't understand the fundamentals of serialization. Let the flames begin...
:p