img
Using JMS in Spring: The Java Messaging Service (JMS) provides another
·
asynchronous and loosely coupled way of exchanging messages between
applications. We will show you how Spring simplifies application development
with JMS.
Using RESTful web services in Spring: Designed specifically around the HTTP
·
protocol, RESTful web services are the most commonly used technology for
providing remote support for an application, as well as supporting highly
interactive web application frontends using Ajax. We will show you how Spring 3
MVC provides comprehensive support for exposing services using JAX-RS and
how to invoke services using the RestTemplate class. We will also discuss how to
secure the services for protecting unauthorized access to the services.
Creating the Project in STS for the Samples
Let's create the project for the samples in this chapter. Since we will expose the developed services via
HTTP, we need to create a web-based project with Spring MVC. In STS, create a new Spring template
project and choose Spring MVC Project, as shown in Figure 16-1.
Figure 16-1. Creating a Spring MVC project in STS
On the next screen, enter the information for the project for the samples in this chapter, as shown in
Figure 16-2.
Search WWH :
Custom Search
Previous Page
Spring Framework 3 Topic Index
Next Page
Spring Framework 3 Bookmarks
Home