Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

reengineer Swing to JSP  RSS feed

 
kiri
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have got a req for converting a SWING project to J2EE( more of servlet/JSP).

Have any one got Idea of tools availabe for automating the process to some extent.

The project contains > 1.5K classes and it's a bit old. I am planning to go with struts and reengineer it. It seems it's gonna take a long time.

I would like to here any suggestions or options from rancher's, as I am new to this type of reengineering stuff.

appreciate any good pointers to the reengineering stuff related to SWING to JSP.

Thanks,
Kiran|inboxin+javaranch@gmail.com
 
Jared Cope
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Originally posted by kiri:

I have got a req for converting a SWING project to J2EE( more of servlet/JSP).


I don't know of any automated tools to help you out here. Unfortunately I think it will mostly be a manual process for you. You may also be at the mercy of the engineering quality of your swing application too. For example, if there is a good separation between the GUI classes and business logic code, then you could easily pull that logic code out and make these your model classes in the Web MVC pattern. This is the real world though, and you might not be so fortunate.

Generally, your GUI classes will become your .jsp files (ie, the view with forms and buttons etc) but I suspect you already know that.

Generally I would also be treating code found in



methods or other GUI listener methods as potential controller code (servlet) because it causes the application to do something in response to a user action.

Thats about all I can offer you I think. If you do find some automated way, then please do share.

Good luck.

Cheers, Jared.
 
juan manuel Fernandez
Greenhorn
Posts: 4
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"kiri" -

Welcome to the JavaRanch! We don't have many rules around the ranch, but we do have a policy on displayed names... Please adjust your displayed name to meet the JavaRanch Naming Policy. User names cannot be obviously fake and must consist of a first name and a last name.

You can change your user name here.

Thanks! and welcome to the JavaRanch!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!