newbie question

W

WStoreyII

can java programs only be ran in an applet via the browser and the console.

or are there other methods such as forms and other stuff ?

WStoreyII
 
R

Roedy Green

can java programs only be ran in an applet via the browser and the console.

or are there other methods such as forms and other stuff ?

Yes.

They can run as stand alone applications, under Java Web Start, as
Servlets, natively compiled, burned into ROM and many other ways. Java
is one of the most flexible languages in that regard.

See http://mindprod.com/jgloss/applet.html
http://mindprod.com/jgloss/javawebstart.html
http://mindprod.com/jgloss/compiler.html
http://mindprod.com/jgloss/servlet.html
http://mindprod.com/jgloss/gettingstarted.html
 
W

WStoreyII

Thank you guys for your answers.

the reason that i ask this is that i wish to find a language that i can use
for desktop applications and web both client and serverside. so far java
does seem to be the most extensible language as it can a work in any
computer regardless of the os ( im not a fan of software that will only work
for microsoft os and browsers) plus java has javascript and java server
pages as far as client and server side programming goes. Am i wrong in this
assumption.

WStoreyII
 
A

Andrew Thompson

...java has javascript and java server
pages as far as client and server side programming goes. Am i wrong in this
assumption.

Only the statement 'java has javascript'..

Javascript can be used in HTML, ASP ..or JSP,
and is in no way 'possessed' by Java.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top