Delphi to Java Spring Boot Online Presentation


Demo presentation text:

Hello!

Welcome to this demonstration of the migration tools provided by Ispirer Systems for Delphi to Java application conversion.

In this video, I’d like to show you how easily the conversion from Delphi to Java Springboot can be performed by Ispirer tools.

Before proceeding directly to the demo, I would like to say a few words about the Ispirer toolkit provided for automatic conversion and modernization. There are two graphical tools based on a command line tool called

• Ispirer Migration and Modernization Engine – it can be run in batch mode and can perform the automatic conversion of application code contained in scripts.

• Ispirer Migration Studio – a GUI tool oriented specifically to the conversion of a separate application script. Works with one script at a time.

• Ispirer Migration Commander – a GUI tool designed for the conversion of multiple files containing application code. Works with several scripts at a time.

For this demo we have selected a Delphi program, which connects to the database, manipulates with data and can show the data in ordinary, graphical and tabular views.

There are 3 tabs in the program: the first one contains welcome information, the second one allows finding a definite record by year, updating a record, adding a new one or deleting a record. For example, I’ll enter 2016 and press the button «Find». You can see the information from the database. And the third tab contains controls with uploaded information, we can click «Show Report» and see graphical and tabular views of the data.

Now let’s see how this Delphi application can be converted with the help of Ispirer Migration Commander.

After launching this tool, in its left pane we need to select the folder, which contains the source files. In the right pane we need to specify a directory in which all the generated results of the conversion will be placed.

So, in the left pane we see the source files of the program. There are:

DelphiToJavaSPRINGBOOT.dpr file – the main file of the application;

DataDemo.dfm and DataDemo.pas files which have the connection to the database;

FormDemo.dfm file with all the controls and

FormDemo.pas file which contains the business logic of the application.

In order to begin the conversion process, we need to specify the source of the conversion – in our case it’s Delphi, and the target – Java Sprinboot. Then in the left pane we need to select the source files for the conversion and just click the button RUN.

As we’ve selected the dpr file which is the main file of the application and includes the second version of dfm and pas files, the conversion process can take a few seconds.

As we migrate a desktop application to a web-application, after the migration we will get multiple files.

For example:

FormDemo.java – is a Java class, which corresponds to the same .pas file and contains the business logic;

and TFormObject.js file

Now let’s convert the same application with the help of Ispirer Migration Studio.

After launching Ispirer Migration Studio, we need to open the source file of the Delphi program. In our case it is FormDemo.pas file.

Then we need to specify the source and the target of the conversion and click the button RUN.

After the migration we will get multiple files.

We can see them in the folder ResultStudio. They are FormDemo.java and TFormObject.js file.

Now let’s run the conversion using the command line tool. We have created a file with all the necessary options. We can see the source and the target of the migration. Now let’s run this file.

As you can see, a folder with the conversion results has been generated. We have all the necessary files after the conversion. These results are identical to the results which we got before in Migration Commander and Migration Studio.

Once the conversion process has been completed, we can integrate the results to Java project, open them in Eclipse IDE, compile and execute them. As we migrate in a Maven project, we need a pom.xml file, which contains the required dependencies.

As you can see, we have the same Java classes here. Let’s run the program. This is our Java application. The functionality of this application is the same as we have in Delphi. Let’s check it. The first tab, the second one. I’ll enter the same year – 2016. Again you can see the information from the database. And the third tab, it also has the same controls. Let’s click the button «Show report», and you can see the identical result.

This is all information about the tools that our company provides for the conversion from Delphi to Java.

It is just a review of the tools, so if you need additional information please contact us, and we will be glad to assist you in your migration projects.

Thank you very much for your attention. Bye.