applets in IE and database connection
4 posts in topic
Flat View  Flat View

Posted By:   nikhil_ahuja
Posted On:   Friday, September 6, 2002 08:20 AM

Do I have to get the applet signed by the CA .

Here is my scenario:

I am working in the intranet environment.For my applet on Appserver (class and html) when i call the applet from the tag in the html the class file tries to do a connection to the Database running on a different machine(Access denied Exception).

Now if i sign the applet myself will the applet be valid in the Intranet.I really is unable to get it clearly.Or do i need to get the applet signed by a CA.
kindly help.

Re: applets in IE and database connection

Posted By:   Anonymous  
Posted On:   Wednesday, September 18, 2002 05:57 PM

Another suggestion is to use www.nexaweb.com. It should solve your problem very well. They have a nice solution that is grown-up equivalent of SwingMF (swingMF is probably the embroic version of Nexaweb).

Re: applets in IE and database connection

Posted By:   Prashanth_Sukumaran  
Posted On:   Sunday, September 15, 2002 03:13 AM

Hi Nikhil,

Firstly, I am sure your company has a policy that says, dont but the passwords and db userid in a place where it is accesible to everybody.

You know and everybody knows that applets run on the client and hence they are downloaded to the client side(for eg., Browser). Any body can decompile the class and get hold of the username and password. You don't want this to happen.

Solution to your problem.

Use applet to servlet communication. This is a very easy and a very secure way to do it. The only requirement is the that Servlet and the Applet should reside on the same server. This Servlet can now make calls to any database or anything lying anywhere. So you don't need to sign the applet.

Take a look at this url this should really help you in the Applet - Servlet communication.

Hope this helps,

Prashanth Sukumaran.

Re: applets in IE and database connection

Posted By:   Gopal_Krishnan  
Posted On:   Monday, September 9, 2002 04:04 AM

Signing the jar file should solve your problem ...

Look for documentation from suns site for signing the jar file

Its pretty simple .. only three steps ..
You need to create a store , sign the jar file using jar signer

and deploy
That should solve your problem ..

Anohter way out would be to change the policy file in the client side ,
that would be very cumbersome as each client will have to change his policy file
whereas here he just has to grant the previlages for the applet

Re: applets in IE and database connection

Posted By:   Ezequiel_Cuellar  
Posted On:   Friday, September 6, 2002 01:51 PM


I'll suggest you to take a look at the SwingML project.

It may be VERY helpfull alternative to solve your problems
About | Sitemap | Contact