Java EE Core Frameworks in Practice (2nd Edition)
Tags
Summary
Editor's review
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
- It is recommended to study the chapters in order and be sure to hands-on complete every example, understanding each step of the configuration
- After mastering individual frameworks, focus on the framework integration sections and reflect on their design principles and alternative approaches
- Use the project cases in the book as templates and try extending their functionality to consolidate your learning
About the publisher
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章 MyBatis 3操作数据库
- 1.1 MyBatis介绍
- 1.2 MyBatis基本使用
- 1.3 使用MyBatis实现CURD-2种数据库(Oracle-MySQL)
- 1.4 MyBatis核心对象的生命周期与封装
- 第2章 MyBatis 3必备开发技能
- 2.1 使用getMapper()面向接口编程
- 2.2 使用typeAliases配置别名
- 2.3 使用properties文件保存数据库信息
- 2.4 与数据源DataSource有关的操作
- 2.5 多数据库执行不同SQL语句的支持
- 2.6 多种获取Mapper的方式
- 2.7 MyBatis3的SQL映射文件与动态SQL
- 2.8 插入超大的字符串String文本内容
- 2.9 对查询的数据进行分页
- 2.10 批处理SQL语句
- 第3章 Struts 2必备开发技能
- 3.1 使用Struts 2进行登录功能的开发
- 3.2 MVC框架的开发模型
- 3.3 Struts 2的刷新验证功能
- 3.4 对Struts 2有刷新验证的示例进行升级
- 3.5 用<s:actionerror>标签显示全部出错信息
- 3.6 出错信息进行传参及国际化
- 3.7 用实体类封装URL中的参数——登录功能的URL封装
- 3.8 Struts 2中的转发操作
- 3.9 由Action重定向到Action——无参数
- 3.10 由Action重定向到Action——有参数
- 3.11 让Struts 2支持多模块多配置文件开发
- 3.12 在Action中有多个业务方法时的处理
- 3.13 自定义全局result
- 3.14 在Action中使用servlet的API(紧耦版)
- 3.15 在Action中使用Servlet的API(松耦版)
- 第4章 Struts 2文件的上传与下载
- 4.1 使用Struts 2进行单文件上传
- 4.2 使用Struts 2进行多文件上传
- 4.3 使用属性驱动形式的文件上传
- 4.4 用Struts 2实现下载文件的功能(支持中文文件名与IE和FireFix兼容)
- 第5章 JSON、Ajax和jQuery与Struts 2联合使用
- 5.1 JSON介绍
- 5.2 用JSON创建对象
- 5.3 用JSON创建字符串的限制
- 5.4 用JSON创建数字类型语法格式
- 5.5 用JSON创建数组对象的语法格式
- 5.6 用JSON创建嵌套的对象类型
- 5.7 将对象转成JSON字符串
- 5.8 将对象转成JSON字符串提交到Action并解析(以post方式提交)
- 5.9 将对象转成JSON字符串提交到Action并解析(以get方式提交)
- 5.10 将数组转成JSON字符串提交到Action并解析(以get和post方式提交)
- 5.11 使用Ajax调用Action并生成JSON再传递到客户端(以get和post方式提交)
- 5.12 jQuery、JSON和Struts 2
- 5.13 在服务器端解析复杂结构的JSON对象
- 第6章 用Hibernate 5操作数据库
- 6.1 Hibernate概述与优势
- 6.2 持久层、持久化与ORM
- 6.3 用MyEclipse开发第一个Hibernate示例
- 第7章 Hibernate 5核心技能
- 7.1 工厂类HibernateSessionFactory.java中的静态代码块
- 7.2 SessionFactory介绍
- 7.3 Session介绍
- 7.4 使用Session实现CURD功能
- 7.5 Hibernate使用JNDI技术
- 7.6 缓存与实体状态
- 7.7 双向一对多在MyEclipse中的实现
- 7.8 Hibernate备忘知识点
- 7.9 对主从表结构中的HashSet进行排序
- 7.10 延迟加载与load()和get()的区别
- 7.11 Hibernate对Oracle中CLOB字段类型的读处理
- 第8章 Hibernate 5使用HQL语言进行检索
- 8.1 Hibernate的检索方式
- 第9章 JPA核心技能
- 9.1 什么是JPA以及为什么要使用JPA
- 9.2 搭建JPA开发环境与逆向
- 9.3 分析逆向出来的Java类
- 9.4 使用IUserinfoDAO.java接口中的方法
- 9.5 JPA核心接口介绍
- 9.6 实体类的状态
- 9.7 使用原生JPA的API实现1个添加记录的操作
- 9.8 从零开始搭建JPA开发环境
- 9.9 EntityManager核心方法的使用
- 9.10 双向一对多的CURD实验
- 9.11 JPQL语言的使用
- 第10章 Spring 4的DI与AOP
- 10.1 Spring介绍
- 10.2 依赖注入
- 10.3 DI容器
- 10.4 AOP的介绍
- 10.5 Spring的架构
- 10.6 一个使用传统方式保存数据功能的测试
- 10.7 在Spring中创建JavaBean
- 10.8 DI的使用
- 10.9 面向切面编程AOP的使用
- 第11章 Struts 2+Hibernate 5+Spring 4整合
- 11.1 目的
- 11.2 创建数据库环境
- 11.3 新建整合用的Web项目
- 11.4 添加Struts 2框架支持
- 11.5 添加Hibernate 5框架支持
- 11.6 添加Spring 4框架支持
- 11.7 创建spring-dao.xml文件
- 11.8 创建spring-service.xml文件
- 11.9 创建spring-controller.xml文件
- 11.10 创建applicationContext.xml文件
- 11.11 在web.xml文件中注册Spring监听器
- 11.12 加Spring 4框架后的Web项目结构
- 11.13 创建Hibernate中的实体类与映射文件
- 11.14 创建Hibernate 5的DAO类
- 11.15 创建UserinfoService.java服务对象
- 11.16 新建一个操作userinfo表数据的Controller控制层
- 11.17 测试成功的结果
- 11.18 测试回滚的结果
- 第12章 Spring 4 MVC核心技能
- 12.1 Spring 4 MVC介绍
- 12.2 Spring 4 MVC第一个登录测试
- 12.3 执行控制层与限制提交的方式
- 12.4 解决多人开发路径可能重复的问题
- 12.5 在控制层中处理指定的提交get或post方式
- 12.6 控制层重定向到控制层————无参数传递
- 12.7 控制层重定向到控制层——有参数传递
- 12.8 匹配URL路径执行指定控制层
- 12.9 在服务器端取得JSON字符串并解析——方式1
- 12.10 在服务器端取得JSON字符串并解析——方式2
- 12.11 将URL中的参数转成实体的示例
- 12.12 在控制层返回JSON对象示例
- 12.13 在控制层传回JSON字符串示例
- 12.14 在控制层取得HttpServletRequest和HttpServletResponse对象
- 12.15 通过URL参数访问指定的业务方法
- 12.16 Spring 4 MVC单文件上传——写法1
- 12.17 Spring 4 MVC单文件上传——写法2
- 12.18 Spring 4 MVC多文件上传
- 12.19 Spring 4 MVC支持中文文件名的文件下载
- 12.20 控制层返回List对象及实体的效果
- 12.21 控制层ModelMap对象
- 12.22 Spring 4 MVC提交的表单进行手动数据验证
- 第13章 Spring 4 MVC必备知识
- 13.1 web.xml中的不同配置方法
- 13.2 路径中添加通配符的功能
- 13.3 业务逻辑层在控制层中进行注入
- 13.4 对象ModelAndView的使用
- 13.5 控制层返回void数据的情况
- 13.6 使用Spring 4 MVC中的注解来操作HttpSession中的对象
- 第14章 Spring 4 MVC+MyBatis 3+Spring 4整合
- 14.1 准备Spring 4的JAR包文件
- 14.2 准备MyBatis的JAR包文件
- 14.3 准备MyBatis 3与Spring 4整合的JAR文件
- 14.4 创建Web项目
- 14.5 配置web.xml文件
- 14.7 配置MyBatis配置文件
- 14.8 创建MyBatis与映射有关文件
- 14.9 配置applicationContext.xml文件
- 14.10 创建Service对象
- 14.11 创建Controller对象
- 14.12 测试正常的效果
- 14.13 测试回滚的效果
- 欢迎来到异步社区!
FAQ
What prior knowledge does this book require of readers?
Are the framework versions covered in this book outdated?
What is the greatest advantage of this book compared with similar books?
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
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.