The provided source code can be used as a starting point to familiarize with the Lightstreamer Java ME Client API
Java
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
src
.gitattributes
.gitignore
LICENSE
README.md
j2me_small.png

README.md

Lightstreamer - Quickstart Example - Java ME Client

The Quickstart Example provides the source code to build very simple and basic client applications, used to test the capability of the Client APIs to connect and receive data from Lightstreamer Server. The examples can be used to familiarize with the Client APIs and as a reference on how to use them, and can be used as a starting point for client application implementations.

This project contains the source files of a sample application that shows how the Lightstreamer Java ME Client API can be used to connect to Lightstreamer Server.

Details

These examples, called "Tester" and "DistinctTester", are not made for running on real devices, because the output is written on the console. Moreover, nothing is displayed on the display.

By the current configuration, specified in /src/javametest/Tester.java and in /src/javametest/DistinctTester.java, the demos try to connect to a local installation of Lightstreamer Server. If needed, the host name, the port number, the Adapter Set name, and the Data Adapter name could be changed in the source code.

The demos are suitable for running with the QUOTE_ADAPTER, PORTFOLIO_ADAPTER, and CHAT_ROOM Data Adapters.

Check out the sources code for further explanations.

Build

To build and install a version of this demo, pointing to your local Lightstreamer Server instance, follow the steps below.

See Also

Lightstreamer Adapters Needed by This Demo Client

Related Projects

Lightstreamer Compatibility Notes

  • Compatible with Lightstreamer Java ME Client API v. 3.2.1 or newer.
  • For Lightstreamer Allegro (+ Java ME Client API), Presto, Vivace.