Buy New

or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Buy Used
Used - Good See details
$4.33 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
More Buying Choices
Have one to sell? Sell yours here
Core Web Programming (2nd Edition)
 
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Core Web Programming (2nd Edition) [Paperback]

Marty Hall (Author), Larry Brown (Author)
4.3 out of 5 stars  See all reviews (72 customer reviews)

List Price: $59.99
Price: $34.76 & this item ships for FREE with Super Saver Shipping. Details
You Save: $25.23 (42%)
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Only 5 left in stock--order soon (more on the way).
Want it delivered Wednesday, February 1? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for Students. Learn more

Formats

Amazon Price New from Used from
School & Library Binding --  
Paperback $34.76  

Book Description

0130897930 978-0130897930 June 3, 2001 2
Every Web developer needs to understand three core technologies: HTML 4, Java 2/J2EE, and JavaScript. Now, you can learn them all in one book: Core Web Programming, Second Edition, the ultimate Web development resource for experienced programmers! Writing for experienced programmers, Marty Hall begins with detailed, practical coverage of HTML 4 -- from the fundamentals to Cascading Style Sheets, Dynamic HTML, and beyond. Next, Hall shows programmers how to use Java as the base language for Web programming, and integrate other key technologies as needed. Along the way, Hall presents Web-focused coverage of Swing, Java threads, I/O, network programming on both clients and servers, HTTP, servlets, JavaServer Pages, and the latest version of JavaScript -- everything you need to know to build the most effective Web applications possible.

Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

Customers buy this book with Core Servlets and Javaserver Pages: Core Technologies, Vol. 1 (2nd Edition) $39.94

Core Web Programming (2nd Edition) + Core Servlets and Javaserver Pages: Core Technologies, Vol. 1 (2nd Edition)


Editorial Reviews

Amazon.com Review

Becoming a Web developer these days requires expertise in a variety of disparate languages and tools and usually requires a whole shelf of books. Core Web Programming delivers all you need to become a competent Web developer in one massive text. It covers HTML, Java, Common Gateway Interface (CGI), and JavaScript thoroughly with plenty of real-world programming examples.

The first part of the book covers HTML 3.2, including the basic tags and more advanced topics such as frames and cascading style sheets. This section discusses Netscape and Microsoft extensions to HTML (such as using plug-ins for playing multimedia content and ActiveX controls). The tutorial to HTML is comparable to those in other books of this category and includes some of the author's tips for creating more portable HTML.

The next section covers the basics of Java from a programmer's standpoint, including the advantages of Java and how to access Java documentation and tools. The tutorial that follows stresses the built-in libraries in core Java, covering drawing images and other graphics capabilities. Event handling in Java Developer's Kit (JDK) 1.02 (probably unnecessary these days) and JDK 1.1 receive full treatment. The chapter on graphics double-buffering for smooth animation within Java programs is particularly useful, and the author's treatment of how to access the network capabilities of Java is perhaps unmatched. (Topics here include how to load URLs using Java's network classes and even how to create a simple HTTP server in Java.)

The third section of this text moves to CGI programming using Java on the server. The author introduces the basics of HTTP and describes how data are passed to CGI programs from the client. Though this section lacks a discussion of Perl (which is still the preferred language for CGI development), the treatment of CGI fundamentals and the basics of Java servlets is good. (Java servlets are an alternative--with some advantages--to Perl.)

The fourth and final section of the book returns to the client side once more, with a tutorial on JavaScript, the scripting language for Netscape browsers. Topics such as how to use cookies to store information on local machines and how to validate arguments for CGI forms help round out a successful tour of the technologies that developers need to program on the Web. --This text refers to an alternate Paperback edition.

From the Inside Flap

Introduction

