[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Referencing an external database from an Applet

Posted on 2005-05-09
6
Medium Priority
?
171 Views
Last Modified: 2012-05-05

I have developed a web-served applet that interfaces with a SQL database.  In the project definition phase, I made my customer aware of the limitations that applets have with regards to communication; specifically that their database and web server would need to be hosted on the same machine.  They agreed to that at the time... but now claim that their infrastructure won't allow the hosting of web servers and databases on the same machines.  Hence the applet won't function as-is.  Since the customer is always right... <sigh> ... I need to come up with a solution

I've read several of the threads related to the "signing" of applets, but am a bit confused.  How does one go about getting a digital certificate for an applet?  Once this certificate is obtained, how is it implemented?  Is there any installation / configuration required on the machines of the users who will be running the applet?  Are there any viable alternatives that won't require extensive re-writing of the applet?
0
Comment
Question by:Mckenzma
  • 3
  • 2
6 Comments
 
LVL 15

Accepted Solution

by:
aozarov earned 2000 total points
ID: 13961262
0
 
LVL 15

Expert Comment

by:aozarov
ID: 13961269
0
 
LVL 15

Expert Comment

by:aozarov
ID: 13961285
> How does one go about getting a digital certificate for an applet?
You can self certify (and then ask your client to accept that certificate in his browser) or use a company like VeriSign to sign your public key.

> Is there any installation / configuration required on the machines of the users who will be running the applet?
If you you got the certificate from known party (like VeriSign) then the browser will accept it with by default.
If you are using unknown certificate (like self signed one) then the browser will ask the user whether to accept it or not (only once).
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 14

Expert Comment

by:StillUnAware
ID: 13961318
some more links, but the idea is the same - to leave java's sandbox, You must sign Your applet.

http://java.sun.com/products/plugin/1.2/docs/nsobjsigning.html
http://java.sun.com/security/signExample/
0
 
LVL 14

Expert Comment

by:StillUnAware
ID: 13961377
Quick and clear, the main link You should start from:

http://java.sun.com/docs/books/tutorial/security1.2/overview/index.html
0
 
LVL 92

Expert Comment

by:objects
ID: 13964018
>  Is there any installation / configuration required on the machines of the users who will be running the applet?

When the applet is loaded they will be prompted to accept the certificate and give full privileges to the applet.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Question has a verified solution.

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

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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 arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Suggested Courses
Course of the Month18 days, 13 hours left to enroll

834 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