Skip to main content

Asynchronous communication between xlet and App Server

Please note these forums are being decommissioned and use the new and improved forums at
3 replies [Last post]
Joined: 2011-08-02

is there any specific method in API for asynchronous communication
between the App Server and the xlet.

Is asynchronous communication possible between the xlet and the App server?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2008-07-03

Asynchronous communication is not built into the Java 1.4.x APIs. However, you can produce your own async behavior by creating a separate thread to perform request/response messaging. This thread can take one or more callback objects that can be notified of various responses/timeouts.


Joined: 2011-08-02

is there any sample chat application using ocap available online?

Please share the link if anyone has come across it, and also share
any relevant information .

Joined: 2011-08-02


I have to write a thread program and implement to
establish TCP/IP communication between the OCAP App and the servlet.

This Thread should listen to the connection from the servlet and generate an
event and send to the OCAP App.

Can Anyone help me with a sample code for the above problem statement.

is this the right way of Establishing the connection for asynchronous communication w
between the OCAP App and the Servlet.