I am working on building webservices using apache wink. I would like to use 
Guice. I couldnt find any articles on this usage..



On Wednesday, March 28, 2012 1:33:56 AM UTC+5:30, Hui Ouyang wrote:
>
> Hi,
> Is it possible to use Guice and JPA persistence directly for a web 
> application which services soap and restful web service concurrently?
> I tried following the instruction 
> http://code.google.com/p/google-guice/wiki/JPA. I have dao layer and 
> service layer, the service layer actually manages the transaction. These 
> two layers work fine with Guice 3.0 + JPA persistence in standalone tests. 
> I added two wrapper on top of the service, one is for soap web service 
> using JBoss implementation on javax.jws.WebService, another is Jboss 
> resteasy implementation for restful web service. So I do not have a way to 
> use injector to create the instance for the two wrappers since the 
> application server instantiate them by calling the "new" directly.
> I know there is resteasy-guice project for the restful web servcie, does 
> it work for the soap web service also? Is there any way not relying on 
> additional library to achieve the goal -- make the both soap and restful 
> web services leverage Guice 3.0 persistence and have the 
> Session-per-transaction 
> strategy?
>
> Thx.
> Hui
>

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to