5 Replies Latest reply on Sep 4, 2002 10:07 PM by minamoto

    Utility Classes and EJB/Webapp

    rcuprak

      Hello,
      What is the recommended location for 'utility' classes (jar file) used by an EJB application? Does JBoss use the new 1.3 method described in:
      http://www.onjava.com/pub/a/onjava/2001/06/26/ejb.html?page=2
      If it does, where does the jar referenced in the manifest file get put when using JBoss? I've tried putting it in the EJB jar but it does not appear to find it.

      -Thanks,
      Ryan

        • 1. Re: Utility Classes and EJB/Webapp
          rcuprak

          Got it up and runnning. I put the utility class in the ejb jar and added a ref in the manifest file as described in the article. Initially I had made a typo resulting in it not finding the jar (because I was using property file and ant I didn't realize I had made a mistake). The "Installation" forum also has a discussion on this topic which I discovered later.

          • 2. Re: Utility Classes and EJB/Webapp
            rcuprak

            Got it up and runnning. I put the utility class in the ejb jar and added a ref in the manifest file as described in the article. Initially I had made a typo resulting in it not finding the jar (because I was using property file and ant I didn't realize I had made a mistake). The "Installation" forum also has a discussion on this topic which I discovered later.

            • 3. Re: Utility Classes and EJB/Webapp
              rcuprak

              Got it up and runnning. I put the utility class in the ejb jar and added a ref in the manifest file as described in the article. Initially I had made a typo resulting in it not finding the jar (because I was using property file and ant I didn't realize I had made a mistake). The "Installation" forum also has a discussion on this topic which I discovered later.

              • 4. Re: Utility Classes and EJB/Webapp
                rcuprak

                Got it up and runnning. I put the utility class in the ejb jar and added a ref in the manifest file as described in the article. Initially I had made a typo resulting in it not finding the jar (because I was using property file and ant I didn't realize I had made a mistake). The "Installation" forum also has a discussion on this topic which I discovered later.

                • 5. Re: Utility Classes and EJB/Webapp
                  minamoto

                  Hi,
                  J2ee spec shows good examples where to put utility classes.
                  http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t=forums/