JAX-WS WebService with Guice

436 views
Skip to first unread message

Santosh Kumar

unread,
May 23, 2012, 10:43:03 AM5/23/12
to google-guice
We are using GUICE framework as part of service layer. Now there is a
requirement on to build JAX-WS Web services. We have built the web
services using JDK 1.6 JAX-WS API. But now, we are not able to use any
of the GUICE resources as we Web Service is not guice managed.

We are using Guice 3.0. How do we achieve this?

Tried the following link
http://jax-ws-commons.java.net/guice/, but did not work out and
finally got to know that this is compatible only with Guice 2.0 in
some forum.

One more approach tried was
http://developian.blogspot.in/2008/11/google-guice-and-jax-ws.html,
But this internally will start using some of the sun API which are
access restricted and hence I dont want to use...

Now what is the best approach or alternative any any other solution.

Please advice.

Thanks

Santosh

unread,
Jun 8, 2012, 3:47:31 AM6/8/12
to google-guice
No reply till now..does it mean that we do not have a solution in
guice forum???


On May 23, 7:43 pm, Santosh Kumar <sann.p...@gmail.com> wrote:
> We are using GUICE framework as part of service layer. Now there is a
> requirement on to build JAX-WS Web services. We have built the web
> services using JDK 1.6 JAX-WS API. But now, we are not able to use any
> of the GUICE resources as we Web Service is not guice managed.
>
> We are using Guice 3.0. How do we achieve this?
>
> Tried the following linkhttp://jax-ws-commons.java.net/guice/, but did not work out and
> finally got to know that this is compatible only with Guice 2.0 in
> some forum.
>
> One more approach tried washttp://developian.blogspot.in/2008/11/google-guice-and-jax-ws.html,

Josh Kamau

unread,
Jun 20, 2012, 9:03:53 AM6/20/12
to google...@googlegroups.com
I use resteasy with guice whereby rest resources are guice managed.

Check resteasy documentation chapter on Guice.

Josh.

--
You received this message because you are subscribed to the Google Groups "google-guice" group.
To post to this group, send email to google...@googlegroups.com.
To unsubscribe from this group, send email to google-guice...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-guice?hl=en.


bklough

unread,
Jun 25, 2012, 9:26:20 PM6/25/12
to google...@googlegroups.com

bklough

unread,
Jun 25, 2012, 9:27:53 PM6/25/12
to google...@googlegroups.com
https://groups.google.com/d/topic/google-guice/86wB4d3uopA/discussion

Looks like a duplicate post...


On Wednesday, 23 May 2012 07:43:03 UTC-7, Santosh Kumar wrote:
Reply all
Reply to author
Forward
0 new messages