开发者

Gwt + Guice tutorial

开发者 https://www.devze.com 2023-03-25 13:40 出处:网络
I\'m a Gwt beginner. My remote service implementation now uses a DAO. For the sake of example, I\'m creating it myself:

I'm a Gwt beginner. My remote service implementation now uses a DAO.

For the sake of example, I'm creating it myself:

StocksDAO myDao = new StocksDAO();

Now I was thinking to add Spring IOC for injecting it.

Then I came across this GUICE framework... it开发者_开发知识库 can be interesting but...

How to quick start? Is there a simple tutorial over the web suitable to my simplicity example?


GWT remote service is implemented as a Servlet. To use Guice with Servlets, look at the docs: http://code.google.com/p/google-guice/wiki/Servlets

Also, this has been discussed earlier: GWT Guice/Gin on the server side problem


Have a look at the sample application which will demonstrate use of Guice with GWT specifically with Request Factory.

http://code.google.com/p/guice-gwt/

0

精彩评论

暂无评论...
验证码 换一张
取 消