+ Reply to Thread
Results 1 to 7 of 7

Thread: Can we execute EJB's in Tomcat

  1. #1
    Unregistered
    Unregistered

    Can we execute EJB's in Tomcat

    Can we execute EJB's in Tomcat, cause one of my friend (working) is saying that ,they r doing a project in Tomcat in which they r using EJB's.Is this possible.IF yes How?


  2. #2
    Junior Member
    Join Date
    Aug 2006
    Posts
    24
    Rep Power
    7

    Re: Can we execute EJB's in Tomcat

    No. We can't deploy ejb applications in Tomcat. It is a web server. it doesn't support ejb's.

    But, in some projects we use both web logic and tomcat . We deploy the web applications in tomcat and ejb applications in weblogic.
    I don't have clear idea on it.

  3. #3
    Unregistered
    Unregistered

    Cool Re: Can we execute EJB's in Tomcat

    As per my knowledge, we can't deploy the Ejb's in Tomcat bcz it is webserver. If it is possible, please inform.

  4. #4
    Junior Member
    Join Date
    Aug 2006
    Posts
    24
    Rep Power
    7

    Re: Can we execute EJB's in Tomcat

    Yes. you are right.
    We can't deploy ejb's in tomcat as it is a web server.

  5. #5
    D.Guna
    Unregistered

    Thumbs up Re: Can we execute EJB's in Tomcat

    I got that Tomcat is web server ,we cannot deploy Ejb's in that.Suppose if in some proj both weblogic and tomcat is using.ejb's in weblogic,webcontainer in tomcat.and they r following struts frame work.My que is how can they access
    ejb's in action class's execute method(to get data from database).

    wht r the mechanisms to do tht?

    plzzzzzzzzzzz help meeeeeeeeeeeeeeeeeee

  6. #6
    Junior Member
    Join Date
    Aug 2006
    Posts
    24
    Rep Power
    7

    Re: Can we execute EJB's in Tomcat

    To run the web application that uses EJB running on weblogic server.

    1) copy weblogic.jar under tomcat/shared/lib
    2)copy the req. classes (Bussiness Deligate, RHI,RBI etc..)under WEB-INF/classes
    3)copy jndi.properties under current directory.



    Thanks & Regards,
    Hema

  7. #7
    Junior Member
    Join Date
    Jul 2008
    Posts
    1
    Rep Power
    5

    Re: Can we execute EJB's in Tomcat

    Should we make any changes to the context.xml in Tomcat to invoke the ejb's in Weblogic? If yes, could someone send me a sample config file. I am having trouble doing the config for the integration.

    Thanks
    Venkat

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Is Tomcat a web server or App Server?
    By Unregistered in forum JAVA Technologies
    Replies: 2
    Last Post: 07-09-06, 02:57 PM
  2. KNOW SOMETHING ABOUT TOMCAT
    By wizkid in forum JAVA Technologies
    Replies: 0
    Last Post: 01-08-06, 02:31 PM
  3. how to execute
    By winner in forum DATA STRUCTURES, C, C++, VC ++
    Replies: 3
    Last Post: 20-05-06, 08:22 AM
  4. tomcat webserver installation
    By eswarig in forum JAVA Technologies
    Replies: 7
    Last Post: 15-05-06, 12:01 PM
  5. How to run servlets in Tomcat server?
    By Madhuri in forum JAVA Technologies
    Replies: 2
    Last Post: 22-04-06, 11:39 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Content Relevant URLs by vBSEO 3.5.1 PL1