File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Applets and the fly likes  Applet-oracle connectivity Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Applets
Bookmark " Applet-oracle connectivity " Watch " Applet-oracle connectivity " New topic

Applet-oracle connectivity

mintu kumar

Joined: Apr 28, 2007
Posts: 10
Hi all,
I m able to connect my applet with Excess database, but unable to connect it with oracle database.
I am getting follwing error:

access denied (java.util.PropertyPermission oracle.jserver.version read)

can anyone solve my problem.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
Is the applet signed, or the local security policy altered to allow this to happen?
Jan Cumps

Joined: Dec 20, 2006
Posts: 2562

Oracle's instructions describe how to connect via an applet.

If your database is on the same server as the webserver that served the applet,
and you use that same servername/ip address in the connect string, signing the applet is not strictly required.
In other cases, it is.

If you follow the instructions in the document, it works.

Additional info:

On the Oracle TechNet site, in the jdbc driver download section, you can find a download called It contains a complete applet / thin driver example.

Regards, Jan
[ May 09, 2007: Message edited by: Jan Cumps ]

OCUP UML fundamental and ITIL foundation
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32818

We have a special forum for applet related questions. I'll move this there for you.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
mintu kumar

Joined: Apr 28, 2007
Posts: 10
has no one got knowledge of this thing.
can't you people solve my problrm.
Jan Cumps

Joined: Dec 20, 2006
Posts: 2562

Hi, Mintu.

We pointed you to Oracle's instructions, and to the example applet they provide on Technet (see above).
Did you try it?
Did it work?
If it didn't work, where did it fail?

Regards, Jan
I agree. Here's the link:
subject: Applet-oracle connectivity
jQuery in Action, 3rd edition