0 Replies Latest reply on Feb 13, 2009 4:20 AM by getaceres

    Optimizing deployment

    getaceres

      Hello, I'm developing a set of web services which accept and return data based on a standard. I have the standard schema and I have generated the JAXB elements jar file.
      Now, I have some web services (like 6 and it's growing) and they all use the same jar file with the bindings. They are EJB3 services and they are packaged in the same jar. The problem is that, when I deploy that jar, it takes a lot of time to deploy the services. Looking at the debug, I see that JBoss is generating JAXB classes again (or it seems) but it is completely innecessary as most of the classes are already in the classpath in that jar file that I've provided.
      I have deployed my services in Glassfish before and it takes only a few seconds to deploy, while in JBoss it takes more than one minute. Is there a way to tell JBoss WS to use the already generated classes or to provide it the necessary artifacts so it doesn't generate it every time?