Sunday, March 4, 2012

Re: Creating different frontends in one application

The great thing with RequestFactory (compared to GWT-RPC), is that your client(s) is not tightly bound to your server. Simply create another "GWT app" (another *.gwt.xml, either in the same Eclipse project or in a distinct one, as you prefer; called from another HTML page) and use your RequestFactory interfaces; it should Just Work™. You can deploy both GWT (client-side) apps in the same WAR (i.e. along with a shared server-side implementation).

On Sunday, March 4, 2012 12:14:26 PM UTC+1, Bestmacfly wrote:
Dear all,
I'm creating a booking system using GWT. The backend is nearly
completed. I have created one html page with one entry point, in my
entry point I'm changing navigation / layout of the page dynamically.
Now I need a second frontend, which will be totaly different from the
already created backend. This second frontend should be able to use
the whole code stuff from my backend (especialy the Requestfactory
proxies). As far as I understood, it is not possible to simple create
a second entry point in my application and combine this second entry
point with a second base html page. So what would be the best approach
now to realize this?

Best regards

Mark

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ypZfX50vdT8J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment