Spring in Action, 4th Video Edition

Spring in Action, 4th Video Edition

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 19h 27m | 3.19 GB

Spring in Action, Fourth Edition is a hands-on guide to the Spring Framework, updated for version 4. It covers its latest features, tools, and practices including Spring MVC, REST, Security, Web Flow, and more. You’ll move between short snippets and an ongoing example as you learn to build simple and efficient J2EE applications. Author Craig Walls has a special knack for crisp and entertaining examples that zoom in on the features and techniques you really need.

Designed in 2003 as a lighter approach to J2EE development, Spring Framework has since become a standard choice for building enterprise applications and required knowledge for Java developers. Spring 4 provides full Java 8 integration along with key upgrades like new annotations for the IoC container, improvements to Spring Expression Language, and much-needed support for REST. Whether you’re just discovering Spring or you want to absorb the new features, there’s no better way to master Spring than with this book.

Inside:

  • Updated for Spring 4
  • Spring Data for NoSQL
  • Simplifying configuration with annotations and definition profiles
  • Working with RESTful resources

Nearly 100,000 developers have used the book version to learn Spring! Spring in Action requires a working knowledge of Java.

Table of Contents

1 Springing into action
2 Injecting dependencies
3 Applying aspects
4 Eliminating boilerplate code with templates
5 Containing your beans
6 Surveying the Spring landscape
7 The Spring portfolio
8 What’s new in Spring
9 What’s new in Spring 4.0
10 Wiring beans
11 Automatically wiring beans
12 Naming a component-scanned bean
13 Wiring beans with Java
14 Wiring beans with XML
15 Initializing a bean with constructor injection
16 Setting properties
17 Importing and mixing configurations
18 Advanced wiring
19 Activating profiles
20 Conditional beans
21 Addressing ambiguity in autowiring
22 Qualifying autowired beans
23 Scoping beans
24 Runtime value injection
25 Wiring with the Spring Expression Language
26 SPeL operators
27 Aspect-oriented Spring
28 Defining AOP terminology
29 Spring’s AOP support
30 Selecting join points with pointcuts
31 Creating annotated aspects
32 Handling parameters in advice
33 Declaring aspects in XML
34 Introducing new functionality with aspects
35 Building Spring web applications
36 Setting up Spring MVC
37 Enabling Spring MVC
38 Writing a simple controller
39 Passing model data to the view
40 Accepting request input
41 Processing forms
42 Validating forms
43 Rendering web views
44 Creating JSP views
45 Using Spring’s JSP libraries
46 Displaying errors
47 Spring’s general tag library
48 Creating URLs
49 Defining a layout with Apache Tiles views
50 Working with Thymeleaf
51 Defining Thymeleaf templates
52 Advanced Spring MVC
53 Adding additional servlets and filters
54 Processing multipart form data
55 Handling multipart requests
56 Handling exceptions
57 Advising controllers
58 Working with flash attributes
59 Working with Spring Web Flow
60 The components of a flow
61 Transitions
62 Putting it all together – the pizza flow
63 Collecting customer information
64 Building an order
65 Securing web applications
66 Writing a simple security configuration
67 Selecting user details services
68 Applying LDAP-backed authentication
69 Intercepting requests
70 Enforcing channel security
71 Authenticating users
72 Securing the view
73 Working with Thymeleaf’s Spring Security dialect
74 Hitting the database with Spring and JDBC
75 Getting to know Spring’s data-access exception hierarchy
76 Templating data access
77 Configuring a data source
78 Using an embedded data source
79 Using JDBC with Spring
80 Working with JDBC templates
81 Persisting data with object-relational mapping
82 Declaring a Hibernate session factory
83 Spring and the Java Persistence API
84 Configuring an entity manager factory
85 Writing a JPA-based repository
86 Automatic JPA repositories with Spring Data
87 Defining query methods
88 Declaring custom queries
89 Working with NoSQL databases
90 Enabling MongoDB
91 Accessing MongoDB with MongoTemplate
92 Writing a MongoDB repository
93 Working with graph data in Neo4j
94 Annotating graph entities
95 Creating automatic Neo4j repositories
96 Working with key-value data in Redis
97 Setting key and value serializers
98 Caching data
99 Configuring a cache manager
100 Annotating methods for caching
101 Removing cache entries
102 Securing methods
103 Using expressions for method-level security
104 Filtering method inputs and outputs
105 Working with remote services
106 Working with RMI
107 Wiring an RMI service
108 Exposing remote services with Hessian and Burlap
109 Using Spring’s HttpInvoker
110 Publishing and consuming web services
111 Proxying JAX-WS services on the client side
112 Creating REST APIs with Spring MVC
113 Creating your first REST endpoint
114 Negotiating resource representation
115 ContentNegotiationManager added in Spring 3.2
116 Working with HTTP message converters
117 Serving more than resources
118 Setting headers in the response
119 Consuming REST resources
120 Extracting response metadata
121 Receiving object responses from POST requests
122 Exchanging resources
123 Messaging in Spring
124 Assessing the benefits of asynchronous messaging
125 Sending messages with JMS
126 Using Spring’s JMS template
127 Chapter 17 – Setting a default destination
128 Creating message-driven POJOs
129 Using message-based RPC
130 Messaging with AMQP
131 Configuring Spring for AMQP messaging
132 Receiving AMQP messages
133 Messaging with WebSocket and STOMP
134 Coping with a lack of WebSocket support
135 Working with STOMP messaging
136 Handling STOMP messages from the client
137 Sending messages to the client
138 Working with user-targeted messages
139 Sending messages to a specific user
140 Sending email with Spring
141 Constructing rich email messages
142 Generating email with templates
143 Managing Spring beans with JMX
144 Exposing methods by name
145 Working with annotation-driven MBeans
146 Remoting MBeans
147 Handling notifications
148 Simplifying Spring development with Spring Boot
149 Autoconfiguration
150 Building an application with Spring Boot
151 Adding static artifacts
152 Try it out
153 Going Groovy with the Spring Boot CLI
154 Running the Spring Boot CLI
155 Gaining application insight with the Actuator