轻量级Java EE企业应用实战(第5版)——Struts 2+Spring 5+Hibernate 5/JPA 2整合开发

1.软件版本新!计算机图书所涉及软件版本的重要性不言而喻
本书基于Spring 5,Struts2.5.14,Hibernate 5.2.12,新增JPA的内容,还介绍了Servlet 3.1的新特性以及Tomcat 8.5。
2. 名师名家作品
李刚老师一向是品质的保证,所创作的专业作品深受读者好评,所培训学生中有不少人入职腾讯、阿里、唯品会等IT名企。
3. 图书的附加值超燃
DVD光盘中包含超长视频、丰富代码等内容。为读者提供用于学习交流的配套网站、微信群、QQ群。
4. 经验丰富,针对性强
作者既担任过软件开发的技术经理,也担任过软件公司的培训导师,还从事过职业培训的专职讲师。这些经验影响了作者写书的目的,这不是一本学院派的理论读物,而是一本实际的开发指南。
5.内容实际,实用性强
《轻量级Java EE企业应用实战》所介绍的Java EE应用范例,采用了目前企业流行的开发架构,严格遵守Java EE开发规范,而不是将各种技术杂乱地糅合在一起。
6.高屋建瓴,启发性强
《轻量级Java EE企业应用实战》介绍的几种架构模式,几乎是时下常见的多种Java EE架构模式,有助于提升读者对系统架构设计的把握。
李刚,十余年软件开发从业经验,疯狂软件教育中心教学总监。疯狂Java实训营创始人,疯狂Java体系原创图书作者。广东技术师范学院计算机科学系兼职副教授,CSDN特邀讲师。培训的学生已在腾讯、阿里、华为、IBM、网易、唯品会、电信盈科等名企就职。国内知名高端IT技术图书作家,已出版《疯狂Java讲义》《疯狂Android讲义》《轻量级Java EE企业应用实战》《疯狂前端开发讲义》《疯狂HTML5/CSS3/JavaScript讲义》《疯狂iOS讲义(基础篇)(提高篇)》《疯狂XML讲义》《经典JavaEE企业应用实战》《Struts 2.x quanwei指南》等著作。其中疯狂Java体系图书均已沉淀多年,赢得极高的市场认同,多次重印,多部著作印刷数量超过10万册,并被多所“985”“211”院校选作教材,部分图书已被翻译成繁体中文版,授权到中国台湾地区。
1.1 Java EE应用概述 2
1.1.1 Java EE应用的分层模型 2
1.1.2 Java EE应用的组件 3
1.1.3 Java EE应用的结构和优势 4
1.1.4 常用的Java EE服务器 4
1.2 轻量级Java EE应用相关技术 5
1.2.1 JSP、Servlet 3.x和JavaBean及替代技术 5
1.2.2 Struts 2.5及替代技术 5
1.2.3 Hibernate 5.2及替代技术 6
1.2.4 Spring 5.0及替代技术 6
1.3 Tomcat的下载和安装 7
1.3.1 安装Tomcat服务器 8
1.3.2 配置Tomcat的服务端口 9
经过多年沉淀,Java EE平台已经成为电信、金融、电子商务、保险、证券等各行业的大型应用系统的开发平台。在企业级应用的开发选择上,.Net已趋式微,PHP通常只用于开发一些企业展示站点或小型应用,因此这些开发语言、开发平台基本上已无法与Java EE进行对抗了。
Java EE开发大致可分为两种方式:以Spring为核心的轻量级Java EE企业开发平台;以EJB 3 JPA为核心的经典Java EE开发平台。无论使用哪种平台进行开发,应用的性能、稳定性都有很好的保证,开发人群也有很稳定的保证。
本书介绍的开发平台,就是以Struts 2.5 Spring 5.0 Hibernate 5.2/JPA(在实际项目中可能以MyBatis代替Hibernate/JPA)为核心的轻量级Java EE,这种组合在保留经典Java EE应用架构、高度可扩展性、高度可维护性的基础上,降低了Java EE应用的开发、部署成本,对于大部分中小型企业应用是。在一些需要具有高度伸缩性、高度稳定性的企业应用(比如银行系统、保险系统)中,以EJB 3 JPA为核心的经典Java EE应用则具有一定的占有率。本书姊妹篇《经典Java EE企业应用实战》主要介绍了后一种Java EE开发平台。
Shipping Overview:
• Shipping: Standard Domestic Shipping within the United States charges first item USD 6.99 and additional item USD 3.0 each. Standard International Shipping from United Kingdom, Germany, Italian and Japan to the United States charges first item USD 11.99 and additional item USD 4.0 each.
• Import Duty: Everymarket collects applicable duties and taxes on goods imported into the U.S. at checkout, it's calculated based on the goods value multiply by the rate. For United Kingdom and China goods is 10%, Germany, Italian and Japan goods is 15%. We are committed to making your U.S. shopping experience simple and transparent. The method of delivery—either Delivered Duty Paid (DDP) or Delivered Duty Unpaid (DDU)—depends on whether duties and taxes are collected at the time of your purchase.
• Order Processing: Please allow 1-2 business days for order processing and preparation before shipment.
• Domestic Shipping: Orders within the U.S. are shipped via USPS or FedEx, depending on the origin of the product. Average transit times to the United States is 3 - 7 Business days and average transit times to International is 7 - 14 Business days
• International Shipping: Currently, we only ship within the USA.
• Tracking Information: Every order is trackable. You will receive a tracking number once your order has been shipped. Products may be shipped from various global fulfillment centers.
Shipping Delays:
Please note that shipping times may vary due to factors beyond our control, such as weather conditions, natural disasters, or peak holiday periods. While we strive to ensure timely delivery, the exact arrival time cannot be guaranteed and is managed by the shipping carrier.
Shipping Options:
-
Standard Delivery: Most orders are shipped within 3-7 business days. Larger items may utilize LTL shipping for safe handling.
-
Handling Time: We handle shipments on business days (Monday - Friday), with a preparation time of 1-2 days.
-
Additional Charges: Some items require additional shipping charges due to their size, weight, or special handling. These charges are specified on the product pages and are not eligible for shipping discounts.
-
Exclusions: Gift cards, packaging, taxes, and prior purchases do not count toward the minimum purchase requirement for free shipping. This offer is valid only for shipments to U.S. addresses, including Puerto Rico.
Delivery Details:
-
Estimates: Standard shipping within the US typically takes 3-7 business days. These are estimates and not guarantees.
-
Shipping Restrictions: We ship to all 50 states, Washington, DC, U.S. territories, and APO/FPO/DPO addresses. Shipping options vary based on the delivery address.
-
Remote Areas: Shipments to remote areas may incur additional charges or require pickup from a nearby shipping partner’s location.
Shipping Confirmation:
You will receive a shipping confirmation email with a tracking number as soon as your order is dispatched. If you do not receive this email immediately, please be assured that your items will arrive within the estimated delivery window provided at checkout.
Order Modifications:
If you need to cancel or modify your order, please contact our customer support immediately.
Issues with Delivery:
If your order shows as delivered but you have not received it, please contact the shipping carrier directly to resolve the issue. For persistent problems, contact our customer service at cs@everymarket.com.
Customer Support:
Our team is available 24/7 to assist you with any questions or concerns regarding your order. We are committed to ensuring a smooth shopping experience.
Return & Refund Policy Overview
Please review our return and refund policies below to ensure a smooth transaction process.
Return Policy
-
Duration: You have 30 days from receiving your item to initiate a return.
-
Condition: Items must be unworn, unwashed, with original tags and packaging intact.
-
Shipping Costs:
- If your return is approved due to a defective, damaged, or incorrect item, we will provide a prepaid return shipping label at no cost.
- If the item has no quality issues and matches the product listing and description, please contact our Customer Service team before returning it. Once your return is authorized, you must return the item according to the provided instructions. In this case, the return shipping cost is the customer's responsibility.
- We are not responsible for return shipping costs for items returned without prior authorization. -
Packaging: Ensure returned items are well-packaged to avoid damage during transit.
-
Tracking: Use a trackable and insured shipping method as we are not liable for items lost or damaged on return.
-
Initiating a Return: Contact us at cs@everymarket.com to start your return. We will provide a return shipping label and instructions upon approval. Returns without prior approval will not be accepted.
How to Return
-
Method: Returns must be sent back by mail to the address provided in the return instructions.
Return Label
-
Please contact us to get return labels.
Product Conditions for Return
-
Eligible Products: Returns are only accepted for items in new condition.
Nonreturnable Items
Certain items are not eligible for return:
-
Electronic devices after 30 days (e.g., computers, laptops, Kindles)
-
Gift cards, prepaid game cards
-
Perishable goods, live insects, some jewelry, some health and personal care items
-
Customized or personalized products
-
Items with special shipping restrictions
Refund Policy
-
Window: Eligible products may be returned within 30 days of delivery for a refund.
-
Refund Method: Refunds are processed to the original payment method or as store credit for items purchased with gift cards.
-
Processing Time: Refunds are processed within 3-5 business days after we receive the return; please allow additional time for shipping and bank processing.
Claims
Inspect your order upon arrival and report any defects, damages, or incorrect items immediately to allow us to address the issue. For claims, contact our support team with details of the issue.
Exchange Policy
For the quickest service, return your original item and place a new order for the desired product once your return is accepted.
Return Address
EveryMarket Customer Service 2101 E Terra Ln, O'Fallon, MO 63366
Customer Support
Available 24/7 for any questions or assistance needed:
-
Phone: +1 (800) 660-3783
-
Email: cs@everymarket.com

