• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

EASY: limitations of applets

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
Emanuele_Ciriachi
Asked:
Emanuele_Ciriachi
1 Solution
 
sudhakar_koundinyaCommented:
>>Can I do without signing my applet?

It is not possible
0
 
Tommy BraasCommented:
Hi Emanuele_Ciriachi,

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

Cheers!

\tt
0
 
sammmygCommented:


 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
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!

 
Emanuele_CiriachiAuthor Commented:
sammmyg provided a detailed answer, while oranghead basically just said "yes"; thus I give the points to the last one.
0
 
Emanuele_CiriachiAuthor Commented:
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
 
sudhakar_koundinyaCommented:
That is the reason I said It is not possible ;-)
0
 
Emanuele_CiriachiAuthor Commented:
right, looks like you had the last word after all... you are not a Java Guru for nothing!
0

Featured Post

Technology Partners: 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!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now