|recommend book⇒Core Web Programming, second edition|
|by||Marty Hall and Gary Cornell||978-0-13-089793-0||paperback|
|1250 pages. Also has some simple RMI examples. This is a great doorstop of a book. It has a few chapters on client-server programming in Java, and a section of that is on CGI. I have looked at hundreds of Java books and found nothing that deals in depth with client side Java talking to CGI, except Marty’s book. It is really very simple and he does an excellent job of explaining it. Marty has posted all the source code examples from the book for anyone to use. These contain updates and errata fixes you don’t get on the CD-ROM that comes with the book.|
|Greyed out stores probably do not have the item in stock. Try looking for it with a bookfinder.|
You can do your work via general purpose HTTP-client libraries. These are probably overkill in most cases. You would spend more time learning these packages than you would learning how to accomplish the same thing more efficiently with raw sockets or Java’s built-in HTTP using java.net.URLConnection, java.net.HttpURLConnection, javax.net.ssl.HttpsURLConnection and javax.net.ssl.HttpsURLConnection, However, if you have a complex task, check them out.
The main problem with Jakarta HTTPClient is the download is about 3 MB. This is on the plump side for including in an Applet download. You want to get the jar pre-installed at the client in the ext directory or in the Java Web Start cache. The advantage is it behaves the same way on every browser, and it handles most of the client-server interactions at a higher level. You could of course just study the code for use in a stripped down version. It is not based on top of Oracle’s HttpURLConnection, so fixes a number of its problems, e.g. being able recover from a server sending you invalid cookies.
available on the web at:
optional Replicator mirror
Please email your feedback for publication, letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : . If you want your message, your name or email kept confidential, not considered for public posting, please explicitly specify that. Unless you state otherwise, I will treat your message as a letter to the editor that I may or may not publish in the feedback section. After that, it will be too late to retract it. If you disagree with something I said, especially when sending an ad-hominem attack, a rant composed mainly of obscenities or a death threat, please quote the offending passage and cite the web page where you found it, tell me why you think it is wrong, and, if possible, provide some supporting evidence. I can’t very well fix erroneous or ambiguous text if I can’t find it.
Your face IP:[126.96.36.199]
|Feedback||You are visitor number 24,827.|