EASY: limitations of applets

Posted on 2004-10-15
Last Modified: 2010-03-31
I've read that applets have several restrictions in the way they can interact with other entities.

The applet I want to create must be able to exchange data through a socket with an underlying C++ application (on the SAME SERVER), elaborate it and present under a graphical vest to the user.

Can I do without signing my applet?

If I can't, what language should I consider for an interface such as the one I described?
Question by:Emanuele_Ciriachi
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
LVL 14

Expert Comment

ID: 12321512
>>Can I do without signing my applet?

It is not possible
LVL 14

Expert Comment

by:Tommy Braas
ID: 12321649
Hi Emanuele_Ciriachi,

You are in luck. You can do what you're describing without signing your applet.



Accepted Solution

sammmyg earned 32 total points
ID: 12322299

 you can only do this with unsigned applet if and only if applet is stored on local disk AND communication attempts are made with the same local machine.  (the one your applet is both stored and running on)

your problem though is going to be when the applet is viewed by a client the connection attempt will throw a SecurityException
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.


Author Comment

ID: 12323639
sammmyg provided a detailed answer, while oranghead basically just said "yes"; thus I give the points to the last one.

Author Comment

ID: 12328865
Looks like you were wrong, every time I try to load the applet I get the following access denied.

Even if the communication process takes place on the same machine I get this error...
LVL 14

Expert Comment

ID: 12328885
That is the reason I said It is not possible ;-)

Author Comment

ID: 12330423
right, looks like you had the last word after all... you are not a Java Guru for nothing!

Featured Post

Industry Leaders: 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

Suggested Solutions

Title # Comments Views Activity
ejb example issues 3 92
ejb on wildfly 5 65
Java import explained 4 50
Firefox and firebub 5 29
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

710 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