S
steve_marjoribanks
Forgive me if this sounds a little stupid and ignorant but I am new to
both Java and programming generally and thought people on here might be
able to give me some good advice!
I am currently learning Java with a view to writing a small application
(the purpose of the application is irrelevant). In addition to this
main program I had a need to create some sort of basic application
which would essentially take the contents of an XML file and display it
graphically in a predetermined way. I had originally thought of using
an applet within a webpage for this because of the basic nature of the
program, however, after more thought I realised that this was not
possible due to the security restrictions on applets which would mean
that it would be impossible for a user to load an XML file from their
hard drive into the applet for it to process and display.
My main question is that what is the most suitable way of creating this
'mini' application so that it will:
a) run from a webpage
b) be able to load a file from a users hard drive
c) easily handle XML files
I'm guessing I might have to use another language? I have considered
using Java Web Start instead of an applet but this would essentially be
the same as providing an application on a webpage which then has to be
downloaded before it can be used, or would this be the most sensible
thing to do (and just put up with the download time required to cache
the application)?
Many thanks
Stephen
both Java and programming generally and thought people on here might be
able to give me some good advice!
I am currently learning Java with a view to writing a small application
(the purpose of the application is irrelevant). In addition to this
main program I had a need to create some sort of basic application
which would essentially take the contents of an XML file and display it
graphically in a predetermined way. I had originally thought of using
an applet within a webpage for this because of the basic nature of the
program, however, after more thought I realised that this was not
possible due to the security restrictions on applets which would mean
that it would be impossible for a user to load an XML file from their
hard drive into the applet for it to process and display.
My main question is that what is the most suitable way of creating this
'mini' application so that it will:
a) run from a webpage
b) be able to load a file from a users hard drive
c) easily handle XML files
I'm guessing I might have to use another language? I have considered
using Java Web Start instead of an applet but this would essentially be
the same as providing an application on a webpage which then has to be
downloaded before it can be used, or would this be the most sensible
thing to do (and just put up with the download time required to cache
the application)?
Many thanks
Stephen