JGAS overview
The Genero Application Server for Java (JGAS) is an implementation of the Genero Application Server (GAS) that is written in Java. It can be used for the development, testing, and deployment of applications.
This implementation performs the same functions as the GAS. Where it differs noticeably from the standard GAS is in its architecture and in terms of how it implements configuration and logging. In configuration it offers more flexibility with element order and schema validation, and it enhances the logging mechanism. See JGAS configuration file.
Using the JGAS
For more information on using fglgar, see the fglgar topic in the Genero Business Development Language User Guide.
JGAS Architecture
The JGAS uses Java and is designed to run on the J2EE servlet. It differs from the standard GAS in the way it uses Web server resources such as sockets and memory in the handling of HTTP communication between the DVM and the front-end.
- The Web server receives an HTTP request that is forwarded to the GAS dispatcher.
- The GAS dispatcher forwards it to the proxy using sockets.
- The proxy sends the data to the DVM and handles any child VMs that may be started.
In the JGAS architecture those processes are similar except that proxies are not used between the DVM and the dispatcher. HTTP requests are processed internally and one socket per DVM is all that is required to maintain the communication.
-
Less resources are consumed overall as less system processing is required.
-
There are no proxy processes running, and therefore no sockets are required between the proxy and the dispatcher.
- Asynchronous management of requests allows the J2EE container to recycle worker threads instead of keeping them locked waiting for a response.
JGAS as standalone
The JGAS can not run standalone. For development environment testing, you need a separate GAS installation or a Java Enterprise Edition server (J2EE ), such as Apache Tomcat, Jetty, or Glassfish, to access your applications and services via a browser.