Very new and rather dim
I would like to develop a Java application that can be accessed via a browser (IE at a minimum). I am overwhelmed by a choice of downloads whose options mean nothing to me. I am an ex embedded microprocessor program from yesteryear. I have Windows XP Professional and the Java Studio Creator looks rather nice. Please could someone explain whether I need SE, EE, ME, Beans, JDKs in 50 flavours etc. Sorry to be so dim. You used to get an assembler and a linker and life was easy.
[486 byte] By [
sam1235a] at [2007-11-26 19:33:27]

> I would like to develop a Java application that can
> be accessed via a browser (IE at a minimum). I am
> overwhelmed by a choice of downloads whose options
> mean nothing to me. I am an ex embedded
> microprocessor program from yesteryear. I have
> Windows XP Professional and the Java Studio Creator
> looks rather nice. Please could someone explain
> whether I need SE, EE, ME, Beans, JDKs in 50 flavours
> etc. Sorry to be so dim. You used to get an assembler
> and a linker and life was easy.
I suggest starting with Java SE. Download the SE JDK which contains a compiler and runtime environment which will let you develop and run your own code. With that you can create Applets or Webstart Applications which can be viewed through a browser. Java EE is used to create server-side Java applications but first you should learn Java SE, for that is the basis of Java EE. Java ME is used to create applications for mobile devices.
You can download the latest SE JDK here:
http://java.sun.com/javase/downloads/index.jsp
Hello World tutorial:
http://java.sun.com/docs/books/tutorial/getStarted/index.html
Applets tutorial:
http://java.sun.com/docs/books/tutorial/deployment/applet/index.html
Web Start tutorial:
http://java.sun.com/docs/books/tutorial/deployment/webstart/index.html
> > I would like to develop a Java application that
> can
> > be accessed via a browser (IE at a minimum). I am
> > overwhelmed by a choice of downloads whose options
> > mean nothing to me. I am an ex embedded
> > microprocessor program from yesteryear. I have
> > Windows XP Professional and the Java Studio
> Creator
> > looks rather nice. Please could someone explain
> > whether I need SE, EE, ME, Beans, JDKs in 50
> flavours
> > etc. Sorry to be so dim. You used to get an
> assembler
> > and a linker and life was easy.
>
> I suggest starting with Java SE. Download the SE JDK
> which contains a compiler and runtime environment
> which will let you develop and run your own code.
> With that you can create Applets or Webstart
> Applications which can be viewed through a browser.
> Java EE is used to create server-side Java
> applications but first you should learn Java SE, for
> that is the basis of Java EE. Java ME is used to
> create applications for mobile devices.
>
> You can download the latest SE JDK here:
> http://java.sun.com/javase/downloads/index.jsp
>
> Hello World tutorial:
> http://java.sun.com/docs/books/tutorial/getStarted/ind
> ex.html
>
> Applets tutorial:
> http://java.sun.com/docs/books/tutorial/deployment/app
> let/index.html
>
> Web Start tutorial:
> http://java.sun.com/docs/books/tutorial/deployment/web
> start/index.html
Thank you very much. I seem to have installed absolutely everything now. In the spirit of running before I can walk, I would like to prove that I can create a simple hello world app or equivalent to run on a remote server over which I have full control to install whatever I need.
I appear to have three IDEs at my disposal, an Enterprise IDE, a NET Beans IDE and a Creator 2 IDE. If I want to "deisgn" the hello world app and then upload it to the server say by FTP could you point me at a suitable tutorial. The "Hello world" tutorial above seemed to be DOS command line based and the "Web start" one seemed to be to run on a standalone Java something or other not under IE. I would like to point IIS at a file like index.html (index.java?) and get it to fire up the Java window either within IE or perhaps standalone. Do I need to install something else on the server? Many thanks. Hope to be an expert by morning!
> I appear to have three IDEs at my disposal, an
> Enterprise IDE, a NET Beans IDE and a Creator 2 IDE.
> If I want to "deisgn" the hello world app and then
> upload it to the server say by FTP could you point me
> at a suitable tutorial. The "Hello world" tutorial
> above seemed to be DOS command line based and the
> "Web start" one seemed to be to run on a standalone
> Java something or other not under IE. I would like to
> point IIS at a file like index.html (index.java?) and
> get it to fire up the Java window either within IE or
> perhaps standalone. Do I need to install something
> else on the server? Many thanks. Hope to be an
> expert by morning!
What you want, then is Java Web Start. It works with IIS. You create the .JNLP file and make a link to it on your webpage. It loads the Java Application as though it were a stand-alone application.
Here is a good tutorial for Web Start:
http://java.sun.com/products/javawebstart/
The link to the "White Paper" for Web Start actually has a small tutorial in there that shows how to create and launch a Hello World application - or something along those lines.
Have fun!
>
> What you want, then is Java Web Start. It works with
> IIS. You create the .JNLP file and make a link to it
> on your webpage. It loads the Java Application as
> though it were a stand-alone application.
>
> Here is a good tutorial for Web Start:
> http://java.sun.com/products/javawebstart/
>
> The link to the "White Paper" for Web Start actually
> has a small tutorial in there that shows how to
> create and launch a Hello World application - or
> something along those lines.
>
> Have fun!
Thanks again, have now deployed on localhost. It didn't seem to need IIS if I installed the Java System Application Server - are they equivalent as far as Java applications go? The JSAS didn't seem to auto-deploy from the Enterprise version but it wasn't difficult.
On the IDEs, which is best? The Studio Enterprise doesn't seem to give me a design view and doesn't seem to have "intelligent suggestions" for things like ${ . Can I simply start in one IDE and switch to another if it's got better features?
And finally if I may, which file(s) to I need to upload to the remote server and should I install JSAS or leave it set on IIS? And can I use ftp to auto-update those that need changing?
Many thanks.
> Thanks again, have now deployed on localhost. It
> didn't seem to need IIS if I installed the Java
> System Application Server - are they equivalent as
> far as Java applications go? The JSAS didn't seem to
> auto-deploy from the Enterprise version but it wasn't
> difficult.
I use the Java Application Server on Solaris 10. It screams on that machine; a beautiful thing. I really like it. Very easy to deploy.
>
> On the IDEs, which is best? The Studio Enterprise
> doesn't seem to give me a design view and doesn't
> seem to have "intelligent suggestions" for things
> like ${ . Can I simply start in one IDE and switch to
> another if it's got better features?
The most popular that I've seen are Eclipse and NetBeans. Both are free.
>
> And finally if I may, which file(s) to I need to
> upload to the remote server and should I install JSAS
> or leave it set on IIS? And can I use ftp to
> auto-update those that need changing?
>
Depends on the type of project you have created. If you are creating a web app, then use your IDE to generate a .war file, and upload that alone.
As for FTP, that is what I am doing now. Just FTP the .war, .ear, whatever else you want to deploy and that should be all you need.
> Many thanks.
Hope I've been of help.
> > On the IDEs, which is best? The Studio Enterprise
> > doesn't seem to give me a design view and doesn't
> > seem to have "intelligent suggestions" for things
> > like ${ . Can I simply start in one IDE and switch
> to
> > another if it's got better features?
>
> The most popular that I've seen are Eclipse and
> NetBeans. Both are free.
> >
> > And finally if I may, which file(s) to I need to
> > upload to the remote server and should I install
> JSAS
> > or leave it set on IIS? And can I use ftp to
> > auto-update those that need changing?
> >
>
> Depends on the type of project you have created. If
> you are creating a web app, then use your IDE to
> generate a .war file, and upload that alone.
> As for FTP, that is what I am doing now. Just FTP
> the .war, .ear, whatever else you want to deploy and
> that should be all you need.
>
> > Many thanks.
> Hope I've been of help.
Thanks yet again. I have a couple of questions more :
1) I can't seem to find the "design" view on any of the IDEs. The video tutorial I downloaded seem to have it but I can't find the button to switch from source to design view. Also can the IDE auto-upload to a nominated FTP site?
2) The WAR file doesn't deploy as standard under IIS. IE asks whether you'd like to download it which isn't what I'm after. I think I need the index.jsp file as well and then something ... any pointers please?
i do suggest using the NetBeans 5.5 ide over the sun studio creator, it will make life easier.
if you are having trouble figuring out elements do some google searches and all of the posts on the nbusers list can be found, might help you with some of your issues.
if you still have issues trying joining the user mailing lists for netbeans.
Message was edited by:
developprograms