File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Migrate ASP to Java environment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Migrate ASP to Java environment" Watch "Migrate ASP to Java environment" New topic
Author

Migrate ASP to Java environment

Daoyue Ming
Greenhorn

Joined: Oct 04, 2004
Posts: 26
our client is going to replace its ASP (old one, not in .net) website to java environment with concerns of security and performance.

we are going to add in transaction control, and connection pooling for security and performance, so decided to use Spring to control the transaction, and use iBatis to leverage existing SQL operation in ASP.

Now we are hesitating in web layer, as old ASP doesn't have MVC in mind, lots of web layer control and navigation are done by request parameters within the ASP itself. We have two options, one is use MVC framework like struts, but it requires rework all the ASP. Another option is just translate ASP logic to JSP, and move business logic and database operation to Spring service and iBatis.

Anyone has any suggestion how to do it?
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
I can sympathise with how tedious it will be to go through the pages one by one and extract some logic to an Action class while leaving other logic in the page. I expect, though, that one of the reasons you're doing this whole exercise in the first place is to have a more organized, more maintainable application. As I see it, unless you go all the way and make this into a real MVC application, you won't accomplish your goal of having a more maintainable application. This means taking the time to separate business logic out of the pages themselves.

There are lots of frameworks out there. You may want to do more research before deciding on one. If you use the search function in this forum, you will find many threads comparing them. If you want a "tried and true" solution that does a good job of encouraging MVC principles, I don't think you'd go too far wrong by choosing Struts.


Merrill
Consultant, Sima Solutions
Daoyue Ming
Greenhorn

Joined: Oct 04, 2004
Posts: 26
i have worked with Struts, but not familiar with other frameworks.
as i am from a MNC, it's quite ugly that what we have done for migration is only translate ASP to JSP for presentation layer, and if use framework, it's easy to control safety and performance issues.
Vivek Abhichandani
Greenhorn

Joined: Oct 18, 2008
Posts: 1
Hi,
I know that this post is old, but just in case if you went ahead with the migration, can you give some idea on how you went about it.

Actually, our project is going through a similar exercise. We have already decided to use struts on top of spring framework. We have planned to document existing functionalities of the application and port them from the asp page to spring/struts layer.

Can you give some pointers on the difficulties you faced in the migration process?

Thanks,
Vivek
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Migrate ASP to Java environment
 
Similar Threads
Migrate ASP to Java environment
Frameworks according to layers
Where to handle cookies
Spring is a implementation only ?
Advantages of Spring over Struts?