Reputation: 12367
I am asking for your ideas about how to combine multiple GWT based web applications into a flexible, pluggable system little bit similar to the new Google portfolio. Here are the details/ideas/requirements:
Is it possible to use sources from different Eclipse projects when building a GWT application? If the login is owned by the "system bar" then how is it possible to secure the separate war files? Can the login state be shared somehow?
Upvotes: 3
Views: 823
Reputation: 21674
The answer lies in GWT with JAX-RS REST: http://h2g2java.blessedgeek.com/2011/11/gwt-with-jax-rs-aka-rpcrest-part-0.html.
REST on JAX-RS and RestyGWT using JAX-B and Jackson as object schemata will allow
However, the weakness of REST is that your UI cannot be a mashup bundle of cross-domain portlets. Some people might see this as a strength, since cross-domain has to use the security-risky script-include technique. In order to overcome that, you could write a proxy servlet (aka http tunnel), which is a rather simple affair.
Upvotes: 1