The HyJavaImages HTTP Server is an ADD-ON for the HyJavaImages library. It allows all HyJavaImages requests to be routed to a shared HyJavaImages HTTP server.
This functionality is useful in situations where you have multiple applications using the HyJavaImages library and will allow for efficient use of server resources.
The differences in operation between the standard HyJavaImages library and the HyJavaImages HTTP server are described below.
STANDARD LIBRARY USAGE
Out of the box the HyJavaImages library allows for 2 modes of operation.
Use the Chrome.start() method. This will start a Chrome server, creating the specified number of pool pages. The application will have exclusive use of this Chrome server.
Use the Chrome.connect() method. This will connect to an existing running Chrome server, creating the specified number of pool pages. The application will have exclusive use of the created pool pages but will share the Chrome server with other applications.
HTTP SERVER USAGE
The HyJavaImages HTTP server ADD-ON gives us a third option.
Use the Chrome.setViaHTTPServerURL() method. All HyJavaImages image generation methods will now route requests to the HyJavaImages HTTP server.
The HyJavaImages HTTP server will be launched separately by the provided script. The HTTP server will start a Chrome server, creating the specified number of pool pages. The HTTP server will have exclusive use of this Chrome server.
This allows for efficient use of resources as you will have only one Chrome server and one set of pool pages shared by all applications.
The only code change required is to replace the Chrome.start() method with the Chrome.setViaHTTPServerURL() method.
View the API for the HyJavaImages library.
- You must have a valid license for the HyJavaImages Library.
- You must have Chrome 64 or later installed on your system. The library requires a Chrome version that supports the DevTools protocol v1.3.
A 30 day evaluation version of the HyJavaImages library is available to ensure the library meet your requirements.
The evaluation version is suitable for:
- Proof of Concept testing
- Integration testing
- Performance testing
If you have any further questions on the library or wish to test the evaluation version, please contact our support team via the Contact Us area on the home page.