is there any specific method in java.net API for asynchronous communication
between the App Server and the xlet.
Is asynchronous communication possible between the xlet and the App server?
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.
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 .
I have to write a thread program and implement javax.net.socketFactory 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.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.