I am working on a project right now and its almost finished. The application i made accesses a database, inserts, deletes and queries...
The application at first was a stand-alone application, but now there seems to be a need for an applet(ish). basically, i want to be able to let anyone who wants to use the application, do so from their computers. All of the computers are networked to the server where the applet would be stored, as well as the database.
I have turned this into a applet, and have digitally signed it...the certificate file shows up and everything... but i cannot get it to prompt for user permissions upon accessing the applet through the web page it is embedded in.
I have been having a lot of problems getting this to work, and it made me question how i was going about doing it. I could have easily signed the applet wrong, as i have never tried to put an applett online before.
I was led to believe that a applet does not need a users permission to run if it accesses a database stored on the same server that the applet itself is stored on. Is this true? if so, would there be any other reasons i would receive a "java.util.property permission file.encoding read" from the java console while trying to access the applet through the browser?
Also, if it makes more sense, as this application would only be accessed by the members of a local network, should i just turn it into a client/server application?
Thanks guys, I'm really hoping to finish this project soon, and everyone here has always been a great help.
I haven't done any applets in a long time but applets were always restricting regarding outside resources.
Have you considered Web Start?
Joined: Jun 14, 2011
No, i havnt really considered web start. I actually just looked up what it was. It sounds really good! i assume that would solve many of my security issues? Also, is it pretty simple to convert my applet to a web start application?
Thanks for your response!
ok, so ive been giving java web start a shot and was wondering if you could give me some advice with that now?
Also, i dont want to continue this thread here, with java web start, if it isnt the appropriate place. Should i re-start this elsewhere?
So, i made my html file, and i made my .jnlp file. the html file holds a link to the .jnlp file, but when clicked, google chrome says taht it cannot find the web page... im sure that the file path is correct. I dont know what else to check.