1. Trang chủ
  2. » Công Nghệ Thông Tin

Sams MySQL and JSP web applications data driven programming using tomcat and MySQL apr 2002 ISBN 0672323095

838 340 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 838
Dung lượng 7,06 MB

Nội dung

[Next] • Table of Contents • Index MySQL™ and JSP™ Web Applications: DataDriven Programming Using Tomcat and MySQL By James Turner Publisher : Sams Publishing Pub Date : March 27, 2002 ISBN : 0-672-32309-5 Pages : 400 JSP developers encounter unique problems when building web applications that require intense database connectivity MySQL and JSP Web Applications addresses the challenges of building data-driven applications based on the JavaServer Pages development model MySQL and JSP Web Applications begins with an overview of the core technologies required for JSP database development JavaServer Pages, JDBC, and the database schema The book then outlines and presents an Internet commerce application that demonstrates concepts such as receiving and processing user input, designing and implementing business rules, and balancing the user load on the server Through the JDBC (Java DataBase Connector), the developer can communicate with most commercial databases, such as Oracle The solutions presented in MySQL and JSP Web Applications center on the open source tools MySQL and Tomcat, allowing the reader an affordable way to test applications and experiment with the book's examples • Table of Contents • Index MySQL™ and JSP™ Web Applications: DataDriven Programming Using Tomcat and MySQL By James Turner Publisher : Sams Publishing Pub Date : March 27, 2002 ISBN : 0-672-32309-5 Pages : 400 Copyright About the Authors Acknowledgments Tell Us What You Think! An Introduction to Developing E-Commerce Applications with JSP Who Are You and Why Are You Reading This Book? So What Is JSP All About? An Overview of JSP Platforms Why Do We Need Databases? MySQL Putting Tomcat and MySQL Together A Roadmap to E-Commerce Development The Next 17 Chapters Part I JSP and JDBC Chapter 1 A JSP/JDBC Review How Does JSP Work Running Tomcat Finding the Java Sources A Quick Look at JDBC and MySQL Working with ResultSets Using PreparedStatement Inserting, Deleting, and Updating Using Cursors Summary Chapter 2 Java Beans and JSP Chapter 3 Using Servlet Functionality with JSP Bean Basics Bean Persistence Application-Scoped Object and Singleton Classes Wrapping Up Beans Moving from CGI to Servlets Looking at an Example Servlet The End of the Beginning Part II Sample Application: Functional Requirements Chapter 4 The Sample Application Functional Requirements Document Chapter 5 Developing ERDs and Use Cases Chapter 6 Creating the Database Schema and Populating Data Welcome to Books for Geeks A High-Level View Diving into Design Summary The Entity Relation Diagram Mining High-Level Use Cases Descriptions for Objects The User Class The Product Class The Shopping Cart and Order Classes Use Cases Moving Ahead Summary The Fading Role of the DBA Building a Database Schema The Database from 20,000 Feet Summary Part III Sample Application: Implementation Chapter 7 Setting Up an Application's Infrastructure Build Management Logging and Database Connection Pooling Configuring Turbine Using Turbine Connection Pooling Using Log4J Customizing Log4J Getting Ready to Code Summary Chapter 8 Retrieving, Storing, and Verifying User Input The Customer Class Reading and Writing Customers from the Database Cleaning Up the Code Accessing the Customer Class from JSP Field Validation Handling Forgotten Passwords Using Cookies to Store Login Moving On Chapter 9 Publishing Data from Database Sources Chapter 10 Session Persistence and Complex Form Handling Chapter 11 Intersession Persistence Chapter 12 Implementing Business Logic Looking at the Default Document Structure The Document Structure in Practice The Product and Category Classes The Author Object The Category Class Cleaning Things Up Summary Implementing the Shopping Cart Buying More Than One Thing at Once Displaying and Editing the Shopping Cart Loose Ends The Next Step: Filling and Spilling Filling and Spilling The Address Book Credit Cards and the Wallet Time to Get Down to Business Today Only! Buy One, Get One Free! Implementing Promotions Stubbing Out Taxes and Shipping Finalizing the Order Final Confirmation The Last Mile Chapter 13 Completing the Application Charging the Credit Card About Credit Cards Completing the Order Order History In Retrospect Next Steps for the Site Dotting the I's and Crossing the T's Making It Turn-Key Resetting to a Clean State Summary, and on to the Advanced Stuff Part IV Advanced JSP Topics Chapter 14 Integrating XML into e-Commerce Web Sites Chapter 15 Using LDAP with JNDI Chapter 16 The Struts Application Framework The Benefits of XML The Xerces XML Package A DTD for Products Writing a SAX Parser Writing a DOM Parser Generating XML Summary The World of LDAP The LDAP Schema Getting LDAP'ed JNDI Testing LDAP Reading Testing LDAP Creation Trying Out LDAP Modification Running a Search Against LDAP Creating Your Own Schemas Summary The MVC Pattern A First Look at Struts Setting Up Struts The struts-config.xml File The ActionForm The Action The Address Editing Page Two-Step Forms Configuring the Web Application Descriptor Summary Chapter 17 Enterprise JavaBeans Chapter 18 Security, Load Balancing, Failover, and Other Considerations The Pros and Cons of EJB EJB in 30 Seconds Stateless, Stateful, and Entity Beans Setting Up JBoss Creating a Stateless Session Bean Being Stateful Talking to MySQL with Entity Beans A Final Goodbye to EJB Security, Part 1 Integrating with Apache Load Balancing Writing Applications for Multimachine Service The Failover Fallacy Database Tuning Security, Part 2 (SSL) The End of the Book Part V Appendixes Appendix A Getting and Installing JDK, Ant, and Tomcat Appendix B Getting and Installing MySQL and JDBC for MySQL Installing JDK Under Windows Installing JDK Under Linux Installing Ant Under Windows Installing Ant Under Linux Installing Tomcat Under Windows Installing Tomcat Under Linux Installing MySQL on Windows Installing MySQL Under Linux Permissions and Security Under MySQL Installing JDBC Support for Tomcat Appendix C A Books for Geeks Quickstart Installing the Books for Geeks Example in Windows Installing the Books for Geeks Example in Linux Index Copyright Copyright © 2002 by Sams Publishing All rights reserved No part of this book shall be reproduced, stored in a retrieval system, or transmitted by any means, electronic, mechanical, photocopying, recording, or otherwise, without written permission from the publisher No patent liability is assumed with respect to the use of the information contained herein Although every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions Nor is any liability assumed for damages resulting from the use of the information contained herein Library of Congress Catalog Card Number: 2001094773 Printed in the United States of America First Printing: March 2002 05 04 03 02 4 3 2 1 Trademarks All terms mentioned in this book that are known to be trademarks or service marks have been appropriately capitalized Sams Publishing cannot attest to the accuracy of this information Use of a term in this book should not be regarded as affecting the validity of any trademark or service mark Warning and Disclaimer Every effort has been made to make this book as complete and as accurate as possible, but no warranty or fitness is implied The information provided is on an "as is" basis The authors and the publisher shall have neither liability nor responsibility to any person or entity with respect to any loss or damages arising from the information contained in this book Credits Executive Editor Michael Stephens Development Editor Christy A Franklin Managing Editor Matt Purcell Project Editor Natalie Harris Copy Editor Krista Hansing Indexer Sandra Henselmeier Proofreader Andrea Dugan Technical Editor Ed Peters GPL (GNU General Public License) 2nd 3rd sources of Java errors in logs finding 2nd 3rd 4th fiveloop_runtime.jsp file, code 2nd fiveloop_syntax.jsp file, code 2nd runtime errors syntax errors specifications Servlet spilling filling and spilling carts 2nd 3rd 4th 5th 6th AutoLogin.jsp 2nd 3rd 4th Customer.java file, code 2nd 3rd 4th 5th 6th init_cart.sql Logout.jsp 2nd states, restoring upon logins 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th user states, changing 2nd 3rd web.xml 2nd 3rd splash pages Tomcat sprintf 2nd downloading SQL queries % (percent sign) SQL databases data, sharing SQL [See also MySQL] SQLProperties file SQLQueries entries file code 2nd SQLQueries.properties file, code 2nd 3rd SSL (Secure Socket Layer) 2nd 3rd 4th 5th 6th CAs (certificate authorities) 2nd 3rd 4th certificates cryptography Linux, installing 2nd 3rd 4th public key cryptography startDocument method startElement method starting up applications, automatically 2nd startup windows Tomcat statBean.java file code 2nd stateful beans 2nd 3rd ejb-jar.xml file, code 2nd jboss.xml file, code StatefulCart.java file, code 2nd StatefulCartBean.java file, code 2nd 3rd StatefulCartHome.java file, code TestStatefulTax.jsp file, code 2nd 3rd stateful carts StatefulCart.java file, code 2nd StatefulCartBean.java file, code 2nd 3rd StatefulCartHome.java file, code stateless beans stateless session beans, creating 2nd Ant scripting for JBoss, code 2nd bdgejb.jar file, code to deploy 2nd Cart.java file, code 2nd CartBean.java file, code 2nd CartHome.java file, code 2nd ejb-jar.xml file, code 2nd jboss.xml file, code 2nd taxes, computing TestTax.jsp file, code 2nd Statement class statements grant users insert mission BFG Web site out.print PreparedStatement 2nd 3rd 4th states Java Beans states of users changing 2nd 3rd restoring upon logins 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th AutoLogin.jsp file, code 2nd 3rd 4th Logout.jsp file, code 2nd web.xml file, code 2nd 3rd static class diagrams ERDs (entity relationship diagrams) storing addresses credit card expiration dataes data in LDAP (Lightweight Directory Access Protocol) logins with cookies 2nd 3rd 4th 5th 6th AutoLogin.jsp file, code 2nd Login.jsp file, code 2nd strings findCreditCard query values single quotation marks (') structures default documents 2nd 3rd 4th 5th 6th 7th 8th 9th 10th code 2nd master pages, code 2nd 3rd 4th documents 2nd 3rd 4th bfgfooter.jsp file, code bfgheader.jsp file, code 2nd 3rd Struts 2nd accountAction.java file, code 2nd 3rd 4th 5th accountForm.java file, code 2nd 3rd accounts viewing Action object 2nd 3rd Action objects ActionForm object 2nd 3rd 4th 5th 6th 7th address pages, editing 2nd 3rd 4th 5th Address.jsp file, code 2nd 3rd addressAction.java file, code 2nd 3rd addressForm.java file, code 2nd 3rd 4th 5th 6th Apache application framework 2nd ApplicationResources.properties file, code bean[colon]message [edit, no HTML brackets OK] tag cardAction.java file, code 2nd 3rd cardAddrAction.java file, code 2nd 3rd 4th CCAddress.jsp file, code 2nd 3rd CreditCard.jsp file, code 2nd 3rd 4th creditcardForm.java file, code 2nd 3rd 4th 5th downloading form-beans section forms (two-step) 2nd 3rd 4th 5th 6th 7th 8th forward directives HTML [edit, no HTML brackes OK] tag html[colon]errors [edit, no HTML brackets OK] tag html[colon]form [edit, no HTML brackets OK] tag html[colon]html [edit, HTML brackets] tag html[colon]text [edit, no HTML brackets OK] tag logic[colon]iterate [edit, no HTML brackets OK] tag McClanahan, Craig model 1 Web sites model 2 Web sites [See MVC] MVC 2nd 3rd (Model-View-Controller) model 2 Web sites myAccount.jsp file myAccount.jsp file, code 2nd 3rd 4th setting up 2nd struts-config.xml file 2nd 3rd 4th 5th 6th struts-config.xml file, code 2nd 3rd 4th Sun Microsystems taglibs validate method Web application descriptors, configuring build.xml file, code 2nd credit card forms, pages 2nd myAccount.jsp file, code web.xml file, code 2nd 3rd 4th 5th struts-config.xml file 2nd 3rd 4th 5th 6th struts-config.xml file, code 2nd 3rd 4th stubbed-out tax code styles commenting 2nd Submit buttons Submit order button users clicking 2nd Sun Microsystems Struts Sun Web site binary distribution, downloading support tiers, security issues 2nd switches smart (load balancing) 2nd syntax errors Java sources system administrators cracking programs, running systemDirectory property systems fulfillment (e-commerce) 2nd [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] tables address book categories creating in MySQL 2nd 3rd 4th 5th 6th 7th customer database schemas, building 2nd 3rd 4th init_customer.sql file;code 2nd employee_list.jsp file code 2nd 3rd employees.sql file code 2nd order database schemas, building 2nd 3rd init_order.sql file;code 2nd ORDERS revised schema, code 2nd product database schemas, building 2nd 3rd init_product.sql file;code 2nd PROMOTION code 2nd promotions database schemas, building 2nd init_promotions.sql file;code 2nd taglibs tags bean[colon]message [edit, no HTML brackets OK] foreign key tags (MySQL databases) header [edit, HTML brackets] HTML [edit, no brackets OK] html[colon]errors [edit, no HTML brackets OK] html[colon]form [edit, no HTML brackets OK] html[colon]html [edit, HTML brackets] html[colon]text [edit, no HTML brackets OK] logic[colon]iterate [edit, no HTML brackets OK] setProperty 2nd 3rd 4th 5th create_user.jsp file, code 2nd 3rd new_user_form.jsp file, code 2nd User.java, code td [edit, HTML brackets] useBean 2nd 3rd 4th 5th handoff_broke.jsp file, code 2nd 3rd handoff1.jsp file, code 2nd 3rd handoff2.jsp file, code 2nd tar.gz version (MySQL binary distributions) installing 2nd targets deployjboss dist (ANT) makejboss taxes business logic 2nd 3rd 4th Cart.java file, code 2nd 3rd Cart.properties file, code tax code, stubbed-out code, stubbed-out computing TestStatefulTax.jsp file, code 2nd 3rd TestTax.jsp file code 2nd td [edit, HTML brackets] tag telephone [See phone] test databases (MySQL installations on Linux) creating 2nd test databases (MySQL installations on Windows) creating 2nd TestCustomer.jsp file, code 2nd 3rd 4th testing credit cards LDAP (Lightweight Directory Access Protocol) readings 2nd LDAP (Lightweight Directory Access Protocol) record creations 2nd 3rd 4th 5th testing Linux Ant installation 2nd testing Linux JDK (Java Developer Kit) installation 2nd 3rd testing Linux Tomcat installation 2nd testing Windows Ant installation 2nd testing Windows JDK (Java Developer Kit) installation 2nd testing Windows Tomcat installation 2nd testLdapCreate.jsp file, code 2nd 3rd 4th 5th testLdapModify.jsp file, code 2nd 3rd 4th 5th 6th testLdapRead.jsp file, code 2nd testLdapSearch.jsp file, code 2nd tests unit build.xml file, code 2nd code improvements 2nd 3rd 4th 5th 6th 7th Customer.java file, code 2nd 3rd TestStatefulTax.jsp file, code 2nd 3rd TestTax.jsp file code 2nd text atoi plain text cyphertext 2nd sprintf The Gartner Group EJB (Enterprise JavaBeans) tiers support, security issues 2nd timeouts of sessions web.xml file, code 2nd 3rd Together databases viewing 2nd Tomcat binary distribution, downloading 2nd binary distribution, unpacking 2nd 3rd cartapp [edit, fwd slash in front] context directory structure etc/tomcat4/tomcat.conf [edit, fwd slash in front] file, editing handoff_broke.jsp file HttpSessionBindingListener interface 2nd installing under Linux 2nd 3rd under Windows 2nd 3rd integrating with Apache 2nd 3rd 4th 5th JDBC support, installing 2nd Linux installation testing 2nd numberguess program running server.xml file code for changing splash page startup window taglibs Windows installation testing 2nd Tomcat platform 2nd MySQL combining 2nd 3rd TomCat/webapps/bfg/TurbineResources.properties [edit, fwd slash in front] file code 2nd topographies two-tiered networks, security issues TP (transaction processing) tracking e-commerce transactions 2nd transaction processing (TP) transactions e-commerce tracking 2nd tuning databases 2nd 3rd Turbine 2nd 3rd adaptor cleverquantity configuring 2nd 3rd 4th 5th 6th 7th 8th 9th build.xml file, code 2nd com/bfg/services/TurbineInit.java file, code 2nd TomCat/webapps/bfg/TurbineResources.properties [edit, fwd slash in front] file, code 2nd web.xml file, code 2nd database connection pooling 2nd 3rd DBPool.jsp file, code 2nd logInterval maxConnections servlets WaitTimeout two-step forms 2nd 3rd 4th 5th 6th 7th 8th ApplicationResources.properties file, code cardAction.java file, code 2nd 3rd cardAddrAction.java file, code 2nd 3rd 4th CCAddress.jsp file, code 2nd 3rd CreditCard.jsp file, code 2nd 3rd 4th creditcardForm.java file, code 2nd 3rd 4th 5th two-tiered network topography, security issues [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] UML (Unified Modeling Language) 2nd Unified Modeling Language [See UML] unit tests build.xml file, code 2nd code improvements 2nd 3rd 4th 5th 6th 7th Customer.java file, code 2nd 3rd UNIX utilities GNUMake unpacking binary distribution (Ant) 2nd binary distribution (JDK) 2nd binary distribution (Tomcat) 2nd 3rd binary distributions (MySQL installations on Windows) JDK (Java Developer Kit) binary distribution, downloading 2nd binary distribution, installing 2nd updates executeUpdate code 2nd updating data 2nd with cursors 2nd use cases 2nd 3rd %OFF (Percent Off) promotions 2nd BFG Web site mission statement BOGOF (Buy One, Get One Free) promotions 2nd ERDs (entity relationship diagrams) object descriptions 2nd 3rd 4th Order class 2nd Product class 2nd product promotions 2nd 3rd 4th scope 2nd Shopping Cart class 2nd UML (Unified Modeling Language) 2nd User class 2nd 3rd 4th 5th 6th user schema 2nd users clicking Buy button clicking Category pages 2nd clicking Checkout button 2nd clicking Create New User button clicking More Info button clicking My Account button clicking My Address Book button clicking My Order History button clicking My Wallet button clicking Order-Confirmation page 2nd clicking Submit order button 2nd clicking View Cart button users (existing) entering Web sites 2nd users (new) entering Web sites 2nd useBean (shopping carts) 2nd useBean tag 2nd 3rd 4th 5th handoff_broke.jsp file, code 2nd 3rd handoff1.jsp file, code 2nd 3rd handoff2.jsp file, code 2nd User class 2nd 3rd 4th 5th 6th DifferentUser user IDs user information protecting 2nd user input cookies e-mail addresses 2nd 3rd Customer class 2nd accessing from JSP 2nd 3rd 4th 5th Customer.java file, code 2nd 3rd 4th NewCustomer.jsp file, code 2nd customers, code improvements build.xml file, code 2nd Customer.java file, code 2nd 3rd Javadoc 2nd unit tests 2nd 3rd 4th 5th 6th 7th customers, reading and writing from databases com.bfg.customer.SQLQueries properties file, code 2nd Customer.java file, code 2nd 3rd 4th 5th 6th 7th 8th 9th 10th e-mail addresses 2nd 3rd reads and writes, executing to databases 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th ResourceBundle class field validation 2nd e-mail addresses 2nd 3rd errors, blank form submissions errors, Customer.java file code 2nd 3rd errors, e-mail addresses (duplicate) errors, HashMap 2nd 3rd 4th errors, NewCustomer.jsp file code 2nd 3rd errors, properties (unique) 2nd errors, returning in vectors 2nd logins AutoLogin.jsp file, code 2nd Login.jsp file, code 2nd storing with cookies 2nd 3rd 4th 5th 6th passwords Customer.java file code 2nd 3rd e-mail addresses 2nd 3rd 4th 5th 6th 7th 8th forgotten, handling 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th Lost password page lostPassword.jsp file, code 2nd Properties.properties file, code 2nd server.xml file, code web.xml file, code 2nd 3rd user input [See also customers] user schema 2nd user states changing 2nd 3rd restoring upon logins 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th AutoLogin.jsp file, code 2nd 3rd 4th Logout.jsp file, code 2nd web.xml file, code 2nd 3rd User.java, code 2nd 3rd user@"%", format user@"%.bar.com", format user@foo.bar.com format user@localhost format users %OFF (Percent Off) promotions 2nd BOGOF (Buy One, Get One Free) promotions 2nd grant statements product promotions 2nd 3rd 4th show grants command [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] validate method validating credit card numbers prevalidating 2nd 3rd validating fields 2nd e-mail addresses 2nd 3rd errors blank form submissions Customer.java file, code 2nd 3rd e-mail addresses (duplicate) HashMap 2nd 3rd 4th NewCustomer.jsp file, code 2nd 3rd properties (unique) 2nd returning in vectors 2nd values of columns getX method of strings single quotation marks (') of Web pages handing off variables JAVA HOME environment variable (JDK) configuring 2nd 3rd 4th PATH environment variable (Ant) configuring 2nd 3rd 4th PATH environment variable (JDK) configuring 2nd 3rd 4th vectors errors returning 2nd readVector method Vehicle class View Cart button users clicking viewing accounts BFG LDAP data databases with an ERD 2nd employee promotions employee records Hello World page ViewOrder.jsp file code order histories 2nd 3rd 4th 5th 6th 7th views category pages BFGs (Books for Geeks) Web site 2nd checkout pages BFGs (Books for Geeks) Web site customer account pages BFGs (Books for Geeks) Web site order confirmation pages BFGs (Books for Geeks) Web site order receipt pages BFGs (Books for Geeks) Web site product pages BFGs (Books for Geeks) Web site 2nd 3rd shopping cart pages BFGs (Books for Geeks) Web site 2nd 3rd 4th virtues of programmers 2nd [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] WaitTimeout (Turbine) Wall, Larry wallets 2nd 3rd 4th credit cards testing Customer.java file, code 2nd MyAccount.jsp file credit cards, code 2nd 3rd NewCreditCard.jsp file credit cards, code 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th 12th 13th wallets [See also credit cards] Web application descriptors, configuring build.xml file, code 2nd credit card forms, pages 2nd myAccount.jsp file, code web.xml file, code 2nd 3rd 4th 5th Web browsers CAs (certificate authorities) 2nd 3rd 4th certificates LDAP Browser/Editor downloading Web page final confirmation Web pages address Address.jsp file, code 2nd 3rd addressAction.java file, code 2nd 3rd addressForm.java file, code 2nd 3rd 4th 5th 6th editing 2nd 3rd 4th 5th BFGs (Books for Geeks) Web site 2nd Buy button users clicking ByAuthor category multiple-buy Category users clicking 2nd category pages BFGs (Books for Geeks) Web site 2nd Checkout button users clicking 2nd checkout page BFGs (Books for Geeks) Web site 2nd 3rd Create New User button users clicking credit card forms 2nd customer account page BFGs (Books for Geeks) Web site 2nd entry page BFGs (Books for Geeks) Web site 2nd 3rd entry page (BFG Web site) index.jsp wireframe code 2nd 3rd 4th Hello World viewing Lost password page master pages, code 2nd 3rd 4th More Info button users clicking My Account button users clicking My Address Book button users clicking My Order History button users clicking My Wallet button users clicking MyAccount order histories order confirmation page BFGs (Books for Geeks) Web site 2nd order detail order histories order information order receipt page BFGs (Books for Geeks) Web site 2nd order receipts Order-Confirmation page users clicking 2nd Orderk-Confirmation users clicking 2nd product product pages BFGs (Books for Geeks) Web site 2nd 3rd security BFGs (Books for Geeks) Web site 2nd shopping cart pages BFGs (Books for Geeks) Web site 2nd 3rd 4th Submit order button users clicking 2nd values handing off View Cart button users clicking Web site flow BFGs (Books for Geeks) 2nd 3rd Web sites Apache and Tomcat integrating 2nd 3rd 4th 5th applications automatic startups 2nd database schema, make dist (cleaning up) 2nd writing for multimachine services 2nd BFG entry page entry page, index.jsp wireframe code 2nd 3rd 4th mission statement BFGs (Books for Geeks) 2nd category pages 2nd checkout page 2nd 3rd customer account page 2nd designs 2nd entry page 2nd 3rd order confirmation page 2nd order receipt page 2nd product pages 2nd 3rd promotional discounts 2nd security 2nd shopping cart pages 2nd 3rd 4th code improving 2nd commenting code 2nd 3rd 4th commenting styles 2nd databases tuning 2nd 3rd e-commerce fulfillment systems 2nd XML, Ant scripts code 2nd XML, benefits 2nd XML, DOMProductImporter.java file code 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th 12th 13th 14th XML, integrating 2nd XML, Product.dtd file, code 2nd XML, Products.xml file, code 2nd 3rd 4th XML, SAXProductImporter.java file code 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th XML, SQLQueries.properties file code 2nd XML, writing DOM parser 2nd 3rd 4th 5th XML, writing SAX parser 2nd 3rd 4th 5th 6th XML, Xerces 2nd 3rd 4th finetuning Hello World page, viewing intrusion risks Javadoc 2nd 3rd 4th Promotions.java file, code 2nd 3rd 4th 5th 6th 7th 8th 9th 10th Web site JBoss downloading LDAP Browser/Editor, downloading WEb sites load balancing RandomRedirect.jsp file, code 2nd Web sites load balancing redirectors 2nd round-robin DNS 2nd session persistence 2nd smart switches 2nd model 1 model 2 [See MVC] OpenLDAP downloading playboy.com security issues 2nd playboy.com, security issues 2nd 3rd private enterprise numbers, applying for Sams Publishing security 2nd 3rd 4th administrative 2nd biometric-based CAs (certificate authorities) 2nd 3rd 4th certificates cryptography cyphertext dongle-based fingerprint scanners Linux, installing 2nd 3rd 4th offsite hosting 2nd open ports passwords physical security 2nd PKI (public-key infrastructure) plain text public key cryptography security levels, setting SSL (Secure Socket Layer) 2nd 3rd support tiers 2nd sessions failover fallacy 2nd 3rd sprintf downloading Struts downloading Sun binary distribution, downloading Tomcat and Apache integrating 2nd 3rd 4th 5th Tomcat splash page two-tiered network topography, security issues users %OFF (Percent Off) promotions 2nd BOGOF (Buy One, Get One Free) promotions 2nd clicking Buy button clicking Category pages 2nd clicking Checkout button 2nd clicking Create New User button clicking More Info button clicking My Account button clicking My Address Book button clicking My Order History button clicking My Wallet button clicking Order-Confirmation page 2nd clicking Submit order button 2nd clicking View Cart button product promotions 2nd 3rd 4th users (existing), entering 2nd users (new), entering 2nd Xerces, downloading Web sites [See also Books for Geeks Web site] web.xml file session timeouts code 2nd 3rd web.xml file, code 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th 12th WebLogic EJB (Enterprise JavaBeans) WebLogic platform 2nd WebLogics WebSphere EJB (Enterprise JavaBeans) WebSphere platform 2nd Windows Ant binary distribution, downloading binary distribution, unpacking installing 2nd 3rd PATH environment variable, configuring 2nd Books for Geeks, installing 2nd JDK (Java Developer Kit) binary distribution, downloading 2nd binary distribution, unpacking 2nd installing 2nd 3rd 4th 5th 6th JAVA HOME environment variable, configuring 2nd PATH environment variable, configuring 2nd MySQL, installing 2nd binary distributions, downloading 2nd binary distributions, unpacking MySQL binaries, adding to paths setup, completing SETUP.EXE, running test databases, creating 2nd Windows operating systems, differences among OpenLDAP downloading Tomcat binary distribution, downloading binary distribution, unpacking installing 2nd 3rd windows Tomcat startup wireframes BFG Web site entry page index.jsp code 2nd 3rd 4th BFGs (Books for Geeks) 2nd index.jsp code 2nd 3rd 4th write-through cache writing applications for multimachine services 2nd customers from databases com.bfg.customer.SQLQueries properties file, code 2nd Customer.java file, code 2nd 3rd 4th 5th 6th 7th 8th 9th 10th reads and writes, executing to databases 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th ResourceBundle class DOM parser 2nd 3rd 4th 5th SAX parser 2nd 3rd 4th 5th 6th [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] Xerces 2nd Ant scripts, code 2nd DOM parser, writing 2nd 3rd 4th 5th DOMProductImporter.java file, code 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th 12th 13th 14th downloading Product.dtd file, code 2nd Products.xml file, code 2nd 3rd 4th SAX parser, writing 2nd 3rd 4th 5th 6th SAXProductImporter.java file, code 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th SQLQueries.properties file, code 2nd XML files data, reading 2nd XML Ant scripts, code 2nd build.xml file, code 2nd 3rd 4th 5th 6th 7th 8th content type, setting DOM parser writing 2nd 3rd 4th 5th DOMProductImporter.java file, code 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th 12th 13th 14th e-commerce Web sites 2nd Ant scripts, code 2nd DOM parser, writing 2nd 3rd 4th 5th DOMOrderExporter.java file, code 2nd 3rd 4th 5th 6th 7th 8th DOMProductImporter.java file, code 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th 12th 13th 14th generating 2nd 3rd 4th 5th integrating 2nd Order.dtd file, code 2nd 3rd 4th Order.java file, code 2nd 3rd Product.dtd file, code 2nd Products.xml file, code 2nd 3rd 4th SAX parser, writing 2nd 3rd 4th 5th 6th SAXProductImporter.java file, code 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th SQLQueries.properties file, code 2nd Xerces 2nd 3rd 4th XML orders, code 2nd 3rd 4th files reading with Xerces 2nd orders, code 2nd 3rd 4th SAX parser writing 2nd 3rd 4th 5th 6th SAXProductImporter.java file, code 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th server.xml file code for changing SQLQueries.properties file, code 2nd web.xml file, code 2nd 3rd 4th XMLSerializer ... Index MySQL and JSP Web Applications: DataDriven Programming Using Tomcat and MySQL By James Turner Publisher : Sams Publishing Pub Date : March 27, 2002 ISBN : 0-672-32309-5 Pages : 400 JSP developers encounter unique problems when building web. .. applications and experiment with the book's examples • Table of Contents • Index MySQL and JSP Web Applications: DataDriven Programming Using Tomcat and MySQL By James Turner Publisher : Sams Publishing... JSP developers encounter unique problems when building web applications that require intense database connectivity MySQL and JSP Web Applications addresses the challenges of building data- driven applications based on the JavaServer Pages

Ngày đăng: 26/03/2019, 16:29

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN