Wednesday, August 29, 2012

GWT & Mobile App in Same WAR File


Hi All,

We are developing a GWT application for desktop browsers that is deployed to a Tomcat 7 container as a WAR file.
We are also developing a companion mobile application that is written in JavaScript and JQuery.

We would now like to embed both applications into the same WAR file so that the appropriate version is served based on the user-agent property of the browser.

For example, if a user hits 'ourapp.com' from a desktop browser, they should be served the GWT application and if they hit it from mobile Safari on an iPhone, they should get the JavaScript/JQuery application.

Can anyone shed some light on how we might be able to accomplish this?

We're fairly new to GWT and web programming so I apologize if the question is a bit vague or non GWT specific.

Jim



--
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/-/-gZqRrc-EmkJ.
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