Migrating Oracle Reports to Java or .NET
Oracle Reports migration is the move of reports built in Oracle Reports, including their queries, layouts, PL/SQL logic, parameters and output, to Java or C# programs that produce the same business results. Many organizations still run invoices, statements, payslips and management reports on Oracle Reports. These reports hold years of business rules, but the Reports skills to maintain them are getting harder to find.
CORE specialists plan and deliver Oracle Reports migration to Java or .NET while preserving the design and business logic. You can extend your team with CORE specialists, deliver jointly with CORE, or engage CORE to lead an agreed project.
Report Definitions · SQL · PL/SQL · Layouts
Business Rules · Data Models · Report Logic
Java · .NET · Reporting Tools · Web
Preserve reporting logic. Modernize report delivery.
Why Organizations Migrate Oracle Reports
Oracle Reports applications are often too valuable and too complex to replace from a blank page. The goal of a migration is to keep what the reports know and move them onto a platform your team can extend.
Fewer Reports Developers
Fewer new developers learn Oracle Reports, so finding people who can read and change the report queries, layouts and PL/SQL gets harder over time.
Modern Output and Delivery
Business users now expect reports as PDF, Excel or web pages, delivered by email or on demand, and adding these to older report definitions can be difficult.
Difficult to Integrate
Running a report from another application, a portal or a cloud platform usually needs report servers, command-line calls or database-level workarounds.
Tied to One Toolset
Report definitions and the supporting report runtime are tied to one vendor toolset, which limits how freely you can choose hosting, tools and staff.
Your Options for Oracle Reports
There is more than one way forward, and the right one depends on your goals. These are the three paths most organizations compare.
Upgrade and Extend
Move to a newer Oracle Reports release and keep building reports in Reports Builder. This keeps the existing tooling and skills requirement.
Move to Oracle BI Publisher
Rebuild the reports in Oracle BI Publisher, Oracle’s reporting tool, and stay in the Oracle product family.
Migrate to Java or .NET
Move the reports to Java or C# programs, with a reporting engine such as Jasper Reports where you want one, so the result is standard application code that any Java or .NET team can maintain.
What CORE Migrates in an Oracle Reports Application
An Oracle Reports environment typically includes the following components. Each one has a defined path to the modern solution.
Report Definitions
The report modules built in Reports Builder and stored as RDF files, one for each invoice, statement, listing or management report.
Data Model and Queries
The SQL queries, groups, links between queries, and the formula, summary and placeholder columns that calculate each report’s values.
Layout and Formatting
The frames, repeating frames, fields, boilerplate text and page settings that decide how each report looks.
Triggers and PL/SQL Logic
Report triggers such as Before Report and After Report, format triggers, group filters, and the PL/SQL program units inside each report.
Parameters and Parameter Forms
The user parameters, lists of values and the parameter form that collect what the user wants to run.
Output and Distribution
Output to the screen, a printer, a file or email, in the formats your users receive today.
How CORE Migrates Oracle Reports
The CORE Migration Method combines assessment, design preservation, repository-driven engineering and testing. Specialists work with your team to understand the existing reports, review their business rules and deliver the agreed modernization.
Design Preservation
The design of your report definitions, queries and database code is analyzed and recovered into the CORE Repository so that your definitions and business logic are preserved moving forward.
Business Rules Review
Specialists review the recovered rules with your team, so the people who know the business confirm what each report does today.
Forward Engineering to the Target Stack
A modern solution: C# or Java report programs and APIs, Dapper or MyBatis data access, and an Oracle or SQL Server relational database, with a React or Angular web interface where users need one.
Automated Unit and Functional Tests
Automated unit and functional tests are part of the CORE Migration Method, and the migrated reports are tested against the legacy reports.
Oracle Reports Module Migration
The report definition is the heart of an Oracle Reports application. Each report combines a data model of queries, the calculations on that data, and a layout that turns it into a printed or electronic document. A migrated report is split into three layers so each part can be maintained on its own.
Data Layer
The queries and links of the data model are modernized to a data access layer, using lightweight object relational models (ORMs): Dapper for C# and MyBatis for Java.
Business Logic Layer
Formula columns, summaries and trigger logic are modernized to business classes that the report program calls. CORE supports both Java and C#.
Layout and Output Layer
Frames, fields and page settings are rebuilt as the report layout, so the document your users receive can follow the original design.
PL/SQL and Report Trigger Migration
Where the report logic should live is the main design decision in an Oracle Reports migration. Business logic may sit in report triggers, in formula columns, in shared PL/SQL libraries or in packages inside the database. The right answer is agreed with your team during assessment, after the logic has been analyzed.
Logic Kept in the Database
Where the packages and procedures already hold the business rules, they can stay in the Oracle Database and be called from new Java or C# programs.
Rules Confirmed First
Business rules are reviewed before they move, so you decide which rules to keep, change or retire.
Logic Moved to Java or C#
Logic in report triggers, formula columns and PL/SQL libraries is modernized into Java or C# business classes that your developers can read, test and change.
Report Layout and Output Migration
Users judge a migrated report by what they see on the page. The layout and the output formats are agreed with your team before the work starts.
Layout Fidelity
Reports are generated to mirror the layout and output of the original report. Talk to your CORE representative for more information.
Reporting Tool Choice
Integration with Jasper Reports or other report writing tools is possible, so you can choose the tool your team prefers to support.
Output Formats
Reports can be produced as documents for the screen, a printer, a file or email, in the formats your users use today.
Parameters, Scheduling and Distribution
Around each report, an Oracle Reports system usually depends on parameter forms, scheduled runs and the programs that start them. These are planned in the same project.
Parameter Screens
Report parameters become input fields on a web screen, and lists of values become lookups.
Scheduling and Delivery
Scheduled report runs move to Windows or Linux schedulers, or to enterprise job schedulers, with logging, alerts, retries and delivery by file or email.
Started from Other Applications
Where a report is started from an Oracle Forms screen or another program today, the call becomes an API call to the new Java or C# report program.
Application Data Migration
What happens to your data depends on where you want the migrated reports to run.
Oracle Database Kept
Most Oracle Reports run against the Oracle Database. Where you want to keep it, the tables stay and the new Java or C# reports connect to them.
Move to SQL Server
Where you want to move the data to Microsoft SQL Server, the CORE data conversion process creates the relational structures and the processes that convert the data.
Data Conversion Where Needed
Where the data has to be reshaped or moved, CORE builds and runs the conversion and checks the results with your team.
Oracle Reports Versions and Starting Points
Applications are at different stages. Whatever the release, the migration starts from the report definitions and the database.
Reports 6i and Earlier
Client-server era reports, often with many report files and heavy use of PL/SQL libraries.
Reports 9i to 11g
Reports run through a report server and started from a browser or from Oracle Forms.
Reports 12c
Current-generation Oracle Reports that still need a plan for staff, hosting and long-term direction.
Where Oracle Reports Are Used
Oracle Reports was used to produce the printed and electronic documents of business applications on the Oracle Database. These are the kinds of reports that are typically candidates for modernization.
Finance and Accounting
Invoices, statements, ledger listings and reconciliation reports.
Human Resources and Payroll
Payslips, employee listings, timekeeping and benefits reports.
Inventory and Supply Chain
Pick lists, purchase orders, delivery notes and stock reports.
Government and Public Services
Notices, licences, tax statements and case reports.
Technologies in the Target Solution
These are the technologies named above. Each page explains how it is used on legacy migration and application development projects.
Jasper Reports
A report writing tool that can produce the migrated reports.
Angular
A cloud-based web interface for report parameters and report viewing.
React
An alternative cloud-based web interface for report parameters and report viewing.
Related Services
Business Rules Extraction
Discover hidden business logic and dependencies.
Quality Assurance
Test the migrated system against the legacy system.
The CORE Migration Method
Repository-driven modernization methodology.
Consultants and Teams for Hire
Extend your team with CORE specialists.
Other Legacy Platforms CORE Migrates
If you also run other legacy systems, these pages explain the same approach for those platforms.
PowerHouse 4GL
Migrating Cognos PowerHouse 4GL business applications.
What Is Oracle Reports?
Oracle Reports is a reporting tool from Oracle for producing formatted, data-driven documents from the Oracle Database. Developers define the queries and the layout in Oracle Reports Builder and write logic in PL/SQL, the procedural language of the Oracle Database. Oracle Reports is widely used in finance, government, utilities and other data-heavy organizations, and it is often used together with Oracle Forms.
An Oracle Reports system is usually made of three kinds of parts:
Oracle Reports Builder
The design tool in which the data model, layout, triggers and parameters of each report are built and saved as report definitions.
Reports Server and Runtime
The runtime that runs the compiled reports for users, queues the requests and connects them to the Oracle Database.
Oracle Forms
The screen tool that is commonly used with Reports, so users start reports from their Forms screens.
Oracle Reports Migration: Frequently Asked Questions
Do we have to migrate every report?
That is decided during assessment. CORE reviews the list of reports with your team, so you can decide which to migrate, which to combine and which to retire.
Will the migrated reports look the same?
Reports are generated to mirror the layout and output of the original report. The layout and formats are agreed with your team before the work starts.
Can we keep the Oracle Database?
Yes. Many migrations keep the Oracle Database and replace the report layer. Moving the data to SQL Server is also possible.
Java or .NET: which should we choose?
CORE supports both. The choice usually follows the skills your team already has and the platforms you already run.
How do we know the migrated reports give the same numbers?
Automated unit and functional tests are part of the CORE Migration Method, and the migrated reports are tested against the legacy reports.
How does a project start?
With an assessment discussion. Describe the reports, the Reports version, the database and your priorities, and CORE will scope the work with you.
Plan Your Oracle Reports Migration
Tell us what runs on Oracle Reports today, and we will discuss how to migrate the reports, PL/SQL, data, parameters and output to Java or .NET.
You can extend your team with CORE specialists, deliver jointly with CORE, or engage CORE to lead an agreed project.
