Synnet:Automatic .NET generator for Advantage/2E

Download Report

Transcript Synnet:Automatic .NET generator for Advantage/2E

Synnet:Automatic .NET
generator for Advantage/2E
History
August, 25 2005
(c) 2005 Opentecnology
1
Synnet:Automatic .NET generator
for Advantage/2E - History
ICG, a company operating in the
insurance market, has used Synon 2
Since 1991 to develope its own software
solutions
 ICG customers asked for web
application, but ICG wanted to mantain a
single model of software development
and maintenance

August, 25 2005
(c) 2005 Opentecnology
2
Synnet:Automatic .NET generator
for Advantage/2E - History
More important, ICG wanted to use a
single 2E function for both Web and
traditional version
 Our company, OpenTecnology has
assisted ICG in generating Web version
of 2E applications

August, 25 2005
(c) 2005 Opentecnology
3
Synnet:Automatic .NET
generator for Advantage/2E
Solutions
August, 25 2005
(c) 2005 Opentecnology
4
Synnet:Automatic .NET generator
for Advantage/2E - Solutions

In the time, following customers demand,we
have developed three way to obtain Web
application from 2E Model
 Modifying
generated Cobol code with automatic
tool to obtain AS/400 running Web Application
 Modifying generated Cobol code with automatic
tool to obtain a Linux running Web Application
These two solutions are used by several insurance companies with
thousands of users
August, 25 2005
(c) 2005 Opentecnology
5
Synnet:Automatic .NET generator
for Advantage/2E - Solutions


Finally, using the 2E model in AS400
repository to generate with an automatic
tool a .Net Web application running in MS
Systems
We are now generating and testing the
.Net version of the same application,
without touching the 2E model and
without writing by hand .Net code !
August, 25 2005
(c) 2005 Opentecnology
6
Synnet:Automatic .NET
generator for Advantage/2E
How it works
August, 25 2005
(c) 2005 Opentecnology
7
Synnet:Automatic .NET generator
for Advantage/2E – How it works
We decided to start from 2E Model
because it is nearer to the object
paradigm than the Cobol generated code
and we have more control on generated
user interfaces
 We read the files containing the 2E
model and automatically generate all the
application components

August, 25 2005
(c) 2005 Opentecnology
8
Synnet:Automatic .NET generator
for Advantage/2E – How it works
We create SQL (Server) tables from
Files and migrate data
 We obtain SQL (Server) views from
Access Paths
 ASP.net HTML template pages are
generated from screens.

August, 25 2005
(c) 2005 Opentecnology
9
Synnet:Automatic .NET generator
for Advantage/2E – How it works

We use the screen information in the 2E
model to build a Web user interface
which is richer than the simply HTML
trasformation of a 5250 video. We use
.Net component to create interface, p.e.
using links, DataGrid instead of subfile,
ComboBox with 2E conditions, Buttons
for function keys ... Integration with MS
Office is available.
August, 25 2005
(c) 2005 Opentecnology
10
Synnet:Automatic .NET generator
for Advantage/2E – How it works
The action diagrams are red,
transformed in an intermediate language
and stored in a repository
 The Intermediate Language Repository
is then used for .NET class generation,
one class for each 2E function

August, 25 2005
(c) 2005 Opentecnology
11
Synnet:Automatic .NET generator
for Advantage/2E – How it works

User Sources are trasformed in the
intermediate language and stored in repository
 User Programs written in Cobol are trasformed
with a .Net Cobol compiler
 CLP and system commands are natively
converted in .Net
 Program Messages retrieved by MSGFs,
queued and showed in HTML page, by means
of alerts/message boxes, highlighted fonts,…
August, 25 2005
(c) 2005 Opentecnology
12