Sunday, March 4, 2012

Re: Creating different frontends in one application

Actually, It is simple.

On the GWT side, you can duplicate the ".gwt.xml" file and change the name and stuff... both modules will be recognized and will be separate and can share all the code. Of course you will need to name them differently. And create a second html file that points to the second module files. When compiled you will have two different sets of files in two different folders.

On the backend, you can re-use the code as you wish and make two different servlets or whatever, it should be easy enough to do.


On Sunday, March 4, 2012 1:14:26 PM UTC+2, 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/-/Awbe-QvJDAMJ.
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