3 Replies Latest reply on Jun 27, 2013 1:28 AM by jaikiran pai

    JBoss 6.1, EJB and Web Application dependency

    Paata Lominadze Newbie

      Hello team,

       

      I have 2 application on jboss eap 6.1 :

       

      1. EJB application which has multiple ejb components and entity beans.

      2. Web application which use GWT. I want to call ejb components from GWT Servlets.

       

      I want to deploy both of them into jboss eap 6.1 server (standalone mode).

       

      EJB jar deployment has no any problem. it works fine.

      Now I want to deploy War file.

       

      if I put EJB jar file into WAR-PROJECT/WEB-INF/lib. it throws an error. EJB Components trying to deploy on next time, But without this library I got an ClassNotFoundException.

      I want EJB application to be as a library for Web Application.

      How I can do it ?

      Also I don't want to make EAR Project for some reasons.

      I want this 2 application separately into one jboss application sever.

       

       

       

      Thant In Advance,

      Paata.