Java EE Core Frameworks in Practice (2nd Edition) cover

Java EE Core Frameworks in Practice (2nd Edition)

Rating 3.4
Word count
662K words
Chapters
157
ISBN
9787115463616

Tags

Summary

The purpose of Java EE Core Frameworks in Practice (2nd Edition) is to help readers learn Java EE more efficiently and strengthen their hands-on project skills. To that end, the book sets aside technologies that are rarely used or impractical in software companies and instead uses nearly 200 development cases to teach the knowledge needed for developing commercial software, helping readers take an "essential" approach to learning, absorb Java EE ideas, and carry out project practice correctly.

Editor's review

Java EE Core Frameworks in Practice (2nd Edition) is Gao Hongyan's systematic, practice-oriented survey of the core Java EE enterprise development stack, drawing on years of development and teaching experience. Unlike many tutorials that lean toward theory or version listings, its defining feature is a clear hands-on approach. It does not stop at isolated coverage of mainstream frameworks such as Spring, Spring MVC, and MyBatis; it focuses on building a complete, workable body of knowledge, using carefully designed project cases to connect each framework's configuration, integration, and best practices. For developers moving from learning to production, that is extraordinarily valuable. The content keeps pace with the technology, and the second edition gives ample attention to modern approaches such as Spring Boot, reflecting the industry trend toward simplified deployment and greater efficiency. Gao Hongyan's writing is consistently clear and pragmatic, with detailed, well-standardized code examples that help readers build good engineering habits. Overall, this is an excellent practical guide that solidly improves readers' comprehensive Java EE development skills, especially framework integration and application, and it suits learners with some Java background who want to advance into enterprise development as a desk reference. To get the most out of it, read it alongside hands-on practice with the book's code.

Who it's for

A good fit for

  • Students or career changers with a Java SE foundation who wish to systematically learn Java EE enterprise development
  • Junior Java developers who already know some frameworks but lack experience integrating them in complete projects
  • Developers who wish to migrate or upgrade traditional SSM projects to technology stacks such as Spring Boot
  • Intermediate developers who need a practical, integration-focused book usable as a project reference manual

Not a good fit for

  • Absolute beginners with no Java programming foundation
  • Senior architects seeking in-depth research on advanced topics such as cutting-edge microservices and cloud-native technologies

Reading tips

  1. It is recommended to study the chapters in order and be sure to hands-on complete every example, understanding each step of the configuration
  2. After mastering individual frameworks, focus on the framework integration sections and reflect on their design principles and alternative approaches
  3. Use the project cases in the book as templates and try extending their functionality to consolidate your learning

About the publisher

Posts & Telecom Press China · Founded in 1953

Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.

