ApplinX provides several demo applications: Instant demo, Composite demo and SOA demo, based on a typical legacy Natural mainframe application. These applications contain typical legacy screens such as update screens, task screens, windows screens and more. The web applications of the demos contain various examples of common tasks needed to be performed in a typical web enabling/SOA application (in .NET or JSP). Such examples include external login page, path procedures, and tables combining a few screens to one.
Note:
When working in Windows OS, by default the repository is loaded from
the database provided with ApplinX. When working with UNIX, the repository of
the demo application is loaded from an external gxz file and therefore changes
cannot be made to entities (read-only).
The Insurance applications (Instant, Composite and SOA) manage customer details and proposals of a fictitious insurance company. They store and display information about the current customers and their proposal details. The applications contain modules for updating, deleting, and displaying customer records and proposals. There are three Insurance based applications:
The Instant demo application includes the entities required for an instant web application.
The Composite demo application includes, in addition to the entities included in the instant demo, paths and procedures used in the composite web application.
The Service Oriented Architecture (SOA) demo application includes the entities required to expose Procedure Clients and forms that have been generated.
The ApplinX web demo applications are distributed as part of the ApplinX installation. They contain many useful examples and code snippets, and therefore it is recommended to install them, browse through them and inspect their sources.
Installing the Demo Web Application using the Software AG Designer
Installing the Demo Web Application (Other Java Application Servers)
Refer to Creating an ApplinX Web Application using the Software AG Designer and select the desired application type.
To install the demo web application
Right-click on the relevant application (make sure that it is one of the demo applications: Instant, Composite or SOA) and select
.Ensure that Create a new Web application is selected. Click . The Create a New Web Application screen is displayed.
Ensure that JSP is selected as the language.
Select the relevant demo name as the Application type. Click .
Enter a name for the web application.
Browse and select the folder where Tomcat is installed.
Select the location of the JDK folder.
Click Wizard Summary screen is displayed.
. TheSelect whether to launch the browser when the process is completed.
Select whether to restart Tomcat.
Click
. A message will be displayed indicating whether the process succeeded or failed.To install the demo web application
Right-click on the relevant application (make sure that it is one of the demo applications: Instant, Composite or SOA) and select
.Select ApplinX for JSP Web application and click . The Select ApplinX Web Application screen is displayed.
Select Project in other location. Browse and select <ApplinX installation>\ApplinX\new jsp\<demo application name>.
Select Include source files to include the Java files as well as the compiled classes. Click . The Select Package Parameters screen is displayed.
Select the Java Application Server, the WAR file name and the destination folder where the output file will be placed.
Click Select Target ApplinX Server screen is displayed.
. TheSelect the name/IP address of the server, the port number and the ApplinX application name. Click
.In the console area, it is possible to see whether the process succeeded or failed. The WAR file created should be placed in your web server directory.
To install the sample application in Visual Studio
Open Visual Studio and open a New Web Site.
In the New Web Site dialog box make sure Visual C# is the selected language.
Choose one of the following templates:
ApplinX C# Composite Demo Application.
ApplinX C# Instant Demo Application.
ApplinX C# SOA Demo Application.
Right-click index.aspx and select
.Click
to run the project.