Java Web Development in Practice: 1200 Examples (Volume 2) cover

Java Web Development in Practice: 1200 Examples (Volume 2)

No rating yet
Word count
1.7K words
Chapters
30
Series
Software Development in Practice: 1200 Examples
ISBN
9787302254867

Tags

Summary

The Java Web Development in Practice: 1200 Examples series collects 1,200 examples in total, split between Volume I and Volume II; this book is Volume II, containing examples 601 through 1,200—600 examples—plus 600 tips and techniques. The book is organized into 7 parts and 23 chapters, starting with popular components: handling XML files with CSS, DTD, and XSD; parsing XML with DOM, JDOM, SAX, and dom4j; and configuring a mail server and using JavaMail to send plain messages, HTML messages, messages with attachments, and bulk mail. It then moves into database applications, covering JDBC connections and operations, SQL statement use, complex queries, and advanced database applications. The charting and statistics part explains JFreeChart basics, basic and extended charts, and chart programming with the Cewolf component; the Ajax frameworks part covers common uses of Prototype, jQuery, and Dojo. The popular frameworks part includes the Struts2 framework and its tag library, Hibernate basics and advanced topics, and Spring framework basics and Spring Web MVC. The final two parts discuss website performance optimization and security strategies, and design patterns and architecture (interface, responsibility, creational, and behavioral patterns plus MVC architecture), then tie the preceding technologies together through website color schemes and typical Java Web project cases (an Ajax chat room, a blog, online voting, a B2C shopping cart, online music, a digital photo album, a Baidu Zhidao clone, and more). Each example is explained in four steps—example description, key techniques, design process, and secret techniques—and the accompanying DVD provides source code for every example.

Editor's review

这套书的思路很直接:把开发中真会遇到的问题拆成一个个可以单独查、单独跑的实例。第Ⅱ卷承接第Ⅰ卷的基础内容,往上走到XML与邮件、数据库复杂查询、图表统计、Ajax三大框架、Struts2/Hibernate/Spring 这些当年企业项目里的主力技术,最后落到设计模式、网站安全与完整项目案例,技术链条相当完整。每个实例只用四步讲完——说明、关键技术、设计过程、秘笈心法,着急时可以直接翻到“关键技术”看要点,慢慢啃也能照着代码走一遍。附赠DVD里是全部实例源码,省去自己敲代码时踩格式坑的时间。它的价值不在讲原理讲得多深,而在于把“这个功能怎么写”直接摆在面前;作为案头速查手册,或者培训机构、高校实践课的配套素材,都很合适。需要提醒的是,书中技术栈停留在Struts2、Hibernate时代的Java Web体系,读者要把它当解题思路与经验参考,而不是当下框架的最佳实践。

Who it's for

A good fit for

  • 正在做Java Web项目、需要随手查具体实现方案的在职开发人员
  • 学过JSP与Servlet基础、想通过动手实例进阶框架应用的初学者
  • 培训机构与高校软件专业教师,可用作实践课案例与讲义素材
  • 需要积累Java Web常见问题解决经验、准备面试的求职者

Not a good fit for

  • 零编程基础、连Java语法都还不熟悉的读者
  • 只想学习Spring Boot、Spring Cloud等现代框架的读者
  • 习惯系统读理论教材、期望完整原理推导而非实例速查的读者

Reading tips

  1. 不必从头读到尾,先按自己项目用到的技术(数据库、图表、Ajax或框架)跳读对应篇章。
  2. 动手前先看“实例说明”和“关键技术”,理解要解决的问题,再对着光盘源码跑通并改参数观察变化。
  3. 书中环境为JDK旧版本与Windows XP/2003/7,运行前需自行调整依赖版本与字符编码等问题。
  4. 把“秘笈心法”部分单独记成笔记,这部分是作者多年踩坑经验的浓缩,比代码本身更耐久。

About the publisher

Tsinghua University Press China · Founded in 1980

Founded in 1980, Tsinghua University Press has 57 titles in our collection, covering popular science, medicine, health, law, philosophy and social sciences. Representative works include medical popular-science books such as Cancer Truth: Doctors Are Reading It Too and New Knowledge on Cancer by Bo Luo (Li Zhizhong), legal titles such as Sunshine Is the Best Preservative: Express Delivery of Major Global Anti-Corruption Cases, and works like Qi Ge's A Brief History of Philosophy with Big Ideas and Liu Yunhao's From the Internet to a New Industrial Revolution. Its authors include science writers, medical researchers, the Renmin University of China anti-corruption master's class and university scholars, reflecting a publishing profile that balances academic seriousness with accessible reading. As public information is limited, this profile is based only on the titles in our collection.

Contents

  1. Part 1 Popular Components
  2. Chapter 1 Working with XML Files
  3. Chapter 2 Sending and Receiving Email
  4. Part 2 Database Applications
  5. Chapter 3 Database Operations
  6. Chapter 4 SQL Statement Techniques
  7. Chapter 5 Complex Query Techniques
  8. Chapter 6 Advanced Database Applications
  9. Part 3 Charts and Statistics
  10. Chapter 7 JFreeChart Basics
  11. Chapter 8 Basic Chart Techniques
  12. Chapter 9 Extended Chart Techniques
  13. Chapter 10 Chart Programming with the Cewolf Component
  14. Part 4 Ajax Frameworks
  15. Chapter 11 The Prototype Framework
  16. Chapter 12 The jQuery Framework
  17. Chapter 13 The Dojo Framework
  18. Part 5 Popular Frameworks
  19. Chapter 14 Struts2 in Practice
  20. Chapter 15 Struts2 Tag Libraries
  21. Chapter 16 Hibernate Basics
  22. Chapter 17 Advanced Hibernate Topics
  23. Chapter 18 Spring Framework Basics
  24. Chapter 19 Spring Web MVC
  25. Part 6 Website Security and Architectural Patterns
  26. Chapter 20 Website Performance Optimization and Security Strategies
  27. Chapter 21 Design Patterns and Architecture
  28. Part 7 Comprehensive Applications
  29. Chapter 22 Website Design and Web Color Schemes
  30. Chapter 23 Typical Java Web Project Cases

FAQ

这本书是整套1200例还是只有一部分?
本书是《Java Web开发实战1200例》的第Ⅱ卷,只包含其中600个实例(整套共1200例,第Ⅰ卷另收600例),需要第Ⅰ卷的编程基础、文件操作、图形图像等内容请另行购置第Ⅰ卷。
附带的DVD里有什么内容?
DVD中提供书中全部实例的源代码,均经过作者调试,并声明可在Windows XP、Windows 2003及Windows 7下编译运行;二手书常缺光盘,购买时需确认。
书中的技术栈现在还能用吗?
书中主要使用XML、JavaMail、JDBC、JFreeChart、Prototype/jQuery/Dojo、Struts2、Hibernate、Spring MVC等,属于2011年前后的主流体系。这些技术仍有存量项目在使用,但新项目更常用Spring Boot,建议把书中内容当作思路与经验参考。
没有基础能直接看第Ⅱ卷吗?
不太合适。第Ⅱ卷从XML操作、邮件发送直接起步,默认读者已掌握JSP、Servlet与Java基础,零基础读者建议先看第Ⅰ卷或系统的Java Web入门教程。

Comments

Find this book

This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.

Top rated in the same category