This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 41089
    
  44
Is the applet signed, or the local security policy altered to allow this to happen?


Ping & DNS - my free Android networking tools app
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2491
    
    8

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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30085
    
149

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: 2491
    
    8

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
 
wood burning stoves
 
subject: Applet-oracle connectivity
 
Similar Threads
java applet-oracle database connection
database connectivity
java.sql.SQLException: Io exception: The Network Adapter could not establish the conn
database connection from applets
noclassfound error