Few years back , I developed a concept of "Framework Migration" for any application.I conceptualized an idea of developing an eclipse based plug in which can practically migrate an application developed in struts to an equivalent spring application.
I started with listing similarities & dissimilarity between struts & spring framework. Gradually I was able to bridge between the two frameworks & finally came up with a Five Step approach for the same. To make things interesting I related these steps with medical terminologies. Following are the steps involved in Struts to Spring Migration.
Step 1-Face Lift: As JSP's & UI elements resemble as face of an application, Converting any struts specific tag in JSP's into its corresponding simple HTML tag.
Step 2-Organ Transplant:Struts provide FormBeans as interface between the JSP and the controller servlet. In Spring these are replaced by POJO (Plain Old Java Objects) Command Classes.
Step 3- Heart Transplant:Controller is the heart of the system. Struts provide ActionServlet by default as the controller. In Spring the default controller is DispatcherServlet. But in Spring we need to make different controllers which handle each module. These can be seen as replacement for Action Classes.
Step 4-Brain Transplant:Struts uses web.xml & struts-config.xml to direct the flow of the application. During migration to Spring, a new xml file will replace struts-config.xml.
Step 5- Blood Transfusion:Finally add framework specific jars in lib folder & provide respective path in classpath entry of the application.
We developed an Eclipse based plug-in (MIGRATOR) which is based on these steps.It automates the whole process & helps reducing the development efforts significantly. It creates a basic converted framework with ready to insert application specific logic. Migrator provides support for multiple IDE like Eclipse 3.0 or above, RAD 6,WSAD, Netbeans.With an user friendly installer , it can be installed easily.
Phase wise capability of the MIGRATOR plug-in at present
Face Lift 20%
Organ Transplant - 90%
Heart Transplant - 30%
Brain Transplant - 20%
Blood Transfusion - 90%
We also presented this research paper in IBM Rational Software Developer Conference 2006 where it received many appreciations & encouragement.
In case if you face similar situation please feel free to contact me through this blog. I'll try to help you out.
Thanks
Sourav K Sengupta
54 comments:
Hi where can I download such plugin, is it free?
I created this plugin for a client requirement.Although currently no such solution is readily available in internet for download. You may use the same idea to create the solution
Hi, I am a student from Maharashtra Institute of Technology (Pune) we are working on similar topic as our BE project can you please provide us with a more detailed explanation of the five steps that you have mentioned.
Thank You.
Plz contact me at:
mjshund@gmail.com
Hi Sourav,
Your very interested with your Framework Migrator.
Could you please provide me the link where I could
download the source to extend it for my migration
needs.
Thanks you so much in an advance.
dan
dans515c@gmail.com
As we have need to convert the existing application from struts to spring for which we need your plug-in download link.
Can you Pl. share the link to my gmail glsrikanth@gmail.com
I would like to test the plug-in too
gmills_65@yahoo.ca
Thanks
Hi Sourav,
I am very interested in this Migrator plugin. This would definitely be a great tool to save significant effort in spring migration. Could you kindly share the plugin with me at alexlkh@gmail.com
Many thanks for your help!
Alex
Hi Sourav,
I saw the plug-in in IBM PDF (via Google search). Was very much interested to try out. Can you kindly share your plug-in at my email id csharu_n@yahoo.com
Thanks and Regards,
Sharath
Please share the link to download MIGRATOR plugin.
I read the Pligin PDF and Was very much interested to try out. Can you kindly share your plug-in at my email id gkveerendra@gmail.com
Hi Saurav,
I read the Pligin PDF and Was very much interested to try out. Can you kindly share your plug-in at my email id gkveerendra@gmail.com.
Many thanks for help.
Thanks and Regards,
Veerendra
Hi Saurav,
I have read your blogs and very much interesting. please share your plugin to my mail id dkarthi1973@gmail.com.
Regards
D. Karthi
Hi,
The Migrator Plugin sounds interesting . can you please provide the installation details for Eclipse Plugin.
Thanks,
Lakkshme
Hi Saurav,
I have read your blogs and very much interested to try out. please share your plugin to my mail id meetrahul.ntk@gmail.com.
Regards
Rahul Kumar
Hi Saurav,
I have been following your blog and well impressed. Would you please share the plug-in to my Email ID: ravi.p2501@gmail.com. Thank you in advance.
Regards,
Ravi
I would like to use the plug-in. Would you please share the plug-in to
balajir.vnr@gmail.com
Thanks
I would like to use the plug-in. Would you please share the plug-in to sarfras@yahoo.com
Hi Saurav,
Your effort is great. Could you please share the plug-in with me?
My email address: vutiendat1981@yahoo.co.in
Many thanks,
I would like to use the plug-in. Would you please share the plug-in to vlarunrajesh@gmail.com
Hi Saurav,
I have read your blogs and very much interested to try out. please share your plugin to my mail id vlarunrajesh@gmail.com.
Regards
Arun
Hi Saurav,
I read your blogs and been experimenting on the migration from struts to spring..I am facing problems during the heart transplant phase.It would be great if you provide me some suggestions on the validating part from struts to spring.Please share your thoughts on how you able to implement it and if possible provide me with your plugin link.It will be helpful for me.Please share to my mail id nandu.ch87@gmail.com
Hi Saurav,
I read you white paper and I would be very interested in trying out you plugin. I'm about to embark on a Struts to Spring conversion and would be interested in anything that would ease the journey.
Thanks
Eric
ecrosset@hotmail.com
Hi! Any chance you'll share the migrator tool?
I am facing the same delemma, migration struts to spring. It would be great I can start it using a migration tool.
Thanks.
I would like to test the plug-in too.
xitrum1401@gmail.com
Thanks
Hi Saurav. Does your plug-in work with Struts 1.x version
Can you share it at greetpk@gmail.com. Appreciate your help.
Hi Saurav. The Migrator Plugin sounds interesting . can you please provide the installation details for Eclipse Plugin.
Can you share it at tamilkrishna.info@gmail.com. Appreciate your help.
Hi Saurav,
My application is on Structs 1.1 and we are looking forward to move on Spring. My vendor says they have to build right from scratch and migration is not possible. After reading your IBM paper and coming to this blog I like to explore possibilities to utilize code of existing application.
Can you share any articles/blogs/websites which can help me to leverage my knowledge on how migration can be done for a big application on Structs.
Looking at above comments I am curious and keen to know what happens next after tool/plugin process the Structs code which is not 100% conversion to Spring code, what methods/models are used to build rest of the code which is not converted by tool/plugin.
The information you have provided here and structure you have given is excellent for even a layman to understand what goes at code level, appreciate !
Thanks, Valkal
Hi Sourav,
I am very interested in this Migrator plugin. This would definitely be a great tool to save significant effort in spring migration. Could you please share the plugin with me at sadepu17@gmail.com
Thanks for your help!
Hi Saurav,
My application is on Structs 1.1 and we are looking forward to move on Spring. My vendor says they have to build right from scratch and migration is not possible. After reading your IBM paper and coming to this blog I like to explore possibilities to utilize code of existing application.
Can you share any articles/blogs/websites which can help me to leverage my knowledge on how migration can be done for a big application on Struts.
Looking at above comments I am curious and keen to know what happens next after tool/plugin process the Struts code which is not 100% conversion to Spring code, what methods/models are used to build rest of the code which is not converted by tool/plugin.
I am very interested in this Migrator plugin. This would definitely be a great tool to save significant effort in spring migration. Could you please share the plugin with me at pawantcs@gmail.com
As we have need to convert the existing application from struts to spring for which we need your plug-in download link.
Can you Pl. share the link to my gmail Id pawantcs@gmail.com
I'm very interested in the plugin. Could you share with me please, alanmercurys@gmail.com
Hello Saurav,
This is Bala, solution architect from Toronto, have a client requirement to migrate Struts 2 based applications to Spring, it would be great if you could help me with the Migrator plugin or it's download link.
thanks,
Bala
Hi Sourav,
This is Pallavi. I am interested in understandng the migrator plug-in developed by you. Could you please provide the link for plug-in to RAD as I am doing a POC for one of my project. It will be helpful.
Kindly mail me at pallavi.nadiger@gmail.com.
Thanks and Regards
Hi Saurav,
I have read your blogs and very much interesting. please share your plugin to my mail id ringo.jiny@gmail.com.
Hi Saurav,
I have read your blogs and very much interesting.As we have need to convert the existing application from struts to spring for which we need your plug-in , please help to share your plugin to my mail id varunraj.parna@gmail.com
Learned a lot of new things from your post! Good creation and HATS OFF to the creativity of your mind. Very interesting and useful blog!
Spring Training in Chennai
Struts Course in Chennai
Hibernate Course in Chennai
I am very much interested in this Migrator plugin. This would definitely be a great tool to save significant effort in spring migration. Could you kindly share the plugin with me at meamitnair20@gmail.com
Many thanks for your help!
Thanks & Regards,
Amit Nair
Suarav,
I have read your blog and the IBM paper, and am interested in the migrator for a project we are embarking on to migrate a struts 1.2 application to Spring MVC. Could you share the plugin with me at bbutters@infogix.com
Hi Suarav,
Could you please share your migrator tool to below mail id. rs.pusala@gmail.com
Hi,
I read the paper on RAD Plug-in for Migrating from STRUTS to SPRING. I am interested in it as I have similar task of migrating an application from struts to spring mvc. Please share the details on rajasekhar.oleti@gmail.com
Thanks
Hello Saurav,
This is Kalyani,from Chennai, have a client requirement to migrate Struts based applications to Spring, it would be great if you could help me with the Migrator plugin or it's download link. Please share the details on kalyanireddy.pallapolu@gmail.com
Thanks
Hello Saurav,
As other People has written I also didn't find the Plugin on Google Search
Can you help sandeepky@gmail.com
Hi Sourav,
I am very interested in this Migrator plugin that's why I would like to test it. Could you please share the link to my account mikaela_2005_ro@yahoo.com
Many thanks!
Mihaela
Hi Saurav,
I read your IBM RAD Paper and used the Steps to create a strategy for the migration from Struts 1.x to Spring MVC. We are yet to start the migration. If you could share the Plugin, that would be very useful.
My email is: parag.soman@gmail.com
Hi Saurav,
I have read your paper related to plugin. It looks very promising. If you can share the plugin it would be of great help.
You can contact me on active_id@outlook.com
Thanks,
Rajesh
Hi Saurav,
I have read your paper related to plugin. It looks very promising. If you can share the plugin it would be of great help.
You can contact me on grajeshg2000@gmail.com
Thanks,
Rajesh
Hi,
really interested to use the tool. Can you please share with me to srinivas.vakkalanka@gmail.com
I am now the sole maintainer of a Struts-1.3 application with about 120 action classes and 63 form classes. The application runs fine on tomcat 8.5 and Java 7, but some features are not working when running the same war file on Java 8. It sounds like your tool could be a big help porting my application to run on Spring MVC.
Would you share your plugin with me?
Hi Sourav,
Thanks for this useful article. Would you please share the plugin with me at: liebesmachine@gmail.com ?
Thank you!
Hi Sourav - This post is quite dated. But may be still relevant for Struts based applications. Are you still maintaining the "Migrator" eclipse plugin /and sharing the "Migrator" plugin on demand? How do I use this at all?
It is really valuable and unique content and then it is just mind blowing one.
AngularJS training in chennai | AngularJS training in anna nagar | AngularJS training in omr | AngularJS training in porur | AngularJS training in tambaram | AngularJS training in velachery
Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.
Cyber Security Training Course in Chennai | Certification | Cyber Security Online Training Course | Ethical Hacking Training Course in Chennai | Certification | Ethical Hacking Online Training Course |
CCNA Training Course in Chennai | Certification | CCNA Online Training Course | RPA Robotic Process Automation Training Course in Chennai | Certification | RPA Training Course Chennai | SEO Training in Chennai | Certification | SEO Online Training Course
Can you please share your link for migration plugin. kisskk27@gmail.com
Post a Comment