1 Reply Latest reply on Dec 25, 2005 2:22 PM by us97013

    How to access session beans in different ear files

    us97013

      Hi,

      I have one ear file (created by ant and deployed on JBoss 4.0) with following hierarchy.

      ExternalEar.ear
      +META-INF
      +application.xml
      +MENIFEST.MF
      +web.war
      +entities.par
      +abc
      +entity
      +Tables
      +TableA.class
      +META-INF
      +business.ejb3
      +abc
      +session
      +XYZTable
      +XYZBean.class
      +XYZ.class
      +META-INF


      The session bean XYZ internally uses entity bean TableA. Now I want to use this session bean XYZ in my application. How should I import it? The package for XYZ bean is:
      package abc.session.XYZTable;

      Please tell me. I am using JBoss 4.0.3.

      Thanks,

      Arsalan

        • 1. Re: How to access session beans in different ear files
          us97013

          ExternalEar.ear
          +META-INF
          +application.xml
          +MENIFEST.MF
          +web.war
          +entities.par
          +++++abc
          ++++++++entity
          ++++++++++++Tables
          ++++++++++++++++TableA.class
          +++++++++++++META-INF
          +business.ejb3
          +++++abc
          ++++++++session
          +++++++++++++XYZTable
          ++++++++++++++++++XYZBean.class
          ++++++++++++++++++XYZ.class
          ++++++++++++++META-INF