In late 1995, Marty Hall proposed a new course for the part-time graduate program in Computer Science at the Johns Hopkins University. The idea was to bring together the major Web-related topics in a single course dubbed "Distributed Development on the World Wide Web," with Java technology as a unifying theme. Students would look at HTML, Java, HTTP, CGI programming, and JavaScript, with lots of hands-on projects and no exams. Little did Marty know what he was getting himself into. By the time the first section was offered in the summer of 1996, the Java tidal wave had swept through the university and the companies that the students represented. Shortly after enrollment opened, the class was filled. There were more students on the waiting list than in the course. Marty got frantic phone calls from students insisting that they absolutely had to be in the course. Several local companies called, asking for on-site courses. What fun!

However, when Marty went shopping for texts over the next semester or two, he got a rude surprise. Despite the availability of good books in most of the individual areas he wanted to cover, Marty found that he needed three, four, or even five separate books to get good coverage of the overall material. Similarly, for his day job, Marty was constantly switching back and forth among the best of the huge stack of books he had accumulated and various on-line references. Surely there was a better way. Shouldn't it be possible to fit 85 percent of what professional programmers use in about 35 percent of the space, and get it all in one book?

That was the genesis of the first edition of Core Web Programming. The book was very popular, but the industry has been rapidly moving since the book's release. Browsers moved from HTML 3.2 to 4.0. The Java 2 platform was released, providing greatly improved performance and graphics libraries suitable for commercial-quality applications. JSP 1.0 came along, resulting in an explosion of interest in both servlets and JSP as an alternative to CGI and to proprietary solutions like ASP and ColdFusion. XML burst upon the scene. The server equalled or even surpassed the desktop as the biggest application area for the Java programming language.

Wow. And demand has only been growing since then. Although readers were clamoring for a new edition of the book, it was just too much for Marty to handle alone. Enter Larry Brown, with broad development and teaching experience in Java and Web technologies, and with particular expertise in the Java Foundation Classes, multithreaded programming, RMI, and XML processing with Java. Larry teamed up with Marty to totally update the existing material to HTML 4, CSS/1, HTTP 1.1, and the Java 2 platform; to replace the CGI sections with chapters on servlets 2.2 and JSP 1.1; and to add completely new sections on Swing, Java 2D, and XML processing with JAXP, DOM Level 2, SAX 2.0, and XSLT. They even got a little bit of sleep along the way.

We—Marty and Larry—hope you find the result enjoyable and useful!Real Code for Real Programmers

This book is aimed at serious software developers. If you are looking for a book that shows you how to use a browser, lists the current hottest Web sites, and pontificates about how Web-enabled applications will revolutionize your business, you've come to the wrong place. If you're already a programmer of some sort and want to get started with HTML, XML, Java applets, desktop applications in Java, servlets, JavaServer Pages, and JavaScript as quickly as possible, this is the book for you. We illustrate the most important approaches and warn you of the most common pitfalls. To do so, we include plenty of working code: over 250 complete Java classes, for instance. We try to give detailed examples of the most important and frequently used features, summarize the lesser-used ones, and refer you to the API (available on-line) for a few of the rarely used ones.

A word of caution, however. Nobody becomes a great developer just by reading. You have to write some real code too. The more, the better. In each chapter, we suggest that you start by making a simple program or a small variation of one of the examples given, then strike off on your own with a more significant project. Skim the sections you don't plan on using right away, then come back when you are ready to try them out.

If you do this, you should quickly develop the confidence to handle the real-world problems that brought you here in the first place. You should be able to balance the demand for the latest features in Web pages with the need for multiplatform support. You should be comfortable with frames, style sheets, and layered HTML. You should be able to make portable stand-alone graphical applications. You should have no qualms about developing Web interfaces to your corporate database through JDBC. You should be able to connect these applications to remote systems over the network. You should understand how to easily distribute computation among multiple threads, or even spin it off to separate systems by using RMI. You should be able to decide where servlets apply well, where JSP is better, and where a combination is best. You should understand HTTP 1.1 well enough to use its capabilities to enhance the effectiveness of your pages. You should be able to spin off complex server-side behaviors into JavaBeans components or custom JSP tag libraries. You should be able to use JavaScript to validate HTML forms or to animate Web pages. You should get a raise. A big one, preferably.How This Book Is Organized

