Guys,
I deployed a stateless session bean into
JBOSS 4.2 as .jar, but my client couldn't seem to get a hold of this bean!
Currently my bean jar contains simply the binaries as such:
the interface has got the @Remote annotation
The session bean, has got the @Stateless annotation
I think I don't need to put any other file because of the new EJB3 @Annotations
upon deploying this app, I got this msg in JBOSS:
At which point, I deployed a separate .war containing a simple webapp, where the
servlet attempts to access the bean like so:
However, I couldn't get it because I got a ClassCastException. Basically the object retrieved by the ctx.lookup is not castable to ProcessHello.
However I checked a bunch of tutorials, and they seems to be accessing them this way.
So my guess is that I must have prepared the bean .jar file incorrectly, but I couldn't work out what is wrong with it or what is missing.
Any pointer/help is much appreciated!
[ October 18, 2007: Message edited by: Zenikko Sugiarto ]
[ October 18, 2007: Message edited by: Zenikko Sugiarto ]