There are a number of ways you can go about this. The important thing
is that the home and remote interfaces to your bean have to be
available to the servlet.
The simplest way to deal with this is to combine your ejb jar and
servlet war into a single ear file. Tomcat makes the ejb classes
available to the servlet automatically.
Another way is to put the home and remote classes into a separate
jar and include them in the war classpath. You do this by including a
line in the manifest.mf file for the war. I forget what this line
should say.
Darrin
"Antonio Vazquez" [EMAIL PROTECTED] writes:
Hi all,
Im using tomcat embedded in jboss. I`m testing Interest emxample. When I
try to access to Interest EJB from the command line I havent any
problems.But when I try to access it from a servlet I obtain the following
error.
javax.naming.CommunicationException. Root exception is [EmbeddedTomcat]
java.lang.ClassNotFoundException: com.web_tomorrow.interest.InterestHome
Can anybody helps me?
Thanks
Antonio
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user