Installing ApplinX Demo Applications

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

Refer to Creating an ApplinX Web Application using the Software AG Designer and select the desired application type.

Installing the Demo Web Application using Tomcat

Start of instruction setTo install the demo web application

  1. Right-click on the relevant application (make sure that it is one of the demo applications: Instant, Composite or SOA) and select Web Application Manager....

  2. Ensure that Create a new Web application is selected. Click Next. The Create a New Web Application screen is displayed.

  3. Ensure that JSP is selected as the language.

  4. Select the relevant demo name as the Application type. Click Next.

  5. Enter a name for the web application.

  6. Browse and select the folder where Tomcat is installed.

  7. Select the location of the JDK folder.

  8. Click Next. The Wizard Summary screen is displayed.

  9. Select whether to launch the browser when the process is completed.

  10. Select whether to restart Tomcat.

  11. Click Finish. A message will be displayed indicating whether the process succeeded or failed.

Installing the Demo Web Application (Other Java Application Servers)

Start of instruction setTo install the demo web application

  1. Right-click on the relevant application (make sure that it is one of the demo applications: Instant, Composite or SOA) and select Deployment Manager for J2EE....

  2. Select ApplinX for JSP Web application and click Next. The Select ApplinX Web Application screen is displayed.

  3. Select Project in other location. Browse and select <ApplinX installation>\ApplinX\new jsp\<demo application name>.

  4. Select Include source files to include the Java files as well as the compiled classes. Click Next. The Select Package Parameters screen is displayed.

  5. Select the Java Application Server, the WAR file name and the destination folder where the output file will be placed.

  6. Click Next. The Select Target ApplinX Server screen is displayed.

  7. Select the name/IP address of the server, the port number and the ApplinX application name. Click Finish.

  8. 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.

Installing the Demo Web Application using Visual Studio

Start of instruction setTo install the sample application in Visual Studio

  1. Open Visual Studio and open a New Web Site.

  2. In the New Web Site dialog box make sure Visual C# is the selected language.

  3. Choose one of the following templates:

    • ApplinX C# Composite Demo Application.

    • ApplinX C# Instant Demo Application.

    • ApplinX C# SOA Demo Application.

  4. Right-click index.aspx and select Set as Start Page.

  5. Click Start to run the project.