Skip to main content

Blog Archive for jitu during February 2010

JAX-WS + CDI in Java EE 6 One of the big features in Java EE 6 is dependency injection(yeah, 330 & 299 stuff!!). It pretty much integrated with the every EE component. That means you can nicely use all the CDI features with JAX-WS web services. Let us see a simple shopping cart web service that uses CDI. @WebServicepublic class ShoppingCart {    @Inject   ...