|
||||||||
|---|---|---|---|---|---|---|---|---|
JavaServer Pages Integration with XMLThThis course will teach students about the JSP development skills needed to successfully build Java-powered XML Web applications. This course is ideal preparation for students tasked with building database-connected XML applications for the Web or data exchange applications. After completing this two-day course, students will be able to:
|
|
||||
|---|---|---|---|---|---|
Target audienceStudents should have a good working knowledge of XML and JavaServer Pages (JSP) gained through experience or prior attendance on an introductory level course Course contentIntroduction to Integrating JavaServer Pages and XML Goals of the Course • Software Used for the Course • Server Setup • Development PC Setup XSLT Transforming XML via the <jrun:xslt> Tag • Exercise 1: Using the <jrun:xslt> Tag to Transform XML to HTML XSLT with Xalan Exercise 2: Using Xalan to Transform XML to HTML Generating XSLT Output to a File Exercise 3: Saving XSLT Output to a File • Exercise 4: XSLT with an XSL Parameter Generating XSLT Output in Multiple Formats Introducing WML • Examining a WML Demonstration Detecting the Client and Choosing Automatically Between HTML and WML Examining an XSL File that Generates WML • Exercise 5: Device-Specific XML Transforms Working with the DOM (Document Object Model) What is the DOM? • What Role Do Parsers Play with the DOM? • Example: Building a DOM Tree and Outputting It as HTML • The DOM Document Class • Getting a Reference to the Root Node • Methods of the Node Class • Disadvantages of the DOM • Exercise 6: Generating HTML Output from a DOM Tree Generating HTML Tables from DOM Data Retrieving Tags by Name • Generating the Column Headers • Generating the Table Rows Searching the DOM Tree Exercise 7: Searching an XML File Containing Course Data Modifying XML Documents via the DOM Creating a New Element and Adding it to the Tree • Saving XML Data to File • Exercise 8: Modifying a DOM Tree and Saving It to File Using the DOM and JDBC to Import XML Data into a Database Exercise 9: Saving XML Data to a File Creating XML from Database Data Building a DOM Document from Scratch • Exercise 10: Converting Database Data to an XML File Introducing SAX Configuring an org.xml.sax.InputSource • Getting a Parser Implementation • Specifying a ContentHandler • Specifying an ErrorHandler • Specifying a DTDHandler • Turning on Validation and Parsing the Document • Displaying Output and Errors • Examining an Implementation of ContentHandler • The Five Most Important ContentHandler Methods • Other Methods Specified by ContentHandler • Examining an Implementation of ErrorHandler • Exercise 11: Parsing an XML Document and Generating HTML Output withSAX Importing XML Data into a Database via SAX and JDBC InsertDemoErrorHandler • Exercise 12 • Using Stored Procedures instead of SQL • Exercise 13: Using a Stored Procedure within a SAX ContentHandler Introducing JDOM Parsing an XML File with JDOM • Outputting XML Data with JDOM • Outputting XML Data as HTML with JDOM • Methods of org.jdom.Element • Printing the Children and Returning Output • Exercise 14: Building a JDOM Tree and Outputting it as HTML Using JDOM and JDBC to Insert XML Data Into a Database Using JDOM and JDBC with Stored Procedures • Exercise 15: Inserting Records into a Database with JDOM and JDBC • Building XML Files from Database Data via JDOM and JDBC • Writing a JDOM Document to File Building a JDOM Document from Database Data Creating a New JDOM Document • Building the Document Tree • Writing the JDOM Document Object to File • Exercise 16: Generating an XML File from Database Data via JDOM and JDBC Appendix A: An Overview of SQL Data Types in SQL • Creating a Table in SQL • Inserting a Row into the Table in SQL • Inserting a Partial Row (or Fields in a Different Order) in SQL • Retrieving Information from the Database via SELECT • Editing Records in the Database with the UPDATE Statement • Removing Records from the Database with the DELETE Statement Appendix B: Design Goals Principles of the Tag Library • Creating the Tag Handler • Creating the Tag Library Descriptor File Appendix C: Recommended Resources About Courseware Company :: Instructor-led training courseware :: Self-study solutions :: Buy online today |
|||||
A gtslearning business division :: gtslearning CompTIA learning solutions ::Contact us :: Site map
© gtslearning, 2008. All rights reserved. Ownership of all trademarks and service marks is observed and respected.