Contents

  1. 版权信息
  2. 内容提要
  3. 前言
  4. 第1章 MyBatis 3操作数据库
  5. 1.1 MyBatis介绍
  6. 1.2 MyBatis基本使用
  7. 1.3 使用MyBatis实现CURD-2种数据库(Oracle-MySQL)
  8. 1.4 MyBatis核心对象的生命周期与封装
  9. 第2章 MyBatis 3必备开发技能
  10. 2.1 使用getMapper()面向接口编程
  11. 2.2 使用typeAliases配置别名
  12. 2.3 使用properties文件保存数据库信息
  13. 2.4 与数据源DataSource有关的操作
  14. 2.5 多数据库执行不同SQL语句的支持
  15. 2.6 多种获取Mapper的方式
  16. 2.7 MyBatis3的SQL映射文件与动态SQL
  17. 2.8 插入超大的字符串String文本内容
  18. 2.9 对查询的数据进行分页
  19. 2.10 批处理SQL语句
  20. 第3章 Struts 2必备开发技能
  21. 3.1 使用Struts 2进行登录功能的开发
  22. 3.2 MVC框架的开发模型
  23. 3.3 Struts 2的刷新验证功能
  24. 3.4 对Struts 2有刷新验证的示例进行升级
  25. 3.5 用<s:actionerror>标签显示全部出错信息
  26. 3.6 出错信息进行传参及国际化
  27. 3.7 用实体类封装URL中的参数——登录功能的URL封装
  28. 3.8 Struts 2中的转发操作
  29. 3.9 由Action重定向到Action——无参数
  30. 3.10 由Action重定向到Action——有参数
  31. 3.11 让Struts 2支持多模块多配置文件开发
  32. 3.12 在Action中有多个业务方法时的处理
  33. 3.13 自定义全局result
  34. 3.14 在Action中使用servlet的API(紧耦版)
  35. 3.15 在Action中使用Servlet的API(松耦版)
  36. 第4章 Struts 2文件的上传与下载
  37. 4.1 使用Struts 2进行单文件上传
  38. 4.2 使用Struts 2进行多文件上传
  39. 4.3 使用属性驱动形式的文件上传
  40. 4.4 用Struts 2实现下载文件的功能(支持中文文件名与IE和FireFix兼容)
  41. 第5章 JSON、Ajax和jQuery与Struts 2联合使用
  42. 5.1 JSON介绍
  43. 5.2 用JSON创建对象
  44. 5.3 用JSON创建字符串的限制
  45. 5.4 用JSON创建数字类型语法格式
  46. 5.5 用JSON创建数组对象的语法格式
  47. 5.6 用JSON创建嵌套的对象类型
  48. 5.7 将对象转成JSON字符串
  49. 5.8 将对象转成JSON字符串提交到Action并解析(以post方式提交)
  50. 5.9 将对象转成JSON字符串提交到Action并解析(以get方式提交)
  51. 5.10 将数组转成JSON字符串提交到Action并解析(以get和post方式提交)
  52. 5.11 使用Ajax调用Action并生成JSON再传递到客户端(以get和post方式提交)
  53. 5.12 jQuery、JSON和Struts 2
  54. 5.13 在服务器端解析复杂结构的JSON对象
  55. 第6章 用Hibernate 5操作数据库
  56. 6.1 Hibernate概述与优势
  57. 6.2 持久层、持久化与ORM
  58. 6.3 用MyEclipse开发第一个Hibernate示例
  59. 第7章 Hibernate 5核心技能
  60. 7.1 工厂类HibernateSessionFactory.java中的静态代码块
  61. 7.2 SessionFactory介绍
  62. 7.3 Session介绍
  63. 7.4 使用Session实现CURD功能
  64. 7.5 Hibernate使用JNDI技术
  65. 7.6 缓存与实体状态
  66. 7.7 双向一对多在MyEclipse中的实现
  67. 7.8 Hibernate备忘知识点
  68. 7.9 对主从表结构中的HashSet进行排序
  69. 7.10 延迟加载与load()和get()的区别
  70. 7.11 Hibernate对Oracle中CLOB字段类型的读处理
  71. 第8章 Hibernate 5使用HQL语言进行检索
  72. 8.1 Hibernate的检索方式
  73. 第9章 JPA核心技能
  74. 9.1 什么是JPA以及为什么要使用JPA
  75. 9.2 搭建JPA开发环境与逆向
  76. 9.3 分析逆向出来的Java类
  77. 9.4 使用IUserinfoDAO.java接口中的方法
  78. 9.5 JPA核心接口介绍
  79. 9.6 实体类的状态
  80. 9.7 使用原生JPA的API实现1个添加记录的操作
  81. 9.8 从零开始搭建JPA开发环境
  82. 9.9 EntityManager核心方法的使用
  83. 9.10 双向一对多的CURD实验
  84. 9.11 JPQL语言的使用
  85. 第10章 Spring 4的DI与AOP
  86. 10.1 Spring介绍
  87. 10.2 依赖注入
  88. 10.3 DI容器
  89. 10.4 AOP的介绍
  90. 10.5 Spring的架构
  91. 10.6 一个使用传统方式保存数据功能的测试
  92. 10.7 在Spring中创建JavaBean
  93. 10.8 DI的使用
  94. 10.9 面向切面编程AOP的使用
  95. 第11章 Struts 2+Hibernate 5+Spring 4整合
  96. 11.1 目的
  97. 11.2 创建数据库环境
  98. 11.3 新建整合用的Web项目
  99. 11.4 添加Struts 2框架支持
  100. 11.5 添加Hibernate 5框架支持
  101. 11.6 添加Spring 4框架支持
  102. 11.7 创建spring-dao.xml文件
  103. 11.8 创建spring-service.xml文件
  104. 11.9 创建spring-controller.xml文件
  105. 11.10 创建applicationContext.xml文件
  106. 11.11 在web.xml文件中注册Spring监听器
  107. 11.12 加Spring 4框架后的Web项目结构
  108. 11.13 创建Hibernate中的实体类与映射文件
  109. 11.14 创建Hibernate 5的DAO类
  110. 11.15 创建UserinfoService.java服务对象
  111. 11.16 新建一个操作userinfo表数据的Controller控制层
  112. 11.17 测试成功的结果
  113. 11.18 测试回滚的结果
  114. 第12章 Spring 4 MVC核心技能
  115. 12.1 Spring 4 MVC介绍
  116. 12.2 Spring 4 MVC第一个登录测试
  117. 12.3 执行控制层与限制提交的方式
  118. 12.4 解决多人开发路径可能重复的问题
  119. 12.5 在控制层中处理指定的提交get或post方式
  120. 12.6 控制层重定向到控制层————无参数传递
  121. 12.7 控制层重定向到控制层——有参数传递
  122. 12.8 匹配URL路径执行指定控制层
  123. 12.9 在服务器端取得JSON字符串并解析——方式1
  124. 12.10 在服务器端取得JSON字符串并解析——方式2
  125. 12.11 将URL中的参数转成实体的示例
  126. 12.12 在控制层返回JSON对象示例
  127. 12.13 在控制层传回JSON字符串示例
  128. 12.14 在控制层取得HttpServletRequest和HttpServletResponse对象
  129. 12.15 通过URL参数访问指定的业务方法
  130. 12.16 Spring 4 MVC单文件上传——写法1
  131. 12.17 Spring 4 MVC单文件上传——写法2
  132. 12.18 Spring 4 MVC多文件上传
  133. 12.19 Spring 4 MVC支持中文文件名的文件下载
  134. 12.20 控制层返回List对象及实体的效果
  135. 12.21 控制层ModelMap对象
  136. 12.22 Spring 4 MVC提交的表单进行手动数据验证
  137. 第13章 Spring 4 MVC必备知识
  138. 13.1 web.xml中的不同配置方法
  139. 13.2 路径中添加通配符的功能
  140. 13.3 业务逻辑层在控制层中进行注入
  141. 13.4 对象ModelAndView的使用
  142. 13.5 控制层返回void数据的情况
  143. 13.6 使用Spring 4 MVC中的注解来操作HttpSession中的对象
  144. 第14章 Spring 4 MVC+MyBatis 3+Spring 4整合
  145. 14.1 准备Spring 4的JAR包文件
  146. 14.2 准备MyBatis的JAR包文件
  147. 14.3 准备MyBatis 3与Spring 4整合的JAR文件
  148. 14.4 创建Web项目
  149. 14.5 配置web.xml文件
  150. 14.7 配置MyBatis配置文件
  151. 14.8 创建MyBatis与映射有关文件
  152. 14.9 配置applicationContext.xml文件
  153. 14.10 创建Service对象
  154. 14.11 创建Controller对象
  155. 14.12 测试正常的效果
  156. 14.13 测试回滚的效果
  157. 欢迎来到异步社区!