1.软件版本新!计算机图书所涉及软件版本的重要性不言而喻
本书基于Spring 5,Struts2.5.14,Hibernate 5.2.12,新增JPA的内容,还介绍了Servlet 3.1的新特性以及Tomcat 8.5。
2. 名师名家作品
李刚老师一向是品质的保证,所创作的专业作品深受读者好评,所培训学生中有不少人入职腾讯、阿里、唯品会等IT名企。
3. 图书的附加值超燃
DVD光盘中包含超长视频、丰富代码等内容。为读者提供用于学习交流的配套网站、微信群、QQ群。
4. 经验丰富,针对性强
作者既担任过软件开发的技术经理,也担任过软件公司的培训导师,还从事过职业培训的专职讲师。这些经验影响了作者写书的目的,这不是一本学院派的理论读物,而是一本实际的开发指南。
5.内容实际,实用性强
《轻量级Java EE企业应用实战》所介绍的Java EE应用范例,采用了目前企业流行的开发架构,严格遵守Java EE开发规范,而不是将各种技术杂乱地糅合在一起。
6.高屋建瓴,启发性强
《轻量级Java EE企业应用实战》介绍的几种架构模式,几乎是时下常见的多种Java EE架构模式,有助于提升读者对系统架构设计的把握。
李刚,十余年软件开发从业经验,疯狂软件教育中心教学总监。疯狂Java实训营创始人,疯狂Java体系原创图书作者。广东技术师范学院计算机科学系兼职副教授,CSDN特邀讲师。培训的学生已在腾讯、阿里、华为、IBM、网易、唯品会、电信盈科等名企就职。国内知名高端IT技术图书作家,已出版《疯狂Java讲义》《疯狂Android讲义》《轻量级Java EE企业应用实战》《疯狂前端开发讲义》《疯狂HTML5/CSS3/JavaScript讲义》《疯狂iOS讲义(基础篇)(提高篇)》《疯狂XML讲义》《经典JavaEE企业应用实战》《Struts 2.x quanwei指南》等著作。其中疯狂Java体系图书均已沉淀多年,赢得极高的市场认同,多次重印,多部著作印刷数量超过10万册,并被多所“985”“211”院校选作教材,部分图书已被翻译成繁体中文版,授权到中国台湾地区。
1.1 Java EE应用概述 2
1.1.1 Java EE应用的分层模型 2
1.1.2 Java EE应用的组件 3
1.1.3 Java EE应用的结构和优势 4
1.1.4 常用的Java EE服务器 4
1.2 轻量级Java EE应用相关技术 5
1.2.1 JSP、Servlet 3.x和JavaBean及替代技术 5
1.2.2 Struts 2.5及替代技术 5
1.2.3 Hibernate 5.2及替代技术 6
1.2.4 Spring 5.0及替代技术 6
1.3 Tomcat的下载和安装 7
1.3.1 安装Tomcat服务器 8
1.3.2 配置Tomcat的服务端口 9
经过多年沉淀,Java EE平台已经成为电信、金融、电子商务、保险、证券等各行业的大型应用系统的开发平台。在企业级应用的开发选择上,.Net已趋式微,PHP通常只用于开发一些企业展示站点或小型应用,因此这些开发语言、开发平台基本上已无法与Java EE进行对抗了。
Java EE开发大致可分为两种方式:以Spring为核心的轻量级Java EE企业开发平台;以EJB 3 JPA为核心的经典Java EE开发平台。无论使用哪种平台进行开发,应用的性能、稳定性都有很好的保证,开发人群也有很稳定的保证。
本书介绍的开发平台,就是以Struts 2.5 Spring 5.0 Hibernate 5.2/JPA(在实际项目中可能以MyBatis代替Hibernate/JPA)为核心的轻量级Java EE,这种组合在保留经典Java EE应用架构、高度可扩展性、高度可维护性的基础上,降低了Java EE应用的开发、部署成本,对于大部分中小型企业应用是。在一些需要具有高度伸缩性、高度稳定性的企业应用(比如银行系统、保险系统)中,以EJB 3 JPA为核心的经典Java EE应用则具有一定的占有率。本书姊妹篇《经典Java EE企业应用实战》主要介绍了后一种Java EE开发平台。
Shipping Overview:
• Shipping: Standard Domestic Shipping within the United States charges first item USD 6.99 and additional item USD 3.0 each. Standard International Shipping from United Kingdom, Germany, Italian and Japan to the United States charges first item USD 11.99 and additional item USD 4.0 each.
• Import Duty: Everymarket collects applicable duties and taxes on goods imported into the U.S. at checkout, it's calculated based on the goods value multiply by the rate. For United Kingdom and China goods is 10%, Germany, Italian and Japan goods is 15%. We are committed to making your U.S. shopping experience simple and transparent. The method of delivery—either Delivered Duty Paid (DDP) or Delivered Duty Unpaid (DDU)—depends on whether duties and taxes are collected at the time of your purchase.
• Order Processing: Please allow 1-2 business days for order processing and preparation before shipment.
• Domestic Shipping: Orders within the U.S. are shipped via USPS or FedEx, depending on the origin of the product. Average transit times to the United States is 3 - 7 Business days and average transit times to International is 7 - 14 Business days
• International Shipping: Currently, we only ship within the USA.
• Tracking Information: Every order is trackable. You will receive a tracking number once your order has been shipped. Products may be shipped from various global fulfillment centers.
Shipping Delays:
Please note that shipping times may vary due to factors beyond our control, such as weather conditions, natural disasters, or peak holiday periods. While we strive to ensure timely delivery, the exact arrival time cannot be guaranteed and is managed by the shipping carrier.
Shipping Options:
-
Standard Delivery: Most orders are shipped within 3-7 business days. Larger items may utilize LTL shipping for safe handling.
-
Handling Time: We handle shipments on business days (Monday - Friday), with a preparation time of 1-2 days.
-
Additional Charges: Some items require additional shipping charges due to their size, weight, or special handling. These charges are specified on the product pages and are not eligible for shipping discounts.
-
Exclusions: Gift cards, packaging, taxes, and prior purchases do not count toward the minimum purchase requirement for free shipping. This offer is valid only for shipments to U.S. addresses, including Puerto Rico.
Delivery Details:
-
Estimates: Standard shipping within the US typically takes 3-7 business days. These are estimates and not guarantees.
-
Shipping Restrictions: We ship to all 50 states, Washington, DC, U.S. territories, and APO/FPO/DPO addresses. Shipping options vary based on the delivery address.
-
Remote Areas: Shipments to remote areas may incur additional charges or require pickup from a nearby shipping partner’s location.
Shipping Confirmation:
You will receive a shipping confirmation email with a tracking number as soon as your order is dispatched. If you do not receive this email immediately, please be assured that your items will arrive within the estimated delivery window provided at checkout.
Order Modifications:
If you need to cancel or modify your order, please contact our customer support immediately.
Issues with Delivery:
If your order shows as delivered but you have not received it, please contact the shipping carrier directly to resolve the issue. For persistent problems, contact our customer service at cs@everymarket.com.
Customer Support:
Our team is available 24/7 to assist you with any questions or concerns regarding your order. We are committed to ensuring a smooth shopping experience.
Return & Refund Policy Overview
Please review our return and refund policies below to ensure a smooth transaction process.
Return Policy
-
Duration: You have 30 days from receiving your item to initiate a return.
-
Condition: Items must be unworn, unwashed, with original tags and packaging intact.
-
Shipping Costs:
- If your return is approved due to a defective, damaged, or incorrect item, we will provide a prepaid return shipping label at no cost.
- If the item has no quality issues and matches the product listing and description, please contact our Customer Service team before returning it. Once your return is authorized, you must return the item according to the provided instructions. In this case, the return shipping cost is the customer's responsibility.
- We are not responsible for return shipping costs for items returned without prior authorization. -
Packaging: Ensure returned items are well-packaged to avoid damage during transit.
-
Tracking: Use a trackable and insured shipping method as we are not liable for items lost or damaged on return.
-
Initiating a Return: Contact us at cs@everymarket.com to start your return. We will provide a return shipping label and instructions upon approval. Returns without prior approval will not be accepted.
How to Return
-
Method: Returns must be sent back by mail to the address provided in the return instructions.
Return Label
-
Please contact us to get return labels.
Product Conditions for Return
-
Eligible Products: Returns are only accepted for items in new condition.
Nonreturnable Items
Certain items are not eligible for return:
-
Electronic devices after 30 days (e.g., computers, laptops, Kindles)
-
Gift cards, prepaid game cards
-
Perishable goods, live insects, some jewelry, some health and personal care items
-
Customized or personalized products
-
Items with special shipping restrictions
Refund Policy
-
Window: Eligible products may be returned within 30 days of delivery for a refund.
-
Refund Method: Refunds are processed to the original payment method or as store credit for items purchased with gift cards.
-
Processing Time: Refunds are processed within 3-5 business days after we receive the return; please allow additional time for shipping and bank processing.
Claims
Inspect your order upon arrival and report any defects, damages, or incorrect items immediately to allow us to address the issue. For claims, contact our support team with details of the issue.
Exchange Policy
For the quickest service, return your original item and place a new order for the desired product once your return is accepted.
Return Address
EveryMarket Customer Service 2101 E Terra Ln, O'Fallon, MO 63366
Customer Support
Available 24/7 for any questions or assistance needed:
-
Phone: +1 (800) 660-3783
-
Email: cs@everymarket.com
Oops!
Sorry, it looks like some products are not available in selected quantity.

