I have a STRUTS based webapp and I want to port it to RUBY/RAILS... Can anyone suggest a migration strategy...I would like to migrate my struts actions over time if possible. Jim _________________________________________________________________ Is your PC infected? Get a FREE online computer virus scan from McAfee® Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
Hi Jim I have some experience as I recently ported my struts app to ROR and boy its real fun with tons of simplicity. You might know all of the following but incasse. ..... Struts xxxAction corresponds to xxxController in ROR actionname parameter passed to xxxAction maps to an action in xxxController I don''t know how you are accessing your DB but if you were using Hibernate you will see some similarities and many differences with ActiveRecord, in ROR you don''t have to worry about mapping columns and tables (as long as the ActiveRecord convention is followed), if your table/column names don''t follow convention you can always override them using ''set_table_name'' and ''set_primrary_key'' methods. As far as migration strategy is concerned, in reality there is none, except the 2 mappings that I know of, as far as reusing code is concerned you can only reuse Javascript and may be some JSPs (if they aren''t too complex) rest everything is a code change. I hope this helps you ........let us Java converts know if you find anything extra... Regards -daya On 8/2/06, Jim Weir <javawaba@hotmail.com> wrote:> > I have a STRUTS based webapp and I want to port it to RUBY/RAILS... > > Can anyone suggest a migration strategy...I would like to migrate my > struts > actions over time if possible. > > > Jim > > _________________________________________________________________ > Is your PC infected? Get a FREE online computer virus scan from McAfee(r) > Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060802/210f138b/attachment.html
sound like I should start from the requirement doc...>From: "linux user" <fanoflinux@gmail.com> >Reply-To: rails@lists.rubyonrails.org >To: rails@lists.rubyonrails.org >Subject: Re: [Rails] Struts >Date: Wed, 2 Aug 2006 09:06:28 -0500 > >Hi Jim > >I have some experience as I recently ported my struts app to ROR and boy >its >real fun with tons of simplicity. > >You might know all of the following but incasse. ..... > >Struts xxxAction corresponds to xxxController in ROR >actionname parameter passed to xxxAction maps to an action in xxxController > >I don''t know how you are accessing your DB but if you were using Hibernate >you will see some similarities and many differences with ActiveRecord, in >ROR you don''t have to worry about mapping columns and tables (as long as >the >ActiveRecord convention is followed), if your table/column names don''t >follow convention you can always override them using ''set_table_name'' and >''set_primrary_key'' methods. > >As far as migration strategy is concerned, in reality there is none, except >the 2 mappings that I know of, as far as reusing code is concerned you can >only reuse Javascript and may be some JSPs (if they aren''t too complex) >rest >everything is a code change. > >I hope this helps you ........let us Java converts know if you find >anything >extra... > >Regards >-daya > >On 8/2/06, Jim Weir <javawaba@hotmail.com> wrote: >> >>I have a STRUTS based webapp and I want to port it to RUBY/RAILS... >> >>Can anyone suggest a migration strategy...I would like to migrate my >>struts >>actions over time if possible. >> >> >>Jim >> >>_________________________________________________________________ >>Is your PC infected? Get a FREE online computer virus scan from McAfee(r) >>Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 >> >>_______________________________________________ >>Rails mailing list >>Rails@lists.rubyonrails.org >>http://lists.rubyonrails.org/mailman/listinfo/rails >>>_______________________________________________ >Rails mailing list >Rails@lists.rubyonrails.org >http://lists.rubyonrails.org/mailman/listinfo/rails_________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
basically yes On 8/2/06, Jim Weir <javawaba@hotmail.com> wrote:> > sound like I should start from the requirement doc... > > > >From: "linux user" <fanoflinux@gmail.com> > >Reply-To: rails@lists.rubyonrails.org > >To: rails@lists.rubyonrails.org > >Subject: Re: [Rails] Struts > >Date: Wed, 2 Aug 2006 09:06:28 -0500 > > > >Hi Jim > > > >I have some experience as I recently ported my struts app to ROR and boy > >its > >real fun with tons of simplicity. > > > >You might know all of the following but incasse. ..... > > > >Struts xxxAction corresponds to xxxController in ROR > >actionname parameter passed to xxxAction maps to an action in > xxxController > > > >I don''t know how you are accessing your DB but if you were using > Hibernate > >you will see some similarities and many differences with ActiveRecord, in > >ROR you don''t have to worry about mapping columns and tables (as long as > >the > >ActiveRecord convention is followed), if your table/column names don''t > >follow convention you can always override them using ''set_table_name'' and > >''set_primrary_key'' methods. > > > >As far as migration strategy is concerned, in reality there is none, > except > >the 2 mappings that I know of, as far as reusing code is concerned you > can > >only reuse Javascript and may be some JSPs (if they aren''t too complex) > >rest > >everything is a code change. > > > >I hope this helps you ........let us Java converts know if you find > >anything > >extra... > > > >Regards > >-daya > > > >On 8/2/06, Jim Weir <javawaba@hotmail.com> wrote: > >> > >>I have a STRUTS based webapp and I want to port it to RUBY/RAILS... > >> > >>Can anyone suggest a migration strategy...I would like to migrate my > >>struts > >>actions over time if possible. > >> > >> > >>Jim > >> > >>_________________________________________________________________ > >>Is your PC infected? Get a FREE online computer virus scan from > McAfee(r) > >>Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > >> > >>_______________________________________________ > >>Rails mailing list > >>Rails@lists.rubyonrails.org > >>http://lists.rubyonrails.org/mailman/listinfo/rails > >> > > > >_______________________________________________ > >Rails mailing list > >Rails@lists.rubyonrails.org > >http://lists.rubyonrails.org/mailman/listinfo/rails > > _________________________________________________________________ > FREE pop-up blocking with the new MSN Toolbar ? get it now! > http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060802/e6f68577/attachment.html
you should be able to reuse SQLs if any from your struts implementation.... On 8/2/06, linux user <fanoflinux@gmail.com> wrote:> > basically yes > > > On 8/2/06, Jim Weir <javawaba@hotmail.com> wrote: > > > > sound like I should start from the requirement doc... > > > > > > >From: "linux user" <fanoflinux@gmail.com> > > >Reply-To: rails@lists.rubyonrails.org > > >To: rails@lists.rubyonrails.org > > >Subject: Re: [Rails] Struts > > >Date: Wed, 2 Aug 2006 09:06:28 -0500 > > > > > >Hi Jim > > > > > >I have some experience as I recently ported my struts app to ROR and > > boy > > >its > > >real fun with tons of simplicity. > > > > > >You might know all of the following but incasse. ..... > > > > > >Struts xxxAction corresponds to xxxController in ROR > > >actionname parameter passed to xxxAction maps to an action in > > xxxController > > > > > >I don''t know how you are accessing your DB but if you were using > > Hibernate > > >you will see some similarities and many differences with ActiveRecord, > > in > > >ROR you don''t have to worry about mapping columns and tables (as long > > as > > >the > > >ActiveRecord convention is followed), if your table/column names don''t > > >follow convention you can always override them using ''set_table_name'' > > and > > >''set_primrary_key'' methods. > > > > > >As far as migration strategy is concerned, in reality there is none, > > except > > >the 2 mappings that I know of, as far as reusing code is concerned you > > can > > >only reuse Javascript and may be some JSPs (if they aren''t too complex) > > > > >rest > > >everything is a code change. > > > > > >I hope this helps you ........let us Java converts know if you find > > >anything > > >extra... > > > > > >Regards > > >-daya > > > > > >On 8/2/06, Jim Weir < javawaba@hotmail.com> wrote: > > >> > > >>I have a STRUTS based webapp and I want to port it to RUBY/RAILS... > > >> > > >>Can anyone suggest a migration strategy...I would like to migrate my > > >>struts > > >>actions over time if possible. > > >> > > >> > > >>Jim > > >> > > >>_________________________________________________________________ > > >>Is your PC infected? Get a FREE online computer virus scan from > > McAfee(r) > > >>Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > >> > > >>_______________________________________________ > > >>Rails mailing list > > >>Rails@lists.rubyonrails.org > > >>http://lists.rubyonrails.org/mailman/listinfo/rails > > >> > > > > > > >_______________________________________________ > > >Rails mailing list > > >Rails@lists.rubyonrails.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > _________________________________________________________________ > > FREE pop-up blocking with the new MSN Toolbar ? get it now! > > http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ > > > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060802/ce37a404/attachment.html