Ina Gardner gave me this adress where I could ask my questions. Well,
books that explain the Security Manager restrictions or so...
In 'Developing Professional Java Applets', page 124 they gives this:
File myDirectory=new File("...\\...");
There's no URL specified in any operation related to such classes in
this chapter. In a chapter about socket, one could find things like:
Before I start to code extensivelly and buid a website, I want to be
sure if I have correctly some basical concepts:
a)If I'm dealing with a provider (let's say my one ,VIR communications)
than there's no way to use classical databases in an application. If my computer is shut down, a remote PC can
access this site as long
as a VIR server is available, but it is no longer my PC
business once the applets are upload to this space reserved on VIR server, right? So a database on my Hard Drive is useless for my application
normally except if I have enough space on a URL adress to upload it in advance with FTP, right? There's a couple of examples with images in my book, but I'm not sure if the princip can be really the same for databases like
Oracle or so. I suppose that they have always an image
of what you upload on their disk, no?
b) I've not yet my website but it'll come soon.I think the usual pattern is this one: the provider has a HTML wich
is calling an applet that run permanently ( the server).
When someone access my URL and HTML scrip MY applet is transfered to client's machine before to be interpreted.
But since it is executed on client's machine, no data
can be write on my URL, they can just be read, right?
I've an example of a server applet in my book, but I
don't know how this one could run on a permanent base on the server side (if I want to perform database operations or so). How could I do if I want my own server applet to run constently and respond rather than my provider's applet???
Thanks in advance