Solved

EASY: limitations of applets

Posted on 2004-10-15
7
212 Views
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?
0
Comment
Question by:Emanuele_Ciriachi
7 Comments
 
LVL 14

Expert Comment

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

It is not possible
0
 
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.

Cheers!

\tt
0
 
LVL 1

Accepted Solution

by:
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
0
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 1

Author Comment

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

Author Comment

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

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

Expert Comment

by:sudhakar_koundinya
ID: 12328885
That is the reason I said It is not possible ;-)
0
 
LVL 1

Author Comment

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

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
difference of if loops 23 62
expectj telnet failing 5 45
printf performancy 11 73
java mysql insert application 14 29
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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.

820 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