jQuery in Action, 2nd edition
The moose likes Applets and the fly likes RecordStore equivalent for Applet? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Applets
Reply Bookmark "RecordStore equivalent for Applet?" Watch "RecordStore equivalent for Applet?" New topic
Author

RecordStore equivalent for Applet?

James Hodgkiss
Ranch Hand

Joined: Jan 22, 2004
Posts: 401
Can anyone suggest how I might best mimic a midlets recordstore in a jdk1.1.8 applet?

Basically, just need the persistent storage of a few Strings.

Applet will be unsigned.

Cheers,
James
James Hodgkiss
Ranch Hand

Joined: Jan 22, 2004
Posts: 401
To put he question another way: Does anyone know how I can achieve persistent storage in an applet (jdk1.1.8)?

Thanks,
James
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35220
    
    7
Either directly into a DB sitting on the same host where the applet is served from, or through a servlet on that host into a DB sitting anywhere.


Android appsImageJ pluginsJava web charts
James Hodgkiss
Ranch Hand

Joined: Jan 22, 2004
Posts: 401
Thanks Ulf,

I'll do it via a servlet. Do you know if the servlet url can be specified as an absolute url or must it be relative?

Thanks,
James
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35220
    
    7
Since the context you're coming from is an applet on a different machine, you need to use absolute URLs.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel
 
subject: RecordStore equivalent for Applet?
 
Similar Threads
RMS Size allocated for the midlet
how to add elements to a list by the user
Serielizible?
Clock
how to use RMS in mobile application