A ZIETrans 5250 example
Imagine you need to create a GUI for a 5250 host application. With ZIETrans you have a choice of providing the GUI using a Web application.
The following figure shows a screen from the host application:
Figure 1. A host terminal screen
If you need to create a Web application that provides the GUI, you
use a wizard to create a simple ZIETrans Web project. You give your
project a name and specify the host machine where the host application
runs. You take all the defaults and add no customization. After just
a few minutes, you use the preview function to see the host screen
transformed to this:
Figure 2. A default
Web transformation
As you can see, ZIETrans has added a banner across the top of the
screen and a navigation area on the left, but has made minimal changes
to the original host screen. This Web page is not yet what you want
to show to your users. Now you do some customization. After each change
you make, you preview the screen to evaluate your changes. Soon your
page looks like this:
Figure 3. A customized
Web transformation
When creating a Web application, you might decide that
this is enough customization, but with ZIETrans you can add much more.
For example, you can:
- Use ZIETrans macro support to provide programmed navigation through multiple host screens. For example, you can take your users directly to the first screen that you want them to use, bypassing other screens. You can combine data from several host screens into one ZIETrans GUI page.
- Use business logic and global variables to integrate your host applications with other back-end systems in your enterprise, as well as with your business partners' systems.
- From ZIETrans macros generate ZIETrans Integration Objects, which are Java™ beans that encapsulate interactions with a host application, and use them to create Web pages, Web services support files, or RESTful service JAX-RS resources.
- Develop Enterprise JavaBeans components that use ZIETrans Integration Objects to exchange data with host applications.
- Develop a ZIETrans Web application with an interface that allows users to access your host system using mobile devices such as cellular phones, data collection terminals, and personal digital assistants (PDAs).
How to add these and other types of customization is discussed in the remainder of this book and in the ../useguide/ugintro.html .