Book description
One-stop shopping for serious Web developers!
The worldwide best seller for serious Web developers—now 100% updated!
In-depth HTML 4/CSS, Java 2, Servlets, JSP, XML, and more!
Industrial-strength code examples throughout!
The authoritative guide to every technology that enterprise Web developers need to master, from HTML 4 to Java 2 Standard Edition 1.3, servlets to JavaServer Pages, and beyond. Core Web Programming, Second Edition brings them all together in the ultimate Web development resource for experienced programmers.
HTML 4: In-depth, practical coverage of HTML document structure, block-level and text-level elements, frames, cascading style sheets, and beyond.
Java 2: Basic syntax, object-oriented design, applets and animation, the Java Plug-In, user interface development with Swing, layout managers, Java2D, multithreading, network programming, database connectivity, and more.
Server-Side Java: Servlets, JSP, XML, and JDBC-the foundations of enterprisedevelopment with Java. Advanced topics include JSP custom tag libraries,combining servlets and JSP (MVC), database connection pooling, SAX, DOM, and XSLT processing, and detailed coverage of HTTP 1.1.
JavaScript: Dynamic creation of Web page content, user event monitoring, HTML form field validation, and more. Includes a complete quick reference guide.
This book's first edition is used in leading computer science programs worldwide, from MIT to Stanford, UC Berkeley to Princeton, UCLA to Johns Hopkins. Now, it's been 100% updated for today's hottest Web development technologies—with powerful new techniques, each with complete working code examples!
Every Core Series book:
DEMONSTRATES practical techniques used by professional developers
FEATURES robust, thoroughly tested sample code and realistic examples
FOCUSES on the cutting-edge technologies you need to master today
PROVIDES expert advice that will help you build superior software
Core Web Programming delivers:
Practical insights for Web development with HTML, CSS, and JavaScript
Expert J2SE 1.3 coverage, from Swing and Java 2D to threading, RMI, and JDBC
Fast-track techniques for server-side development with servlets, JSP, and XML
Hundreds of real-world code examples, including complete sample applications
Table of contents
- Copyright
- Introduction
- Acknowledgments
- The HyperText Markup Language
-
Java Programming
- Getting Started with Java
- Object-Oriented Programming in Java
- Basic Java Syntax
-
Applets and Basic Graphics
- What Are Applets?
- Creating an Applet
- An Example Applet
- The Applet Life Cycle
- Other Applet Methods
- The HTML APPLET Element
- Reading Applet Parameters
- HTML OBJECT Element
- The Java Plug-In
- Graphical Applications
- Graphics Operations
- Drawing Images
- Preloading Images
- Controlling Image Loading: Waiting for Images and Checking Status
- Summary
- Java 2D: Graphics in Java 2
-
Handling Mouse and Keyboard Events
- Handling Events with a Separate Listener
- Handling Events by Implementing a Listener Interface
- Handling Events with Named Inner Classes
- Handling Events with Anonymous Inner Classes
- The Standard Event Listeners
- Behind the Scenes: Low-Level Event Processing
- A Spelling-Correcting Textfield
- A Whiteboard Class
- Summary
- Layout Managers
-
AWT Components
- The Canvas Class
- The Component Class
- Lightweight Components in Java 1.1
- The Panel Class
- The Container Class
- The Applet Class
- The ScrollPane Class
- The Frame Class
- Serializing Windows
- The Dialog Class
- The FileDialog Class
- The Window Class
- Handling Events in GUI Controls
- The Button Class
- The Checkbox Class
- Check Box Groups (Radio Buttons)
- Choice Menus
- List Boxes
- The TextField Class
- The TextArea Class
- The Label Class
- Scrollbars and Sliders
- Pop-up Menus
- Summary
-
Basic Swing
- Getting Started with Swing
- The JApplet Component
- The JFrame Component
- The JLabel Component
- The JButton Component
- The JPanel Component
- The JSlider Component
- The JColorChooser Component
- Internal Frames
- The JOptionPane Component
- The JToolBar Component
- The JEditorPane Component
- Other Simple Swing Components
- Summary
- Advanced Swing
- Concurrent Programming with Java Threads
-
Network Programming
- Implementing a Client
- Parsing Strings by Using StringTokenizer
- Example: A Client to Verify E-Mail Addresses
- Example: A Network Client That Retrieves URLs
- The URL Class
- WebClient: Talking to Web Servers Interactively
- Implementing a Server
- Example: A Simple HTTP Server
- RMI: Remote Method Invocation
- Summary
-
Server-Side Programming
- HTML Forms
-
Server-Side Java: Servlets
- The Advantages of Servlets Over “Traditional” CGI
- Server Installation and Setup
- Basic Servlet Structure
- The Servlet Life Cycle
- An Example Using Initialization Parameters
- The Client Request: Form Data
- The Client Request: HTTP Request Headers
- The Servlet Equivalent of the Standard CGI Variables
- The Server Response: HTTP Status Codes
- The Server Response: HTTP Response Headers
- Cookies
- Session Tracking
- Summary
- JavaServer Pages
-
Using Applets As Front Ends to Server-Side Programs
- Sending Data with GET and Displaying the Resultant Page
- A Multisystem Search Engine Front End
- Using GET and Processing the Results Directly (HTTP Tunneling)
- A Query Viewer That Uses Object Serialization and HTTP Tunneling
- Using POST and Processing the Results Directly (HTTP Tunneling)
- An Applet That Sends POST Data
- Bypassing the HTTP Server
- Summary
- JDBC
-
XML Processing with Java
- Parsing XML Documents with DOM Level 2
- DOM Example: Representing an XML Document as a JTree
- Parsing XML Documents with SAX 2.0
- SAX Example 1: Printing the Outline of an XML Document
- SAX Example 2: Counting Book Orders
- Transforming XML with XSLT
- XSLT Example 1: XSLT Document Editor
- XSLT Example 2: Custom JSP Tag
- Summary
-
JavaScript
-
JavaScript: Adding Dynamic Content to Web Pages
- Generating HTML Dynamically
- Monitoring User Events
- Mastering JavaScript Syntax
- Using JavaScript to Customize Web Pages
- Using JavaScript to Make Pages Dynamic
- Using JavaScript to Validate HTML Forms
- Using JavaScript to Store and Examine Cookies
- Using JavaScript to Interact with Frames
- Accessing Java from JavaScript
- Accessing JavaScript from Java
- Summary
-
JavaScript Quick Reference
- The Array Object
- The Button Object
- The Checkbox Object
- The Date Object
- The Document Object
- The Element Object
- The FileUpload Object
- The Form Object
- The Function Object
- The Hidden Object
- The History Object
- The Image Object
- The JavaObject Object
- The JavaPackage Object
- The Layer Object
- The Link Object
- The Location Object
- The Math Object
- The MimeType Object
- The Navigator Object
- The Number Object
- The Object Object
- The Option Object
- The Password Object
- The Plugin Object
- The Radio Object
- The RegExp Object
- The Reset Object
- The Screen Object
- The Select Object
- The String Object
- The Submit Object
- The Text Object
- The Textarea Object
- The Window Object
- Summary
-
JavaScript: Adding Dynamic Content to Web Pages
- Index
Product information
- Title: Core Web Programming, Second Edition
- Author(s):
- Release date: May 2001
- Publisher(s): Pearson
- ISBN: 0130897930
You might also like
book
Programming PHP, 4th Edition
Why is PHP the most widely used programming language on the web? This updated edition teaches …
book
Hands-On Network Programming with C
A comprehensive guide to programming with network sockets, implementing internet protocols, designing IoT devices, and much …
book
The Sockets Networking API: UNIX® Network Programming Volume 1, Third Edition
UNIX Network Programming, Volume 1: The Sockets Networking API, Third Edition "Everyone will want this book …
book
Head First HTML and CSS, 2nd Edition
Tired of reading HTML books that only make sense after you're an expert? Then it's about …