12.07.2015 Views

Solution Guide for Migrating Oracle on UNIX to SQL Server - Willy .Net

Solution Guide for Migrating Oracle on UNIX to SQL Server - Willy .Net

Solution Guide for Migrating Oracle on UNIX to SQL Server - Willy .Net

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<str<strong>on</strong>g>Soluti<strong>on</strong></str<strong>on</strong>g> <str<strong>on</strong>g>Guide</str<strong>on</strong>g> <str<strong>on</strong>g>for</str<strong>on</strong>g> <str<strong>on</strong>g>Migrating</str<strong>on</strong>g> <str<strong>on</strong>g>Oracle</str<strong>on</strong>g> <strong>on</strong> <strong>UNIX</strong> <strong>to</strong> <strong>SQL</strong> <strong>Server</strong> <strong>on</strong> Windows 26916Developing: Applicati<strong>on</strong>s —<str<strong>on</strong>g>Migrating</str<strong>on</strong>g> <str<strong>on</strong>g>Oracle</str<strong>on</strong>g> Pro*CIntroducti<strong>on</strong> and GoalsThir d generati<strong>on</strong> languages (3GL) such as C and C++ do not have the capability <strong>to</strong>interface with databases. Databases can <strong>on</strong>ly communicate using the <strong>SQL</strong> fourthgenerati<strong>on</strong> language (4GL). Using embedded <strong>SQL</strong> allows a database <strong>to</strong> interface directlywith the 3GL languages. Pro*C is <str<strong>on</strong>g>Oracle</str<strong>on</strong>g>'s proprietary interface <strong>to</strong> the C language whichpermits the use of embedded <strong>SQL</strong>.As discussed in the "Define the <str<strong>on</strong>g>Soluti<strong>on</strong></str<strong>on</strong>g> C<strong>on</strong>cept" secti<strong>on</strong> of Chapter 2, "Envisi<strong>on</strong>ingPhase," there are four different strategies available <str<strong>on</strong>g>for</str<strong>on</strong>g> transiti<strong>on</strong>ing applicati<strong>on</strong>s in an<str<strong>on</strong>g>Oracle</str<strong>on</strong>g> <strong>to</strong> Microsoft® <strong>SQL</strong> <strong>Server</strong> migrati<strong>on</strong> project. The strategies are:● Interoperate the applicati<strong>on</strong> with <strong>UNIX</strong>● Port or rewrite the applicati<strong>on</strong> <strong>to</strong> the Microsoft .NET plat<str<strong>on</strong>g>for</str<strong>on</strong>g>m● Port or rewrite the applicati<strong>on</strong> <strong>to</strong> the Microsoft Win32® plat<str<strong>on</strong>g>for</str<strong>on</strong>g>m● Quick port using the Microsoft Windows® Services <str<strong>on</strong>g>for</str<strong>on</strong>g> <strong>UNIX</strong> 3.5 plat<str<strong>on</strong>g>for</str<strong>on</strong>g>mBecause Pro*C is specific <strong>to</strong> <str<strong>on</strong>g>Oracle</str<strong>on</strong>g>, migrati<strong>on</strong> strategies are limited. Interoperati<strong>on</strong> andporting cannot be utilized because no methods exist that allow Pro*C <strong>to</strong> communicatewith <strong>SQL</strong> <strong>Server</strong>. A complete rewrite is the <strong>on</strong>ly opti<strong>on</strong>.This chapter focuses <strong>on</strong> the preferred scenario that can be used in Pro*C applicati<strong>on</strong>migrati<strong>on</strong>s: Scenario 1: Rewriting the applicati<strong>on</strong> <strong>to</strong> the .NET plat<str<strong>on</strong>g>for</str<strong>on</strong>g>m.Rewriting an applicati<strong>on</strong> is a challenging endeavor because a <strong>on</strong>e-<strong>to</strong>-<strong>on</strong>e mapping fromthe source envir<strong>on</strong>ment <strong>to</strong> the target envir<strong>on</strong>ment is very difficult <strong>to</strong> achieve. When anapplicati<strong>on</strong> is rewritten, there is always a risk that some functi<strong>on</strong>ality from the originalapplicati<strong>on</strong> may be lost during the transiti<strong>on</strong>. Comm<strong>on</strong>ly, Pro*C programs are proceduraland do not have a graphical user interface. <str<strong>on</strong>g>Migrating</str<strong>on</strong>g> procedural code is easier thanmigrating GUI-based applicati<strong>on</strong>s. Extensive testing needs <strong>to</strong> be per<str<strong>on</strong>g>for</str<strong>on</strong>g>med <strong>on</strong> therewritten applicati<strong>on</strong> <strong>to</strong> ensure that all of the business logic and functi<strong>on</strong>ality hasaccurately been recreated.This chapter <strong>on</strong>ly discusses the trans<str<strong>on</strong>g>for</str<strong>on</strong>g>mati<strong>on</strong> that needs <strong>to</strong> occur <strong>to</strong> the most comm<strong>on</strong>database-related comp<strong>on</strong>ents when rewriting a Pro*C applicati<strong>on</strong> <str<strong>on</strong>g>for</str<strong>on</strong>g> the .NETenvir<strong>on</strong>ment. A comprehensive study of the entire rewrite is bey<strong>on</strong>d the scope of thisguidance.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!