Enhydra Example Applications

Tanja Jovanovic


Table of Contents

1. Enhydra applications
2. Ports of Enhydra applications

Chapter 1. Enhydra applications

In Enhydra, there are following applications:

  • The DemoApp Enhydra Demo Application

    This is a collection of "tutorial" applications that shows off various features and capabilities of Enhydra. It is an excellent demo for looking at an Enhydra application "under the cover". Access to specific Enhydra Application Framework services, such as the session object, is illustrated. Part of this application is secured: use any username, and the password "demo."

    Figure 1: The Enhydra Demo Application

  • The Welcome Application

    This application is a simple "hello world" test application.

    Figure 2: The Welcome Application

  • The EnhydraFlash Application

    This very simple demo supports the capability to take a text string and express it in Flash with some special effects.

    Figure 3: The EnhydraFlash Application

  • The Chat Application

    This is a chat room application. It uses a special algorithm to achieve the effects of push technology using standard HTTP. Messages the user sends appear immediatly.

    Figure 4: The Chat Application

  • The Calculator Application

    This is a little application that simulates a simple calculator.

    Figure 5: The Calculator Application

  • The DiscRack Application

    This is a demonstration application for querying inserting, deleting and updating a list Persons and their discs in a database. It uses enhydra DODS. The default database is InstantDB.

    Figure 6: The DiscRack Application - Login

    Figure 7: The DiscRack Application - Discs

  • The Poker Application

    This application is a simulation of a poker. It can use database. By default, it doesn't use database, but, if uses, the default database is InstantDB.

    Figure 8: The Poker Application - Login

    Figure 9: The Poker Application - Play

  • CactusForEnhydra

    This example presents enhydra testing framework using Jakarta Cactus.

  • The GolfShop Application

    An example of a classic Web shopping cart application used to support on-line Golf Store shopping Experience.

    Figure 10: The GolfShop Application

  • The PhoneBook Application

    This is a demonstration application for querying and updating a list of phone numbers in a database. It has been tested with Informix, Oracle and InstantDB databases. The default database is InstantDB.

    Figure 11: The PhoneBook Application

  • The PhoneBook Soap Application

    This is PhoneBook Application that uses SOAP. SOAP is a communication protocol used to convey messages between applications. To demonstrate it, the PhoneBook example has been split into two applications:

    • PhoneBookSoapClient, responsible for user interface

    • PhoneBookSoapServer, responsible for database input/output

    These two applicataions communicat with each other using SOAP.

    Figure 12: The PhoneBook Soap Application

  • Soap Server Application

    This is an example of SOAP with Apache.

    Figure 13: The Soap Application

  • WAR example

    This incloses examples of using Tomcat.

    Figure 14: The Tomcat Application

  • Barracuda-examples

    It incloses three examples of using barracuda:

    • BarracudaDiscRack

      Barracuda DiscRack is an example of using Barracuda in Enhydra application. The primary purpose for this excercise was to provide a "real-life" example of how you could use Barracuda to build a web application.

      Figure 15: The Barracuda DiscRack Application - Login

      Figure 16: The Barracuda DiscRack Application - Discs

    • HelloWorld1

      This simple example just writes Hello.

    • HelloWorld4

      This example illustrates how the Barracuda Localization taskdef can be used to compile a single template into mutiple localized templates which can then be accessed using the Barracuda DOMLoader class.

  • The Cache Admin Application

    This application is used for maintaining a cache of cached tables of Enhydra's applications.

    Figure 17: The Cache Admin Application

    Figure 18: The Cache Admin Application - table details

  • FopApplet and FopEditor

    FOP editor applet is like any other text processor and it has a some standard functions. Text can be easily formatted using menubar and/or toolbar. The WEB Administrator can adjust content of menubar or toolbar through the property file.

    FOP Editor is used to create PDF file from the input sources that are XSL:FO formatted. These input sources can be one of:

    • content of the FOP applet editor and data from HTML form

    • FO parameter - path to some FO file

    • XML+XSL parameters - paths to some XML and XSL files

    PDF files are created using Apache Software Foundation's FOP tool. FOP is a Java application that reads a formatting object tree and then turns it into a PDF document. Submitting a input sources to FOP tool are accomplished through servlet. In this case, servlet is Enhydra application.

    Figure 19: The FOP Editor

Chapter 2. Ports of Enhydra applications

The default ports for previous mentioned applications are: