Communication between applet and servlet in different containers.
Hi,
I have an application (Applet) running on a OC4J instance. And also I have an application (Servlet, JSP) running another OC4J instance. These applications running on different browsers. I need communicate them.
Which method may I use? may be socket or something else?
[292 byte] By [
uniqueoua] at [2007-11-27 11:18:23]

# 1
One way would be that you run a small mediator code on the applet's codebase, with which the Web application in question would do required communications. It should be needless to say that the applet could access the mediator code using a client socket.
hiwaa at 2007-7-29 14:30:36 >

# 3
> This doesn't sound right.
Give explanatioin, guru.
A servlet running in a browser is a mere HTML with a FORM, in its view.
Of course the servlet is running on the server, though.
hiwaa at 2007-7-29 14:30:36 >

# 4
Exactly. So the only thing stopping the applet from talking to the servlet is possibly applet permisions or signing, if they come from different hosts. Otherwise the applet can just call the servlet directly via a URL. No 'mediator code' required.
BTW I was asking for an explanation ...
ejpa at 2007-7-29 14:30:36 >
