Solved

EASY: limitations of applets

Posted on 2004-10-15
7
209 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
bunnyEars2 challenge 6 71
triangle challenge 4 79
backtracking recursion  code 19 41
HSSFWorkbook cannot be resolved error 10 23
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
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…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

744 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now