This book is divided into four parts: HTML, Java programming, server-side programming, and JavaScript. Part 1: The HyperText Markup Language

Web pages are created with HTML, the HyperText Markup Language. HTML lets you mix regular text with special tags that describe the content, layout, or appearance of the text. These tags are then used by Web browsers like Netscape Navigator or Microsoft Internet Explorer to format the page. This first part of the book covers the following topics in HTML.

HTML 4.01. Full coverage of all the elements in the latest official HTML standard. Hypertext links, fonts, images, tables, client-side image maps, and more.

Major Netscape and Internet Explorer extensions. Forwarding pages, using custom colors and font faces, embedding audio, video, and ActiveX components.

Frames. Dividing the screen into rectangular regions, each associated with a separate HTML document. Borderless frames. Floating frames. Targeting frame cells from hypertext links.

Cascading style sheets. Level-one style sheets for customizing fonts, colors, images, text formatting, indentation, lists, and more. Part 2: Java Programming

Java is a powerful general-purpose programming language that can be used to create stand-alone programs as well as ones that are embedded in Web pages. The following Java topics are covered.

Unique features of Java. What's different about Java? The truth about Java myths and hype.

Object-oriented programming in Java. Variables, methods, constructors, overloading, and interfaces. Modifiers in class declarations. Packages, the CLASSPATH, and JAR files.

Java syntax. Primitive types, operators, strings, vectors, arrays, input/output and the Math class.

Graphics. Applets. Applications. Drawing, color, font, and clipping area operations. Loading and drawing images. Java Plug-In.

Java 2D. Creating professional, high-quality 2D graphics. Creating custom shapes, tiling images, using local fonts, creating transparent shapes, and transforming coordinates.

Mouse and keyboard events. Processing events. Event types, event listeners, and low-level event handlers. Inner classes. Anonymous classes.

Layout managers. FlowLayout, BorderLayout, GridLayout, CardLayout, GridBagLayout, and BoxLayout. Positioning components by hand. Strategies for using layout managers effectively.

AWT components. Canvas, Panel, Applet, ScrollPane, Frame, Dialog, FileDialog, and Window.Component and Container. Buttons, check boxes, radio buttons, combo boxes, list boxes, textfields, text areas, labels, scrollbars, and pop-up menus. Saving and loading windows with object serialization.

Basic Swing components. Building Swing applets and applications. Changing the GUI look and feel. Adding custom borders to components. Using HTML in labels and buttons. Sending dialog alerts for user input. Adding child frames to applications. Building custom toolbars. Implementing a Web browser in Swing.

Advanced Swing. JList, JTree, and JTable. Using custom data models and renderers. Printing Swing components. Updating Swing components in a thread-safe manner.

Multithreaded programming. Threads in separate or existing objects. Synchronizing access to shared resources. Grouping threads. Multithreaded graphics and double buffering. Animating images. Controlling timers.

Network programming. Clients and servers using sockets. The URL class. Implementing a generic network server. Creating a simple HTTP server. Invoking distributed objects with RMI.Part 3: Server-Side Programming

Programs that run on a Web server can generate dynamic content based on client data. Servlets are Java technology's answer to CGI programming and JSP is Java's answer to Active Server Pages or ColdFusion. The following server-side topics are discussed.

HTML forms. Sending data from forms. Text controls. Push buttons. Check boxes and radio buttons. Combo boxes and list boxes. File upload controls. Server-side image maps. Hidden fields. Tab ordering.

Java servlets. The advantages of servlets over competing technologies. Servlet life cycle. Servlet initialization parameters. Accessing form data. Using HTTP 1.1 request headers, response headers, and status codes. Using cookies in servlets. Session tracking.

JavaServer Pages (JSP). The benefits of JSP. JSP expressions, scriptlets, and declarations. Using JavaBeans components with JSP. Creating custom JSP tag libraries. Combining servlets and JSP.

Using applets as servlet front ends. Sending GET and POST data. HTTP tunneling. Using object serialization to exchange high-level data structures between applets and servlets. Bypassing the HTTP server altogether.

