Description |
1 online resource (288 pages) |
Series |
Community Experience Distilled |
|
Community experience distilled.
|
Note |
Includes index. |
Contents |
Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Spring Mongo Integration; Installing MongoDB and creating a database; Setting up a batch file for MongoDB; Order use case with Spring and MongoDB; Mapping a Mongo document to Spring Bean; Setting up a Spring-MongoDB project; Application design; Application implementation of Spring with MongoDB; Order management use case; Creating and inserting Order; Controller to handle requests; Adding the @Modelattribute annotation at the Method level. |
|
CRUD operations of the OrderController classJSP files; Summary; Chapter 2: Messaging with Spring JMS; Types of messaging ; Message consumers; Message structure; Message-driven POJOs and listeners; Open source messaging tools; Apache ActiveMQ; Setting up ApacheMQ for point-to-point messaging; Use case for ApacheMq with Spring JmsTemplate; Spring dependency; Implementing the Order Management Messaging System with SpringJMS and ActiveMQ; Configuring dispatcherservlet.xml to use JMS; Working with multiple queues in ApacheMQ; Configuring JMS transactions. |
|
Configuring multiple JMS listeners and adaptersJMS transactions; Summary; Chapter 3: Mailing with Spring Mail; Spring mail message handling process; Interfaces and classes used for sending mails with Spring; Sending mail using the @Configuration annotation; Sending mail using MailSender and SimpleMailMessage with the XML configuration; Sending mails to multiple recipients; Sending MIME messages ; Sending attachments with mails; Sending preconfigured mails; Using Spring templates with Velocity to send HTML mails; Sending Spring mails over a different thread; Sending Spring mails with AOP. |
|
Intercepting a Spring Batch job with listenersUnit testing Spring Batch applications; Summary; Chapter 5: Spring Integration with FTP; Maven dependency; Spring's XSD for FTP; Configuring an outbound channel adapter for FTP; Configuring an inbound channel adapter for FTP; FTPSessionFactory and FTPSSessionFactory; Spring FTP using an outbound channel example; Configuring Spring FTP to read files in subfolders using the gateway; Configuring Spring FTP in Java; Sending files over FTP using the Spring integration; FTP application using the Spring integration and Spring batch; Summary. |
Summary |
Chapter 4: Jobs with Spring Batch; Introduction to Spring Batch; Use cases for using Spring Batch; Goals of batch processing; Architecture of a batch job; Using an enterprise batch; Dependency for Spring Batch; Key components of Spring Batch; Developing a sample batch application; Creating a sample batch application using the Tasklet interface; Using Spring Batch to read a CSV file ; Spring Batch with a Spring scheduler; Configuring Spring Batch with Quartz scheduler; Using Spring Batch to read a file and update a MongoDB database; Using Spring Batch with threads to partition jobs. |
|
If you are a Java developer with experience in developing applications with Spring, then this book is perfect for you. A good working knowledge of Spring programming conventions and applying dependency injections is recommended to make the most of this book. |
Subject |
Java (Computer program language)
|
|
Java (Langage de programmation) |
|
COMPUTERS -- Programming Languages -- Java. |
|
COMPUTERS -- Internet -- Application Development. |
|
Java (Computer program language) |
Other Form: |
Print version: Mankale, Anjana. Mastering spring application development : gain expertise in developing and caching your applications running on the JVM with spring. Birmingham, [England] ; Mumbai, [India] : Packt Publishing, ©2015 266 pages Community experience distilled. 9781783987320 |
ISBN |
9781783987337 (electronic bk.) |
|
1783987332 (electronic bk.) |
|
9781680157475 (electronic bk.) |
|
1680157477 (electronic bk.) |
|
1783987324 |
|
9781783987320 |
|