[jboss-user] [JBossWS] - Optimizing deployment
do-not-reply at jboss.com
Fri Feb 13 04:20:25 EST 2009
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?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4209813#4209813
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4209813
More information about the jboss-user