Spring Essentials(Paperback)

Shameer Kunjumohamed, Hamidreza Sattari

  • 出版商: Packt Publishing
  • 出版日期: 2016-02-23
  • 售價: $1,980
  • 貴賓價: 9.5$1,881
  • 語言: 英文
  • 頁數: 260
  • 裝訂: Paperback
  • ISBN: 1783982349
  • ISBN-13: 9781783982349
  • 相關分類: Java 相關技術
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Build mission-critical enterprise applications using Spring Framework and Aspect Oriented Programming

About This Book

  • Step into more advanced features of aspect-oriented programming and API components to build enterprise grade systems
  • Build lightning-fast web applications and REST APIs using Spring MVC and its asynchronous processing capabilities with the view technologies of your choice
  • Explore simplified but powerful data access techniques including JPA (Java Persistence Architecture) repositories and NoSQL data access

Who This Book Is For

If you are a Java developer who is looking to master Enterprise Java Development using Spring Framework, then this book is ideal for you. Prior understanding of core Java programming and a high-level understanding of Spring Framework is recommended. Having sound knowledge of servlet-based web development in Java and basic Database concepts would be an advantage but not a requirement.

What You Will Learn

  • Set up and build standalone and web-based projects using Spring Framework with Maven or Gradle
  • Get familiar with JSP Form processing using Spring and Form Tag Library
  • Develop RESTful API applications for XML and JSON data transfers with non-blocking asynchronous capabilities
  • Explore Spring's comprehensive transaction support for declarative Transaction Management and its integration with Spring's data access abstractions
  • Investigate Spring Data access mechanisms with Spring Data Repositories, a simple and consistent data-access abstraction
  • Construct real-time applications using WebSocket with a SockJS fallback option
  • Understand how to secure your Spring Web and standalone applications using Spring Security declaratively and consistently
  • Get to grips with the end-to-end development of an API-based modern SPA using EmberJS at the front end and SpringMVC at the back end

In Detail

Spring is an open source Java application development framework to build and deploy systems and applications that run on the JVM. It is the industry standard and the most popular framework among Java developers with over two-thirds of developers using it.

Spring Essentials makes learning Spring so much quicker and easier with the help of illustrations and practical examples. Starting from the core concepts of features such as inversion of Control Container and BeanFactory, we move on to a detailed look at aspect-oriented programming. We cover the breadth and depth of Spring MVC, the WebSocket technology, Spring Data, and Spring Security with various authentication and authorization mechanisms.

Packed with real-world examples, you'll get an insight into utilizing the power of Spring Expression Language in your applications for higher maintainability. You'll also develop full-duplex real-time communication channels using WebSocket and integrate Spring with web technologies such as JSF, Struts 2, and Tapestry. At the tail end, you will build a modern SPA using EmberJS at the front end and a Spring MVC-based API at the back end.By the end of the book, you will be able to develop your own dull-fledged applications with Spring.

Style and approach

This book is a practical guide based on logical modules of the whole Spring Framework family, with a start-small approach, increasing in complexity as it progresses. Every chapter is an amalgamation of theory and practical examples, with further discussion on additional features and approaches.

商品描述(中文翻譯)

使用Spring Framework和面向方面的编程构建关键任务的企业应用程序

关于本书

- 进入更高级的面向方面编程和API组件功能,构建企业级系统
- 使用Spring MVC和其异步处理能力以及您选择的视图技术,构建快速的Web应用程序和REST API
- 探索简化但强大的数据访问技术,包括JPA(Java持久性架构)存储库和NoSQL数据访问

本书适合对象

如果您是一名Java开发人员,希望通过使用Spring Framework来掌握企业级Java开发,那么本书非常适合您。建议您具备核心Java编程的基本理解和对Spring Framework的高级理解。对于使用Java进行基于servlet的Web开发和基本数据库概念有扎实知识将是一个优势,但不是必需的。

您将学到什么

- 使用Maven或Gradle设置和构建独立和基于Web的项目
- 了解使用Spring和Form标签库进行JSP表单处理
- 使用非阻塞异步功能为XML和JSON数据传输开发RESTful API应用程序
- 探索Spring的全面事务支持,用于声明性事务管理以及与Spring数据访问抽象的集成
- 使用Spring Data存储库进行Spring数据访问机制的研究,这是一个简单而一致的数据访问抽象
- 使用SockJS回退选项构建实时应用程序的WebSocket
- 了解如何使用Spring Security声明性和一致地保护Spring Web和独立应用程序
- 掌握基于API的现代SPA的端到端开发,前端使用EmberJS,后端使用SpringMVC

详细内容

Spring是一个开源的Java应用程序开发框架,用于构建和部署在JVM上运行的系统和应用程序。它是业界标准,也是Java开发人员中最流行的框架,超过三分之二的开发人员使用它。

《Spring Essentials》通过插图和实际示例,使学习Spring变得更快更容易。从核心概念开始,如控制反转容器和BeanFactory,我们深入研究面向方面的编程。我们涵盖了Spring MVC、WebSocket技术、Spring Data和Spring Security的广度和深度,以及各种身份验证和授权机制。

书中充满了实际示例,您将了解如何在应用程序中利用Spring表达式语言的强大功能,以提高可维护性。您还将使用WebSocket开发全双工实时通信通道,并将Spring与JSF、Struts 2和Tapestry等Web技术集成。最后,您将使用EmberJS构建现代SPA,前端使用Spring MVC为基础的API。通过本书,您将能够开发自己的完整应用程序。

风格和方法

本书是基于整个Spring Framework系列的逻辑模块的实用指南,采用逐步增加复杂性的方法。每一章都是理论和实际示例的融合,还会进一步讨论其他功能和方法。