|
Java Support
Paragon JavaBeans and Java Server
The purpose of this page is to provide an overview of Paragon's Java support and links to demo applets that illustrate
possibilities. For further detailed information refer to your Paragon Users guide.
Paragon JavaBeans
JavaBeans are software components that conforms to a published specification developed by Sun Microsystems. The
specification provides a set of "rules" or "patterns," that make it possible to use JavaBeans
in development tools from many software vendors. In this respect, JavaBeans are very much like ActiveX controls,
which conform to a different specification from Microsoft. Like ActiveX controls, JavaBeans may incorporate sophisticated
behavior into an easy-to- use component that can simply be dropped into a development tool, configured, and executed.
Paragon v5.0 and later JavaBeans include the
following:
 |
Bar Graph
A single bar with a scale. |
 |
Discrete Switch
A graphic button with two state images, one for each state of the button. Discrete Switch can also display in text
mode. |
 |
Animator Plays
A series of images depending on the condition of a discrete Paragon value. |
 |
Meter
A simple gauge with variations. |
 |
Data Display
Shows numbers and text. |
 |
Trend Plots
DM data. |
All of these objects can be connected to Paragon
data using the tag browser. Several of them provide secure methods of changing data. Paragon's basic server data
accesses the included JavaBeans, allowing you to construct your own Paragon-aware display objects. They can be
connected to third-party display objects including:
Java Applets and Applications
Paragon's JavaBean components enable development of two Java-based displays:
 |
Java applets that run in a JavaBean version 1.1-compatible browser
(see discussion later on Java versions). Applets are used in Web-browser-based displays and must be accessed using
HTML. Most RAD tools generate HTML code examples that you can cut and paste into your Web pages. |
 |
Java applications that run independently (not in a browser). This
benefits developers who want to use Java but not a Web browser as their operating environment. |
Paragon Java Server
Paragon's Java server extends the reach of Paragon's JavaBeans to the network and the Web. It provides a special
gateway program called the Paragon Java Server, which runs inside Paragon, allowing remote JavaBeans to connect
over TCP/IP and send and receive Paragon data. It implements a special client-server protocol that the JavaBeans
use when they operate in "remote mode." The JavaBeans simply send requests for data using this protocol
and process the responses that are returned. For security purposes, this protocol also requires a login step, so
an operator at the remote station must supply a valid name and password before data can be displayed. To use the
Paragon Java Server, you must perform the following steps:
| 1. |
|
Select a Paragon system to run the Java Server. |
| 2. |
|
Setup Java 1.1 and TCP/IP support on this system. |
| 3. |
|
Configure and run the Java Server. |
| 4. |
|
Create JavaBean applications that communicate with the Java Server. |
|