开发者

Gwt RPC in development mode

I am wondering if I can test my RPC in Developement mode.Does service will be invoked from the client if I run my GWT project in development mode ?

EDIT : Is it possible to test GWT RPC mechanism in GWT development mode 开发者_JAVA百科as we do in production/web mode ?


Of course you can implement RPC in development mode. Here is the link form Google's GWT tutorial :

http://code.google.com/webtoolkit/doc/latest/tutorial/RPC.html

The sample application in the tutorial successfully implements GWT RPC. You don't need to run the application in production mode just for implementing/testing RPC.
If you are confused due to the fact that without setting any server(externally), How come you be able to do client-server programming(RPC),then don't be.
GWT has its own internal server called Jetty Server to take care of this situation.

Hope this helps.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