File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Applets
Bookmark " Applet-oracle connectivity " Watch " Applet-oracle connectivity " New topic
Author

Applet-oracle connectivity

mintu kumar
Greenhorn

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
Marshal

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

Joined: Dec 20, 2006
Posts: 2516
    
  10

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 demo.zip. It contains a complete applet / thin driver example.

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

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

Joined: May 26, 2003
Posts: 31057
    
232

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


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
mintu kumar
Greenhorn

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

Joined: Dec 20, 2006
Posts: 2516
    
  10

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: http://aspose.com/file-tools
 
subject: Applet-oracle connectivity