Friday, December 12, 2008

JAX-WS RI, JBoss and Guice

So, I needed to use the guicemanaged annotation on some webservices at work, this was the way I got it working, if anyone has a better way, please let me know:

  1. Download the jaxws-ri lib, unpack it
  2. Download guice
  3. Download guicemanaged-0.2.jar
  4. Copy the following libs to /server//lib:
    • aopalliance.jar
    • guicemanaged-0.2.jar
    • guice-snapshot20081016.jar
    • jaxws-rt.jar
    • jaxb-xjc.jar
    • streambuffer.jar
    • stax-ex.jar
This advice is probably good even if you don't need guice. When i copied all the jars from the jaxws RI package, jboss freaked out.