Mastering spring application development gain expertise in developing and caching your applications running on the JVM with spring
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.
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham, [England] ; Mumbai, [India] :
Packt Publishing
2015.
|
Edición: | 1st edition |
Colección: | Community experience distilled.
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629304506719 |
Tabla de Contenidos:
- 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
- SummaryChapter 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
- 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
- Chapter 6: Spring Integration with HTTP