Hi all;

I want your help about a problem related to the security in applets.

I have created a scene in Java3D. The information about this scene is
stored in a database. The code I have written querries the database,
gets the information and creates my scene. When I run my code as a
standalone application, there is no problem.

Now I want to convert my class files to an applett. However, because
Java doesn't allow me to load native library code (which belongs to the
database) I cannot load my applet to the web page. I think Java Security
Manager stops the operation. Please find attached two pictures which
summarizes the error messages I have got.

According to my scenario:
1) The database will be installed on a web server,
2) Users will submit files to the database from web pages,
3) The server will process the data and sent back the results (which are
Java3D scenes) to the users by web pages (via java applets). The users
will also be able to interact with the applet e.g. by stopping, playing
the animation that
has been created.

What is the best way to solve this problem. Somebody advised me using
RMI, CORBA or SOAP; however, I am not sure if they are the right
solutions. Why I cannot solve this problem without implementing such
interfaces?

Thanks in advance.

Murat

<<inline: error1.jpg>>

<<inline: error2.jpg>>

Reply via email to