2 Replies Latest reply on May 15, 2002 10:50 AM by Jamal Karimi

    ejb-local-ref between Tomcat 4.0.2 and JBoss 3.0 beta

    Wellie Chao Newbie

      Is there a way to set up Tomcat and JBoss to allow servlets and JSPs to access co-located EJBs using local references? I am using JBoss 3.0 beta integrated with Tomcat 4.0.2, and I have tried making the following modifications to web.xml and jboss-web.xml:

      <ejb-ref> -> <ejb-local-ref>
      -> <local-home>
      ->

      I also modify my servlet/JSP code to eliminate PortableRemoteObject and to instantiate objects of type UserLocal and UserHomeLocal (my original classes were User and UserHome) and to cast to the appropriate types as well. I do have UserLocal and UserHomeLocal classes in the classpath. Unfortunately these changes don't seem to work. Are there other changes I need to make? Is it even possible to use local references with JBoss 3.0 beta?