MySQL and JSP Web applications
著者
書誌事項
MySQL and JSP Web applications
Sams, c2002
- タイトル別名
-
Data-Driven Programming Using Tomcat and MySQL
大学図書館所蔵 全3件
  青森
  岩手
  宮城
  秋田
  山形
  福島
  茨城
  栃木
  群馬
  埼玉
  千葉
  東京
  神奈川
  新潟
  富山
  石川
  福井
  山梨
  長野
  岐阜
  静岡
  愛知
  三重
  滋賀
  京都
  大阪
  兵庫
  奈良
  和歌山
  鳥取
  島根
  岡山
  広島
  山口
  徳島
  香川
  愛媛
  高知
  福岡
  佐賀
  長崎
  熊本
  大分
  宮崎
  鹿児島
  沖縄
  韓国
  中国
  タイ
  イギリス
  ドイツ
  スイス
  フランス
  ベルギー
  オランダ
  スウェーデン
  ノルウェー
  アメリカ
注記
Includes index
内容説明・目次
内容説明
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.
目次
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.
I. JSP AND JDBC.
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.
2. Java Beans and JSP.
Bean Basics. Bean Persistence. Application-Scoped Object and Singleton Classes. Wrapping Up Beans.
3. Using Servlet Functionality with JSP.
Moving from CGI to Servlets. Looking at an Example Servlet. The End of the Beginning.
II. SAMPLE APPLICATION: FUNCTIONAL REQUIREMENTS.
4. The Sample Application Functional Requirements Document.
Welcome to Books for Geeks. A High-Level View. Diving into Design. Summary.
5. Developing ERDs and Use Cases.
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.
6. the Database Schema and Populating Data.
The Fading Role of the DBA. Building a Database Schema. The Database from 20,000 Feet. Summary.
III. SAMPLE APPLICATION: IMPLEMENTATION.
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.
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.
9. Publishing Data from Database Sources.
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.
10. Session Persistence and Complex Form Handling.
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.
11. Intersession Persistence.
Filling and Spilling. The Address Book. Credit Cards and the Wallet. Time to Get Down to Business.
12. Implementing Business Logic.
Today Only! Buy One, Get One Free! Implementing Promotions. Stubbing Out Taxes and Shipping. Finalizing the Order. Final Confirmation. The Last Mile.
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.
IV. ADVANCED JSP TOPICS.
14. Integrating XML into E-Commerce Web Sites.
The Benefits of XML. The Xerces XML Package. A DTD for Products. Writing a SAX Parser. Writing a DOM Parser. Generating XML. Summary.
15. Using LDAP with JNDI.
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.
16. The Struts Application Framework.
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.
17. Enterprise JavaBeans.
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.
18. Security, Load Balancing, Failover, and Other Considerations.
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.
V. APPENDIXES.
Appendix A. Getting and Installing JDK, Ant, and Tomcat.
Installing JDK Under Windows. Installing JDK Under Linux. Installing Ant Under Windows. Installing Ant Under Linux. Installing Tomcat Under Windows. Installing Tomcat Under Linux.
Appendix B. Getting and Installing MySQL and JDBC for MySQL.
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.
「Nielsen BookData」 より