Struts

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

basically yes

sound like I should start from the requirement doc…

real fun with tons of simplicity.
ActiveRecord convention is followed), if your table/column names don’t
anything

struts
Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails


Rails mailing list
[email protected]
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/

you should be able to reuse SQLs if any from your struts
implementation…

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs