RPC call service on different web app same server?

32 views
Skip to first unread message

mdwarne

unread,
Jul 18, 2012, 8:23:38 PM7/18/12
to google-we...@googlegroups.com
We have an existing GWT /RPC app.  I would like to create a new project, that calls the RPC's on the existing app, on the same server / container.
Is this possible?

Thanks,
Mike.

Joseph Lust

unread,
Jul 18, 2012, 8:50:56 PM7/18/12
to google-we...@googlegroups.com
Mike,

Be careful. For starters, if you manage to achieve this, your two applications will be coupled together because a change in the RPC calls from the first will break the RPC's of the second application. Generally speaking, it is thus not good practice to bind them together unless you are sure that they will always be deployed together at the same time. And if that is the case, why not just put them in the same project?

To achieve this both applications would need to access the same service interfaces, async service interfaces, servlets, and the same .rpc files, though I must admit I've never tried it.


Sincerely,
Joseph
Reply all
Reply to author
Forward
0 new messages