Tous nos rayons

Déjà client ? Identifiez-vous

Mot de passe oublié ?

Nouveau client ?

CRÉER VOTRE COMPTE
XML and Java from Scratch
Ajouter à une liste

Librairie Eyrolles - Paris 5e
Indisponible

XML and Java from Scratch

XML and Java from Scratch

Nicholas Chase

486 pages, parution le 01/04/2001

Résumé

XML and Java from scratch is designed to teach XML and Java in the context of building a real, working Web site and application. All the information on products, prices, vendors, and so on is rendered in XML and the reader learns how to display products on the company Web site, take orders, produce a paper catalog, and communicate with the external databases of vendors using XML. Using informative icons-such as Geek Speak and ExcursionsNicholas Chase teaches you the correct pronunciation of key terms and discusses interesting subject-related side notes that pertain to the topic at hand.
  • Use the simple principles of XML to store and manipulate data and to build basic Web pages
  • Transform content with XSL for easier viewing and usability
  • Manipulate vendor data with JDOM for greater extensibility
  • Organize inventory structures with namespaces and DOM
  • Search databases with XQL
  • Use SOAP to interact with external systems
Contents

Introduction.
1. Vendor Pages: Styling XML with Cascading Style Sheets.

Walking Before We Run: HTML and XHTML. Controlling Presentation: Cascading Style Sheets. Delving Deeper into CSS2.
Color. Background. Border. Positioning Elements. Text Properties. List Item Properties. Tables. Display and Inheritance. Inheritance.
Converting Our Content to XML.
Our XML Structure.
Next Steps.

2. Product Pages: Transforming XML in the Browser Using XSL.
The Two Faces of XSL: XSL Transformations and XSL Formatting Objects. Getting Ready.
Installing MSXML3. Testing the Installation. What We're Shooting For. Our XML Source File.
Trees: The Basic Structure of XML.
Applying the Structure to XSL.
Well-Formedness. Building the Style Sheet.
Associating the Style Sheet with the XML Document.
Templates. Getting Specific-Using XPath. Looping and Sorting.
Sorting.
Adding Elements and Attributes. Conditionals.
Cleaning Up.
Next Steps.

3. Defining the Data Structure: Document Type Definitions, XML Schema, _and Parsers.
Introducing Java. Installing the Java 2 Software Development Kit.
Locating the Java 2 SDK. Installation.
Installing the Xerces-J Parser.
Installing Xerces-J. Setting the CLASSPATH. Testing the Installation.
Well-Formed Versus Valid Documents.
To DTD or Not to DTD.
Document Type Definitions.
Internal DTD Subsets. Attribute Definitions. Mixed Content. DTD Syntax Review. The First Limitation:Datatypes.
External DTDs.
Adding the Rest of Our Vendors.
Referential Integrity.
The Second Limitation: Keys. The Third Limitation: Same Name, Different Element.
XML Schema.
Datatypes. Features Still to Come.
Next Steps.

4. Getting Serious: XSL Processors and Server-Side Processing.
XSL Processors. Xalan.
Installing Xalan. Testing the Installation.
Converting a File from the Command Line.
Input and Output Files. Processing the Document.
Advanced XSLT: Includes and Imports.
Includes. Imports.
Java Basics.
Diving Right In: Hello World! Writing HelloWorld. Compiling HelloWorld. Executing HelloWorld. What It All Means. Inheritance. Looking at HelloWorld.
Reading a File from a Java Application.
Declaring Variables. Displaying the Contents of a File. Exceptions.
Transforming an XML File from Within a Java Program.
Creating the Style Sheet.
Advanced XSLT: Parameters. Our First DOM: Stepping Through Our XML. Automating Further: Adding Next and Previous Links. Adding a Web Server to the Mix. Installing and Configuring Tomcat.
Completing the Installation. Testing the Installation.
The First Servlet. Extracting Request Information.
Getting It Together.
Next Steps.

5. Taking Orders: Manipulating Data with JDOM.
What Is JDOM? Installing JDOM.
Installing JDOM. Setting the CLASSPATH. Running the Samples.
Developing an Algorithm.
The Overall Algorithm.
Creating the Shopping Cart-AddToOrder.java.
Adding post to the Servlet.
Manipulating an XSL Style Sheet. Next Steps.

6. Adjusting Inventory: Using Namespaces and More About DOM.
Manipulating In-Memory Documents.
Creating the New Document. Creating DOM Objects.
The Structure of a DOM Document.
Recursion.
Adding Nodes to a Document. Serializing the Document.
Adding Data. Adding the Products to the Document. Cleaning Up.
Adding Namespaces. Retrieving Namespace Information. Creating the Review Page. Working with the Results of the Transformation. Working with Our Temporary Document. The Final Style Sheet. Collecting Payment Information. Accepting Payment Information. Next Steps.

7. Product Search: XQL.
Downloading the GMD-IPSI XQL Engine. Creating the Index File. Creating the Search Page. The Search Results Page. Performing the Search.
Enhancing the Search.
Next Steps.

8. Updating Inventory: SQL Databases and SAX.
Connecting to the Database: JDBC, ODBC, and SQL. Creating the Inventory Database.
Creating the ODBC Connection. How We Connect to a Database /li>.
Creating the Initial Inventory.
Inserting Data.
Introduction to SAX: Adjusting Inventory. Using SAX to Parse the File. Updating the Database. Retrieving Information from the Database: Backorders. Completing the Circle. Next Steps.

9. Other Applications for XML (SOAP).
Browser Detection.
Request Headers. Resource Bundles.
Media. Mobile Phones.
Downloading the Simulator. The WML Page.
Adapting a Servlet for Wireless Devices. The Simple Object Access Protocol (SOAP).
How SOAP Messages Are Passed. HTTP Requests and Responses. Taking It a Step Further.
Formatting Objects.
Downloading, Installing, and Testing FOP. The Structure of a Formatting Objects File.
Where We Go from Here. Getting More Information.
More Information on This Book.
The Last Word.

Index.

L'auteur - Nicholas Chase

Nicholas Chase has been involved in Web site development for companies such as Lucent Technologies, Sun Microsystems, and Oracle Corporation. He got his first email account in 1989, and before immersing himself in the Web, he was a physicist, a high school teacher, a low-level radioactive-waste facility manager, an online science fiction magazine editor, a multimedia engineer, and an Oracle instructor. He is currently the chief technology officer of Site Dynamics Interactive Communications in Clearwater, Florida. He is also the author of Active Server Pages 3.0 form scratch. He enjoys watching sunsets with his lovely wife Sarah and their teenage son Sean.

Caractéristiques techniques

  PAPIER
Éditeur(s) Que
Auteur(s) Nicholas Chase
Parution 01/04/2001
Nb. de pages 486
Format 18,8 x 23
Couverture Broché
Poids 819g
Intérieur 2 couleurs
EAN13 9780789724762

Avantages Eyrolles.com

Livraison à partir de 0,01 en France métropolitaine
Paiement en ligne SÉCURISÉ
Livraison dans le monde
Retour sous 15 jours
+ d'un million et demi de livres disponibles
satisfait ou remboursé
Satisfait ou remboursé
Paiement sécurisé
modes de paiement
Paiement à l'expédition
partout dans le monde
Livraison partout dans le monde
Service clients sav@commande.eyrolles.com
librairie française
Librairie française depuis 1925
Recevez nos newsletters
Vous serez régulièrement informé(e) de toutes nos actualités.
Inscription