FAQ

What prior knowledge does this book require of readers?
Readers need a solid Java SE foundation, familiarity with object-oriented programming, basic data structures, and JDBC operations. Knowledge of web development basics (such as HTTP and Servlets) is a plus, but the book will review necessary parts.
Are the framework versions covered in this book outdated?
Compared with the first edition, the second edition has important updates, covering relatively recent stable versions of frameworks such as Spring, Spring MVC, and MyBatis, and introducing content such as Spring Boot. The technology choices were mainstream at the time of publication and offer strong learning and reference value. Readers pursuing the latest versions (such as Spring 6) are advised to use it as learning material for core principles and integration concepts.
What is the greatest advantage of this book compared with similar books?
Its greatest advantage lies in its strong orientation toward "integration" and "practice." It not only teaches the frameworks themselves but also focuses on how to smoothly and efficiently combine multiple frameworks into a runnable enterprise application, and it provides many solutions to specific problems encountered in actual development—something many theory-oriented books lack.

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.

About the author

高洪岩 Author

Gao Hongyan is a Chinese author of computer technology books. Public information about him is limited, and no reliable records of his nationality, education, or professional background are available. Four of his works are currently listed, all focused on Java enterprise development and distributed systems: practical guides to Spring Boot and Spring MVC, a hands-on explanation of Java EE core frameworks, a book on Spring Cloud Alibaba core technologies with practical cases, and a work on distributed high-performance RPC communication with ZooKeeper and Dubbo 3. His choice of topics shows an emphasis on combining mainstream frameworks and applying them in real projects. His writing is practice-oriented, built around configuration, integration, and case studies, and is aimed at developers who want a systematic grasp of Java back-end development and microservice communication. The books offer practical reference value in the programming design and general computing categories.

More by the same author

Top rated in the same category