Has anyone come across any good strategies/articles on how to have a single web app serve several different businesses?
I would like to customize the look and feel for each business but maintain only one code base. To further complicate things, logins are not required.
Any suggestions?
Regards,
Joshua
-
Multi-branding single web app? (4 messages)
- Posted by: Joshua White
- Posted on: August 03 2005 10:19 EDT
Threaded Messages (4)
- Multi-branding single web app? by Thomas Jachmann on August 03 2005 12:12 EDT
- Multi-branding single web app? by Joshua White on August 03 2005 17:42 EDT
-
Multi-branding single web app? by Harangus Andrei on August 04 2005 03:46 EDT
- Multi-branding single web app? by J2EE DISCUSSION ANIL LINGUTLA on August 11 2005 11:02 EDT
-
Multi-branding single web app? by Harangus Andrei on August 04 2005 03:46 EDT
- Multi-branding single web app? by Joshua White on August 03 2005 17:42 EDT
-
Multi-branding single web app?[ Go to top ]
- Posted by: Thomas Jachmann
- Posted on: August 03 2005 12:12 EDT
- in response to Joshua White
a) take the same code base and export different WARs and substitute images and CSS files while building the war with the application specific when the web apps just should share the same code but are completely separate otherwise
b) let several domains point to your web app and evaluate the host name/host header of the request to determine which domain the app was called with and judge on that which design to show
those are just the most simple solutions...
HTH,
Thomas -
Multi-branding single web app?[ Go to top ]
- Posted by: Joshua White
- Posted on: August 03 2005 17:42 EDT
- in response to Thomas Jachmann
Thanks for the reply. I have been toying around with both your ideas. Each have their benefits and drawbacks.
Has anyone else done something different?
Joshua -
Multi-branding single web app?[ Go to top ]
- Posted by: Harangus Andrei
- Posted on: August 04 2005 03:46 EDT
- in response to Joshua White
Try and generalize the concept of language dependent message resources that you can use for example in Struts. Besides having a key and Locales identifying your resource, add a new key - brand - which would be a value that the client sends to your application.
Regards,
Andrei -
Multi-branding single web app?[ Go to top ]
- Posted by: J2EE DISCUSSION ANIL LINGUTLA
- Posted on: August 11 2005 11:02 EDT
- in response to Harangus Andrei
You can use frames. Keep the Header in the main frame and in the child frame put your webapp content from your application server. Host the landing pages in an external webserver which handles only branding pages (most commonly headers).