Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

communication between servlet and untrusted applet

Posted on 2002-03-09
2
Medium Priority
?
170 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 100 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

609 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