aspose file tools*
The moose likes Struts and the fly likes How to integrate two project versions, registered and unregistered, into a single project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to integrate two project versions, registered and unregistered, into a single project" Watch "How to integrate two project versions, registered and unregistered, into a single project" New topic
Author

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

raghu yeggina
Greenhorn

Joined: Feb 11, 2009
Posts: 27
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

Joined: Feb 19, 2008
Posts: 2902
    
    1

Look at this previously discussed thread, It may put some pointers for Combining two modules.


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
raghu yeggina
Greenhorn

Joined: Feb 11, 2009
Posts: 27
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

Joined: Feb 19, 2008
Posts: 2902
    
    1

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.
 
Don't get me started about those stupid light bulbs.
 
subject: How to integrate two project versions, registered and unregistered, into a single project