The SIOFacility sample demonstrates inter-application communication using shared interface objects (SIOs). One servlet updates a shared object while the other can read updated values.This sample contains two web applications that demonstrate inter-application communication using SIOs.
Running the SIOFacility sample consists of using the using the IDE to open the SIOservice and the SIOclient projects, starting both the SIOservice and SIOclient applications, entering values in the SIO Service web page, clicking the Set Value button on the page, and then using a hyperlink on the SIO page to display a list of received events.
Before performing the following procedure, the Java Card 3 Development Kit, Connected Editon must be downloaded and installed on your development system.
The SIOservice and the SIOclient projects are located under the JC_CONNECTED_HOME\samples\web\SIOFacility folder.
Note - Refer to the Java Card 3 Platform Development Kit User’s Guide for additional details including screen captures.
The IDE compiles, builds, and runs the SIOservice application. When the application runs, the IDE launches the default browser and displays the SIO Service page.
The IDE compiles, builds, and runs the SIOservice application. When the application runs, the IDE launches the default browser and displays the SIO Client page.
The value displayed on the page is the same as that set in the SIO Service page.