Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
raghu yeggina
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • 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.

 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • 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
  • 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: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic