Re: Java on Web

From: Herman Timmermans (timmermansdot.hermanat_at_skynet.be)
Date: 12/21/03


Date: Sun, 21 Dec 2003 07:33:45 +0100

DaWaN wrote:

> I've done a lot of java programming but never done any for the web.
> For most of what I've done was with Swing.
>
> So how difficult/different is it to still do some Java apps for the web
> from Swing?
>
Depends, but I would suggest that you learn first about the meaning of
URL's, the http protocol, and make sure that you understand the meaning of
request headers and response headers, make sure you understand the GET and
POST methods.
Then start looking at the URL classes, URLConnection, URLEncoder and
URLDecoder, HttpURLConnection, URLStreamHandler and URLStreamHandlerFactory
classes.
A very good book I can recommend is Java Network Programming (O'Reilly) from
Elliotte Rusty Harold.

If you go for Swing-less web application, go for Servlets, JSP and a MVC
framework like Struts.

Hope this gets you started,
Brgds Herman

-- 
Suse Linux Professional 8.1 on Athlon 1.1 Ghz 512 Mb
Anti Spam = remove the "dot" and the "at"
Registered Linux User #264690


Relevant Pages

  • Re: New to Java couple ?s
    ... > such as SWT, SWING, etc.. ... much time on those basic ones, as you are a programmer); ... run java apps from the command line - learn the IDE (NB ro Eclipse or ..) ...
    (comp.lang.java.programmer)
  • Re: Printing to passbook printer from Java Web based app ?
    ... The majority of the apps should be JSP/JSF. ... If use Java Apps (Swing) ONLY for the printing part, ...
    (comp.lang.java.programmer)