Solved

communication between servlet and untrusted applet

Posted on 2002-03-09
2
166 Views
Last Modified: 2013-11-24
Hi Guys,

   How servlet communicates with an untrusted applet??

thanks.
stephen
0
Comment
Question by:zollen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 7

Accepted Solution

by:
Igor Bazarny earned 50 total points
ID: 6854468
Hi,

Same way as untrusted applet communicates with server it was loaded from. Servlets are typically visible as http resources to outside world, so there is not much difference between servlet and static html page in the security sence. Applet can form a request and send it to the servlet, then process servlet's responce. If servlet client is known to be applet, you can use serialization as communication protocol.

If you want servlet to be active, security permissions don't allow untrusted applet to create server socket, but applet could poll servlet state and handle requests when needed.

Regards,
Igor Bazarny,
Brainbench MVP for Java 1
www.brainbench.com


 
0
 
LVL 7

Expert Comment

by:Igor Bazarny
ID: 6859996
Any comment about 'C' grade? Any other question left?
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn different types of Android Layout and some basics of an Android App.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question