Running SIOFacility Sample Web Application

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 You Begin

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.


  1. Click File > Open Project in the main window.
  2. Go to the JC_CONNECTED_HOME\samples\web\RestartableTasks folder and open the SIOservice and the SIOclient projects.
  3. Select the SIOservice project and click the run button in the main window.

    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.

  4. Enter a value in the New Value field and click the Set Value button.
  5. Select the SIOclient project and click the run button in the main window.

    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.

  6. Click the link in the servlet page to display the SIO value.

    The value displayed on the page is the same as that set in the SIO Service page.

  7. Close the browser to stop the application.