7 Replies Latest reply on Nov 22, 2012 4:52 AM by wolfc

    Ejb in Jboss 7.0

    ashvish

      Hi,

       

      I am trying to migrate our application (that contains ejb2.0) to Jboss AS 7. Currently it is hosted in jboss4. Our architecture is such that we have an ear which contains several ejb jars. Each jars have only the ejb-jar.xml and jboss.xml files in their meta-inf folder. All the ejb classes are packaged into a single jar and placed in the jboss4/lib directory. That is there is no ejb classes inside the actual ejb jars. Is this kind of approach possible in Jboss 7 because when I tried the same approach I am getting an error that the method isIdentical in EJBObject cannot be found!!!. I had even created a module and placed all the jars required for ejb deployment and added dependency to this module in the manifest file inside each ejb-jar. However when I placed the ejb class files inside the ejb jar, then it is getting deployed properly. Could anyone tell me whether it is necessary that the ejb classes should be inside the ejb jars in Jboss7. If that is the case then it will be major change as far as our application is concerned. Any pointers in the right direction would be highly appreciated.

       

      Thanks