What I am trying to do is access an EJB from a Tomcat servlet which is what EJB's are designed for.
For example, lets say I have an EJB that excepts a two Strings. One is the username and the other is the Password. The EJB then verifies the username/password with the datasource and sends a success or failure back to the EJB client. This way you only have to set up the logic once (in an EJB) and then any application (servlet, swing, jsp....) should be able to access it. That is the theory anyway, but it does not seem to be working with tomcat because I can access the EJB through console, swing, and most web based apps except for the ones on my Tomcat cluster :O(. Jon -----Original Message----- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Friday, July 28, 2006 12:57 PM To: Tomcat Users List Subject: Re: Tomcat and Sun's Application server Jon, > It just can not seem to understand why it is so hard to get a Java > servlet container to communicate with an Enterprise Java Bean, it > seems like they should work together seamlessly. Forgive my ignorance (I don't have much experience with EJBs), but it sounds like you are trying to use EJBs outside of an EJB container, which doesn't make a lot of sense. Just because you can pull an EJB out of JNDI doesn't mean that you can do anything with it. If you want to work with EJBs, you're going to need an EJB container, so Tomcat won't meet your needs. Am I wrong? -chris --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]