You could create multiple domain names (one for each client) that all map to
the same IP Address. In your servlet, based on the domain name figure out
the right database to read from. HttpServletRequest.*getRequestURL() gives
you the url that the user entered in the browser. *

--Sri


2009/12/21 DCYorke <[email protected]>

> I currently have a GWT app available to about 2 dozen clients. Each
> client has their own version of the app. That is to say they each have
> their own database running on their own tomcat context accessible by
> virtual domain. The codebase (both servlets and GWT front-end) are all
> the same.
>
> Though not strictly a GWT question, I would like to run all these
> domains on a single context/cluster for the sake of efficiency.
> However, each user would need to get to their data and their data only
> (perhaps filtered by domain name?). For instance, when I access my
> Google Apps domain I get only data from my domain and I'm quite sure
> google isn't running a separate servlet container for each domain. Can
> anyone point me in the right direction as far as book and/or web
> resources detailing best practices or how other companies are handling
> this? Thanks in advance.
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to