struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hernán <>
Subject Re: Migration of DB from DB2 to Oracle with Struts2
Date Thu, 12 Jan 2012 20:39:27 GMT
To make your application available for migration to different Databases you
should use an Object to Relationship Mapping technology, such as Java
Persistence API or Hibernate, once you've developed an application that
way, you can just change the driver of the database and migrate to another
one... At the same time these technologies have tools to generate the
schema of the database... I recommend you to to use Spring as well, this
framework will let you inject dependencies, control security, transactions,
etc. Of course it is possible to integrate spring to struts2 and JPA or
Hibernate as well... Greetings.

On Thu, Jan 12, 2012 at 5:33 PM, Arikatla SreenivasaRao <> wrote:

> Hi,
> My company is building a new application using Struts2 with database as
> DB2.In future if I want to migrate my database to Oracle is it is
> to Migrate.Somebody told it is easier in some frameworks. So is this
> applicable to Struts2 as well.
> If my purpose to migrate data from DB2 to Oracle in future what coding
> processes I need to follow in Struts2 to make the migration smooth.
> Or any other frameworks have edge in this aspect..Can you please share your
> thoughts..
> Thanks in Advance
> Rao


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message