Java Database Connectivity (JDBC). The seven basic steps in connecting to databases. Some utilities that simplify JDBC usage. Formatting a database result as plain text or HTML. An interactive graphical query viewer. Precompiled queries.

XML processing with Java. Representing an entire XML document by using the Document Object Model (DOM) Level 2. Responding to individual XML parsing events with the Simple API for XML Parsing (SAX) 2.0. Transforming XML with XSLT. Hiding vendor-specific details with the Java API for XML Processing (JAXP).Part 4: JavaScript

JavaScript is a scripting language that can be embedded in Web pages and interpreted as the pages are loaded. The final part covers the following JavaScript topics.

JavaScript syntax. Fields, methods, functions, strings, objects, arrays, and regular expressions.

Customizing Web pages. Adapting to different browsers, JavaScript releases, and screen sizes.

Making pages dynamic. Animating images. Manipulating layers. Responding to user events.

Validating HTML forms. Checking form entries as they are changed. Checking data when form is submitted.

Handling cookies. Reading and setting values. The Cookie object.

Controlling frames. Sending results to specific frames. Preventing documents from being framed. Updating multiple frame cells. Giving frame cells the focus automatically.

Integrating Java and JavaScript. LiveConnect and the JSObject class.

JavaScript quick reference. Major classes in JavaScript 1.2. All fields, methods, and event handlers. Document, Window, Form, Element, String, Math, RegExp, and so forth.About the Web Site

The book has a companion Web site atcorewebprogramming/

This free site includes:

Documented source code for all examples shown in the book; this code can be downloaded for unrestricted use.

On-line versions of all HTML pages, Java applets, and JavaScript examples.

Links to all URLs mentioned in the text of the book.

Information on book discounts.

Reports on Java short courses.

Book additions, updates, and news.

A free Ronco combination paring knife and e-commerce tool. OK, maybe not.About the Authors

Marty Hall is a Senior Computer Scientist in the Research and Technology Development Center at the Johns Hopkins University Applied Physics Lab, where he specializes in the application of Java and Web technology to customer problems. He also teaches Java and Web programming in the Johns Hopkins part-time graduate program in Computer Science, where he directs the Distributed Computing and Web Technology concentration areas. When he gets a chance, he also teaches industry short courses on servlets, JavaServer Pages, and other Java technology areas. He is the author of Core Servlets and JavaServer Pages and the first edition of Core Web Programming. Marty can be reached at the following address:Research and Technology Development Center
The Johns Hopkins University Applied Physics Laboratory
11100 Johns Hopkins Road
Laurel, MD 20723
hall@corewebprogramming

Larry Brown is a Senior Network Engineer at the Naval Surface Warfare Center, Carderock Division, where he specializes in developing and deploying network and Web solutions in an enterprise environment. He is also a Computer Science faculty member at the Johns Hopkins University, where he teaches server-side programming, distributed Web programming, and Java user interface development for the part-time graduate program in Computer Science. Larry can be reached at the following address:Naval Surface Warfare Center, Carderock Division
9500 MacArthur Boulevard
West Bethesda, MD 20817
brown@corewebprogramming


Product Details

  • Paperback: 1398 pages
  • Publisher: Prentice Hall; 2 edition (June 3, 2001)
  • Language: English
  • ISBN-10: 0130897930
  • ISBN-13: 978-0130897930
  • Product Dimensions: 9.1 x 7.1 x 2.8 inches
  • Shipping Weight: 4.4 pounds (View shipping rates and policies)
  • Average Customer Review: 4.3 out of 5 stars  See all reviews (72 customer reviews)
  • Amazon Best Sellers Rank: #493,971 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

72 Reviews
5 star:
 (49)
4 star:
 (11)
3 star:
 (4)
2 star:
 (4)
1 star:
 (4)
 
 
 
 
 
