• Post Reply Bookmark Topic Watch Topic
  • New Topic

Sharing pages among webapps  RSS feed

 
Olivier Ros
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I currently have several webapps for the same website. This was the initial design of my website. However, this architecture implies code duplication and makes it impossible sharing pages among webapps ( for ex. using "jsp:include" or "netui-template:template" and absolute URLs )

I want to migrate all the webapps under a main webapp which would have separate folders (instead of webapps!)for different sections of my websites.

Can you please provide me with the pros and cons of each situation based on your own experiences. I am not sure if this is the right section for this kind of question. I am running weblogic workshop 8 sp4

Thank you
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"olivier r.",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
Forum Bartender
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the site is a cohesive whole with the kind of sharing that you describe, I see no pros whatsoever to separate web apps.
 
Olivier Ros
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the prompt response. Name corrected!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!