Reading XML in Java Applet

I know:

  • I have to sign the applet so it can read files
  • How to parse XML files

My Questions would be:

  • Should I keep the XML file in the .jar or separate?
  • Are there some best practices tutorials? if so please link me

Answers


If you ship your XML with the applet, then you won't need to sign it, as you're not really reading files, but just loading additional resources.

Only you can answer where the XML should be, because we don't know what it's used for, how often it changes and if its the same for every user of your applet.


Need Your Help

Try to remove specific columns using splice in Perl

perl split

I am a brand new Perl novice, looking for help with my first ever Perl script

PHP cURL error The URL was not properly formatted

php curl

I am trying to do a simple cURL file upload from one server to another. The problem is I get Error #3 from the cUrl error codes: The URL was not properly formatted.