Average Customer Review
4.3 out of 5 stars (72 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

15 of 16 people found the following review helpful:
4.0 out of 5 stars Almost perfect, more JavaScript needed..., September 13, 2001
By 
This review is from: Core Web Programming (2nd Edition) (Paperback)
Before I bought this book: I knew about html basic elements such as head, body, p, and a few more. I had to use tools to create web pages and I never knew how it really works, and I didn't use any advanced elements. Now I can do web pages much better, use CSS and many other cool things.

This book is so well organized it has good approach, from easy elements to harder elements. It covers very interesting topics starting with text elements (for beginning), frames, css, java introduction, java programming, basic 2d & 3d graphics, mouse and keyb. events, layout managers, awt components, swing, threads, network programming (excellent one), and finally server side stuff (java server pages, servlets,jdbc...).

My wish would be to remove java programming sections, since java programming is too big and to complex to show it in 2 or 3 sections, also there are plenty java programming books around. However this is just my opinion.

*All* of the examples are SHORT and INDEPENDENT: you don't have to read all chapters in a row to be able to understand the example. Each topic has it's own nice and small example which exactly points out the essential things. I really hate reading a book from beginning to the end, therefore I hate when whole book is based on one example which grows as you go further - THIS BOOK IS NOT LIKE THAT, althow more examples would be even better.

Finally, this is one of the best books I own, the only negative mark is that java programming should be removed, as well as awt, and instead more java script should be present, however this problem is easy to overcome by buying one of numerous java script books (recomended: JavaScript Bible by Danny Goodman).

Sorry for typos, good luck to all, bye !

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


9 of 9 people found the following review helpful:
5.0 out of 5 stars Almost everything a web site developer needs., February 9, 2000
By 
Conrad H. Weisert (Chicago, Illinois USA) - See all my reviews
(REAL NAME)   
Marty Hall's well-organized and clearly written book is like four books in one, with major sections on HTML, Java, CGI, and Java Script.

His treatment of HTML and Java are more thorough than in many more specialized books. Highly recommended for the experienced professional learning about web programming!

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


7 of 7 people found the following review helpful:
5.0 out of 5 stars Bullseye!, April 3, 2000
By 
Stephen Foster (Seattle, WA United States, via Scotland) - See all my reviews
(VINE VOICE)    (REAL NAME)   
Amazon Verified Purchase(What's this?)
This is a well-aimed book. If, like me, you are an experienced programmer who is looking to quickly learn Web programming, then this is THE book for you. It doesn't waste time with long-winded explanations of what variables are or what recursion is. It assumes you know all that stuff and quickly explains its four topics.

I can't vouch for most of the HTML section, because I already knew HTML, but I didn't know CSS (Cascading Style Sheets), and they are handled succinctly here in about fifty terse pages, sprinkled with very clear examples.

The one exception to the "adult" level of explanation is a chapter on OOP (Object-Oriented Programming) for people new to it.

1200+ pages for $40? Quite the bargain.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
First Sentence:
Web pages are created with the HyperText Markup Language, which lets you mix regular text with "markup" tags describing the text. Read the first page
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
package cwp, custom cell renderer, generic network server, event dispatch thread, generic network client, public void repaint, using local fonts, standard event listeners, logical character styles, multithreaded method, paintcomponent method, int startlndex, physical character styles, int alignment, page translation time, common frame problems, named inner classes, public void list, measurable interface, private void pause, int itemindex, tag library descriptor file, spservice method, user first presses, query viewer
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Internet Explorer, File Edit, Core Approach, Core Warning, Core Note, Java Plug-In, Stout Medal, Basic Swing, Adding Dynamic Content, End Tag Optional, Apache Xerces, Getting Started, Document Done, United States, Done Figure, Netscape Navigator, Random Hacker, Java Threads, Methods None, Standard Edition, Sun Microsystems, Bill Gates, Core Java, File Listing, Java Virtual Machine
New!
Books on Related Topics | Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:




What Other Items Do Customers Buy After Viewing This Item?


Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product).
 
(45)
(39)
(39)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums





Look for Similar Items by Category


Look for Similar Items by Subject