• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to integrate two project versions, registered and unregistered, into a single project

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Everyone,

I have done two separate small projects for an "online book store" one for non-registered users and one for registered users .Both are developed using struts 1.2 framework. Now i need to integrate them like when i click the register link in a jsp page in the unregistered version it should redirect to the registered version's registration page.

Can any one suggest me how to do it. can i provide the url of the registered version's registration page in the register link in the jsp page in the unregistered version and ensure that both projects run in one server simultaneously,or should i integrated both into one project making them as separate modules.

Please suggest me the best practise.
Thanks in advance.

 
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Look at this previously discussed thread, It may put some pointers for Combining two modules.
 
raghu yeggina
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Sagar Rohankar,

Thanks for the Post. Will there be any shortcomings if we run the two projects simultaneously

i.e. in the same server and connect them by giving the url of another project's jsp in an anchor tag?
 
Sagar Rohankar
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

raghu yeggina wrote:
Will there be any shortcomings if we run the two projects simultaneously


No such a problem, but I suppose each struts projects are using same set of libraries also the data source, so that's make a more connection as far as database is concerned and about other resources, If you integrate them, then they can share a single database pool, libraries by making there module different. If this is not an issue for you, then you can gave a link of second web app form first, anytime.
 
reply
    Bookmark Topic Watch Topic
  • New Topic