Solved

EASY: limitations of applets

Posted on 2004-10-15
7
215 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
[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
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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

635 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