6 undeniable facts to choose conversion with Ispirer
-
Fact 1/6
Same functionality, new application
Migration does not require labor-intensive development of new functionality from scratch. Your application will be converted to a new technology while maintaining the original functionality
-
Fact 2/6
Architecture preserved or modified
Automated conversion implies preserving the initial architecture which is easier to maintain. The app architecture, can also be transformed, for example, from desktop to the web to improve accessibility and scalability
-
Fact 3/6
The speed of conversion
Migrating an application is much faster than creating a new one from scratch. Automated migration with Ispirer Toolkit minimizes manual effort and may speed up the delivery by 2-3 times
-
Fact 4/6
Legacy System Transformation
Migrating Delphi to modern architectures or platforms can upgrade your application, making it easier to maintain, update, and extend in the long term run
-
Fact 5/6
Performance and Scalability
Through conversion, you can optimize the application's architecture and infrastructure, improving scalability and performance without the need to rebuild everything
-
Fact 6/6
No need for documentation
To perform the conversion, we go by your source code. There is no need to have detailed documentation in place to start the conversion as is the case with development
Conversion opportunities with Ispirer
Ispirer Ecosystem automates your migration routine to enable quick and smart transformation of any application. Double the migration speed with our comprehensive solutions.
-
With CodeWays only
- Free Metrics tool to analyze the migration complexity
- Assistance in CodeWays configuration
- Automated migration of the entire application including project files, business logic, GUI and database API
- Prompt customization of the tool to maximize automation rate
- Expert support
-
With CodeWays as a part of migration service
- Tailored migration roadmap from assessment through migration and testing to cutover
- Automated migration of the entire application, including project files, business logic, GUI and database API
- Team of experts skilled in application conversion
- Assistance in deployment, integration, performance optimization, and new feature development
Unleash the reinforced application
Save your time
Do it for 5 minutes
CodeWays for automated app conversion
CodeWays is a tool for automated application conversion that translates code from one programming language to another automatically, while preserving the initial functionality of an app. Using an intelligent proprietary algorithm, the tool analyzes the syntax, semantics, mapping data types, control structures, function calls, and code structures that do not have equivalents in a target technology.
Based on the analysis, CodeWays applies all the relevant conversion rules from its knowledge base core and translates Delphi source code to Java.
It takes 5 min to start your application conversion journey!
App source code & App source code with embedded SQL*
- Informix4GL
- Delphi
- Cobol
- VisualBasic
- Progress4GL
- PowerBuilder
- C/C++
Any files with SQL code
- Informix
- Teradata
- SQLServer
- Oracle
- IBM DB2
- SAP Sybase
- PostgreeSQL
- MySQL
- Greenplum
- MariaDB
- Firebird
-
App target code
-
App target code with converted ESQL
-
Files with SQL code for the target DB
*Embedded SQL are SQL statements written inline with the program source code, of the host language.
Convert Smarter. Evolve Faster
Dive into the tool’s features
- Delphi
- Cobol
- OracleForms
- Progress 4GL
- PowerBuilder
- C\C++
- IBM
- RPG
- Informix 4GL
- Delphi
- Cobol
- OracleForms
- Progress 4GL
- PowerBuilder
- C\C++
- IBM
- RPG
- Informix 4GL
- MSSQL
- Oracle
- OracleForms
- Progress 4GL
- C\C++
- Delphi
- Cobol
- Informix 4GL
- MSSQL
- Oracle
- OracleForms
- Progress 4GL
- C\C++
- Delphi
- Cobol
- Informix 4GL
Migration demo
Delphi to Java conversion service overview
More than 2K users use this way to
successfully convert their application code
- Collecting info about an APP
- Analyzing the APP and its components
- Making migration plan
- Entire APP conversion
- APP changes (API, ESQL)
- Manual code review and debugging
- Replacing custom controls, libraries, methods, etc. with analogues
- Developing remaining solutions using target technology
- APP analysis and test documentation creation
- Testing the application against test documentation
- Fixing issues
- Testing the APP against business requirements
- Fixing issues
- Switching APP
- System startup assisstance
Conversion Samples of Delphi to Java Swing
Ispirer Toolkit analyzes all object dependencies during the conversion process and provides not only line-by-line conversion, but resolves type conversions as well. The software understands and transforms the necessary inheritance dependencies. It parses the entire source code, builds an internal tree with all the information about the objects, and uses it in the migration process.
Variables declaration conversion:
Delphi
- var CanClose: Boolean;
- CustNo: Double;
- DBPath: string;
- Key: Char;
- I: Integer;
- RSCON: TIniFile;
→ Java Swing
- boolean CanClose;
- Double CustNo;
- String DBPath;
- char Key;
- Integer I;
- Wini RSCON;
.pas file structure conversion:
Delphi
- unit Splash;
- interface
- uses
- SysUtils, Windows, Messages, Classes, Graphics, Controls,
- Forms, Dialogs, StdCtrls, ExtCtrls;
- type
- TSplashForm = class(TForm)
- Panel1: TPanel;
- Label3: TLabel;
- Bevel1: TBevel;
- Label1: TLabel;
- Image1: TImage;
- end;
- var
- SplashForm: TSplashForm;
- implementation
- {$R *.dfm}
- end.
→ Java Swing
- package units;
- import handlers.TSplashFormHandler;
- import org.slf4j.Logger;
- import org.slf4j.LoggerFactory;
- public class Splash {
- private static Splash instance;
- private static final Logger LOGGER = LoggerFactory.getLogger(Splash.class);
- public TSplashFormHandler SplashForm;
- private Splash() {
- }
- public static synchronized Splash getInstance() {
- if(instance == null) {
- instance = new Splash();
- }
- return instance;
- }
- }
- package handlers;
- import forms.TSplashForm;
- import units.Splash;
- public class TSplashFormHandler {
- public TSplashForm form;
- public TSplashFormHandler(TSplashForm form) {
- this.form = form;
- form.setTSplashFormHandler(this);
- }
- }
.dfm file structure conversion:
Delphi
- object SplashForm: TSplashForm
- Left = 204
- Top = 123
- AutoScroll = False
- ActiveControl = Panel1
- BorderIcons = []
- BorderStyle = bsNone
- ClientHeight = 178
- ClientWidth = 168
- Font.Color = clBlack
- Font.Height = -11
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- PixelsPerInch = 96
- Position = poScreenCenter
- TextHeight = 13
- object Panel1: TPanel
- Left = 0
- Top = 0
- Width = 168
- Height = 178
- Align = alClient
- BevelInner = bvLowered
- Color = clSilver
- TabOrder = 0
- object Label3: TLabel
- Left = 23
- Top = 125
- Width = 123
- Height = 19
- Caption = 'Marine Adventures'
- Font.Color = clBlack
- Font.Height = -16
- Font.Name = 'Times New Roman'
- Font.Style = [fsItalic, fsUnderline]
- ParentFont = False
- end
- object Bevel1: TBevel
- Left = 10
- Top = 150
- Width = 147
- Height = 2
- Style = bsRaised
- end
- object Label1: TLabel
- Left = 60
- Top = 158
- Width = 47
- Height = 13
- Caption = 'Loading...'
- end
- object Image1: TImage
- Left = 40
- Top = 11
- Width = 87
- Height = 113
- Picture.Data = {
- }
- end
- end
- end
→ Java Swing
- package forms;
- import javax.swing.*;
- import javax.swing.border.TitledBorder;
- import javax.swing.plaf.FontUIResource;
- import java.awt.*;
- import com.ispirer.sw.controls.TForm;
- import com.ispirer.sw.controls.TImage;
- import com.ispirer.sw.types.image.PictureUtils;
- import handlers.TSplashFormHandler;
- import org.apache.commons.lang3.StringUtils;
- public class TSplashForm extends TForm {
- private static final long serialVersionUID = 1L;
- private TSplashFormHandler tSplashFormHandler;
- private JPanel Panel1 = null;
- private JLabel Label3 = null;
- private JLabel Label1 = null;
- private TImage Image1 = null;
- public JPanel getPanel1() {
- return this.Panel1;
- }
- public JLabel getLabel3() {
- return this.Label3;
- }
- public JLabel getLabel1() {
- return this.Label1;
- }
- public TImage getImage1() {
- return this.Image1;
- }
- public TSplashForm() {
- setUIFont(new FontUIResource("MS Sans Serif", Font.PLAIN, 11));
- setDefaultCloseOperation(DISPOSE_ON_CLOSE);
- setName("SplashForm");
- setBorderStyle(BorderStyle.BS_NONE);
- setBounds(204, 123, 168, 178);
- setLocationRelativeTo(null);
- initTSplashForm();
- initLayouts();
- }
- private void initTSplashForm() {
- this.Panel1 = new JPanel() {
- @Override
- protected void paintComponent(Graphics g) {
- super.paintComponent(g);
- g.drawLine(10, 150, 157, 150);
- }
- };
- this.Label3 = new JLabel();
- this.Label1 = new JLabel();
- this.Image1 = new TImage();
- //
- // Panel1
- //
- this.Panel1.setName("Panel1");
- this.Panel1.setBounds(0, 0, 168, 178);
- this.Panel1.setLayout(null);
- this.Panel1.setBackground(Color.lightGray);
- getContentPane().add(this.Panel1, 0);
- //
- // Label3
- //
- this.Label3.setName("Label3");
- this.Label3.setForeground(Color.black);
- this.Label3.setBounds(23, 125, 123, 19);
- this.Label3.setText("<html><u>Marine Adventures</u></html>");
- this.Label3.setFont(new Font("Times New Roman", Font.ITALIC, 15));
- this.Label3.addPropertyChangeListener("text", labelChangeText);
- this.Panel1.add(this.Label3);
- //
- // Label1
- //
- this.Label1.setName("Label1");
- this.Label1.setBounds(60, 158, 47, 13);
- this.Label1.setText("Loading...");
- this.Label1.addPropertyChangeListener("text", labelChangeText);
- this.Panel1.add(this.Label1);
- //
- // Image1
- //
- this.Image1.setName("Image1");
- String Image1Data = StringUtils.join("");
- this.Image1.setImage(PictureUtils.getTImage(Image1Data));
- this.Image1.setBounds(40, 11, 87, 113);
- this.Panel1.add(this.Image1);
- }
- private void initLayouts() {
- GroupLayout contentPaneLayout = new GroupLayout(getContentPane());
- getContentPane().setLayout(contentPaneLayout);
- contentPaneLayout.setHorizontalGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.LEADING)
- .addComponent(Panel1, 0, 168, Short.MAX_VALUE));
- contentPaneLayout.setVerticalGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.LEADING)
- .addComponent(Panel1, 178, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE));
- }
- public void setTSplashFormHandler(TSplashFormHandler tSplashFormHandler) {
- this.tSplashFormHandler = tSplashFormHandler;
- setActiveControl(this.Panel1);
- }
- }
If statement conversion:
Delphi
- if FromEdit.Text = '' then Result := 0
- else Result := StrToDate(FromEdit.Text);
→ Java Swing
- if(form.getFromEdit().getText() == null && "".equals(form.getFromEdit().getText().trim())) {
- result = null;
- } else {
- result = LocalDateTime.from(LocalDate.parse(form.getFromEdit().getText(), DateTimeFormatter.ofPattern("M/d/yyyy")).atStartOfDay());
- }
For statement conversion:
Delphi
- for I := 0 to Application.ComponentCount - 1 do
- begin
- if Application.Components[I] is TForm then
- begin
- F := TForm(Application.Components[I]);
- if (F <> Self) and (F.Visible) then F.Close;
- end;
- end;
→ Java Swing
- for(I = 0; I <= Window.getWindows().length - 1; I ++) {
- if(Window.getWindows()[I] instanceof TForm) {
- F = (TForm) Window.getWindows()[I];
- if((F != this.form) && F.isVisible()) {
- F.dispose();
- }
- }
- }
While statement conversion:
Delphi
- while not Items.EOF do
- Items.Delete;
→ Java Swing
- while(!form.getItems().isEOF()) {
- form.getItems().delete();
- }
Try catch statement conversion:
Delphi
- try
- Items.First;
- finally
- DeletingItems := False;
- end;
→ Java Swing
- try
- {
- Items.MoveFirst();
- }
- finally
- {
- DeletingItems = false;
- }
Get a free sample code of our Delphi to Java Swing code conversion
Ispirer Toolkit automatically converts not only a single piece of code, but an entire application. Complex code will require customization of the toolkit
- Explore how Ispirer Toolkit migrates the source code to the target technology without downloading it.
- Analyze and compare the source sample with your code to understand which components of your application can be automatically converted using Ispirer Toolkit.
- Test an application containing nearly 1,000 lines of code.
- Our experts can add new conversion rules within 3-5 business days.
Trust us with your conversion project
-
Seasoned team
Ensuring high security and performance standards is what we do best, thanks to our impressive expertise in building reliable and scalable solutions.
-
Technology expertise with 25+ years of experience
Our team has gained a wide pool of expertise in various programming languages, from the rarest to the most popular ones.
-
We comply with ISO 27001 security
We comply with ISO 27001 security management requirements with comprehensive policies and processes, advanced security technology, and skilled professionals.
-
Proprietary tools
We employ Ispirer proprietary tools, underscoring our dedication to delivering the utmost reliability and performance solutions.
The toolkit is compiled daily and continually integrates dozens of new conversion rules, enhancing the automation capabilities.
They chose Ispirer to revamp their application
Epicor, University of Maryland, Splice Machine and more have adopted CodeWays to boost their innovation life-cycle accelerate and manage their end-to-end innovation lifecycle
Are you still here? And wow, that's quite a lot you had to scroll through! 😄
Take control of your application
conversion now
Do it for 5 minutes

