• Complain

Tejaswini Mandar Jog - Learning Spring 5.0

Here you can read online Tejaswini Mandar Jog - Learning Spring 5.0 full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2017, publisher: Packt Publishing, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Tejaswini Mandar Jog Learning Spring 5.0
  • Book:
    Learning Spring 5.0
  • Author:
  • Publisher:
    Packt Publishing
  • Genre:
  • Year:
    2017
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

Learning Spring 5.0: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Learning Spring 5.0" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Key Features
  • Build an enterprise application throughout the book that communicates with a microservice
  • Define and inject dependencies into your objects using the IoC container
  • Make use of Springs reactive features including tools and implement a reactive Spring MVC application
Book Description

Spring is the most widely used framework for Java programming and with its latest update to 5.0, the framework is undergoing massive changes. Built to work with both Java 8 and Java 9, Spring 5.0 promises to simplify the way developers write code, while still being able to create robust, enterprise applications.

If you want to learn how to get around the Spring framework and use it to build your own amazing applications, then this book is for you.

Beginning with an introduction to Spring and setting up the environment, the book will teach you in detail about the Bean life cycle and help you discover the power of wiring for dependency injection. Gradually, you will learn the core elements of Aspect-Oriented Programming and how to work with Spring MVC and then understand how to link to the database and persist data configuring ORM, using Hibernate.

You will then learn how to secure and test your applications using the Spring-test and Spring-Security modules. At the end, you will enhance your development skills by getting to grips with the integration of RESTful APIs, building microservices, and doing reactive programming using Spring, as well as messaging with WebSocket and STOMP.

What you will learn
  • Get to know the basics of Spring development and gain fundamental knowledge about why and where to use Spring Framework
  • Explore the power of Beans using Dependency Injection, wiring, and Spring Expression Language
  • Implement and integrate a persistent layer in your application and also integrate an ORM such as Hibernate
  • Understand how to manage cross-cutting with logging mechanism, transaction management, and more using Aspect-oriented programming
  • Explore Spring MVC and know how to handle requesting data and presenting the response back to the user
  • Get to grips with the integration of RESTful APIs and Messaging with WebSocket and STOMP
  • Master Reactive Programming using Spring MVC to handle non-blocking streams
About the Author

Tejaswini Mandar Jog is a passionate and enthusiastic Java trainer. She has more than nine years of experience in the IT training field, specializing in Java, J2EE, Spring, and relevant technologies. She has worked with many renowned corporate companies on training and skill enhancement programs. She is also involved in the development of projects using Java, Spring, and Hibernate. She wrote a book, Learning Modular Java Programming, which explores the power of modular programming for building applications with Java and Spring.

She was reading about Spring 5 on the internet when she got an email asking whether she would be interested in writing a book on Spring 5.0. It was a really big responsibility for her to work on this project. She had worked with Spring before, but this was altogether an exciting new experience. They decided to take up the challenge, she and Mandar (her better half).

Table of Contents
  1. Introduction to Spring
  2. Dependency Injection
  3. Accelerate with Spring DAO
  4. Aspect Oriented Programming
  5. Be Consistent : Manage Transaction
  6. Explore Spring MVC
  7. Be Assured: Take a Test Drive
  8. Make it Safe : Security Management
  9. Explore the Power of RESTFul Webservices
  10. Exchange Information: Use Messaging
  11. Be Active : Reactive Programming using Spring

Tejaswini Mandar Jog: author's other books


Who wrote Learning Spring 5.0? Find out the surname, the name of the author of the book and a list of all author's works by series.

Learning Spring 5.0 — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Learning Spring 5.0" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Contents

  • 1: Spring at Glance
    • b'Chapter 1: Spring at Glance'
    • b'Introduction to Spring framework'
    • b'Problems addressed by Spring'
    • b'Spring Architecture'
    • b'What more Spring supports underneath?'
    • b'Spring road map'
    • b'Container-The heart of Spring'
    • b'How beans are available from container?'
    • b'Summary'
  • 2: Dependency Injection
    • b'Chapter 2: Dependency Injection'
    • b'The life of a bean'
    • b'Using JSR-250 annotations for bean lifecycle'
    • b'Instance creation'
    • b'Dependency Injection'
    • b'Summary'
  • 3: Accelerate with Spring DAO
    • b'Chapter 3: Accelerate with Spring DAO'
    • b'How Spring handles database?'
    • b'Object Relation Mapping'
    • b'Summary'
  • 4: Aspect Oriented Programming
    • b'Chapter 4: Aspect Oriented Programming'
    • b'Aspect Oriented Programming (AOP)'
    • b'Part I : Creating application for the core concern(JDBC)'
    • b'PartII: Integration of Log4J'
    • b'Part III: Writing Logging aspect.'
    • b'Annotation based aspect.'
    • b'Introduction'
  • 5: Be Consistent: Transaction Management
    • b'Chapter 5: Be Consistent: Transaction Management'
    • b'Life cycle of transaction management'
    • b'Summary'
  • 6: Explore Spring MVC
    • b'Chapter 6: Explore Spring MVC'
    • b''
    • b''
    • b'Summary'
  • 7: Be assured take a test drive
    • b'Chapter 7: Be assured take a test drive'
    • b''Testing' an important step'
    • b'Testing Tools'
    • b'Pase I Unit testingDAO Unit testing by JUnit'
    • b'Mock Testing'
    • b'Pase II Integration testing'
    • b'Pase III System testing'
    • b'Summary'
  • 8: Explore the Power of Restful Web Services
    • b'Chapter 8: Explore the Power of Restful Web Services'
    • b'Web services'
    • b'Summary'
  • 9: Exchange the Message: The Messaging
    • b'Chapter 9: Exchange the Message: The Messaging'
    • b'Spring and Messaging'
    • b'Overview of WebSocket API'
    • b'SockJS'
    • b'STOMP'
    • b'Summary'
Chapter 1. Spring at Glance

Spring the fresh new start after the winter of traditional J2EE , is what Spring framework is in actual. A complete solution to the most of the problems occurred in handling the development of numerous complex modules collaborating with each other in a Java enterprise application. Spring is not a replacement to the traditional Java Development but it is a reliable solution to the companies to withstand in today's competitive and faster growing market without forcing the developers to be tightly coupled on Spring APIs.

In this topic, we will be going through the following points:

  • Introduction to Spring framework
  • Problems address by Spring in enterprise application development
  • Spring road map
  • What's new in Spring 5.0
Introduction to Spring framework

Rod Johnson is an Australian computer specialist and co-founder of SpringSource. "Expert One on One J2EE Design and Development" was published in November 2002 by him. This book contains about 30000 lines of code, which contains the fundamental concepts like Inversion of Control ( IoC ), Dependency Injection ( DI ) of the framework. This code is referred as interface21. He wrote this code with just an intension to be used by developers to simplify their work, or they can use this as basis of their own development. He never thought of any framework development or anything like that. There happened to be a long discussion at Wrox Forum about the code, its improvement and lot many things. Juregen Holler and Yann Caroffa,were the two readers of the forum who proposed the thought of making the code a base of a new framework. This is the reasoning of Yann, Spring the fresh new start after Winter of traditional J2EE who names the framework as The Spring framework. The project went in public in June 2003 and powered towards 1.0. Then onwards lots of changes and up gradations took place to withstand and support the technologies in market. We aim in this book about the latest version 5.0. In couple of pages we will cover what are the new features added in this version. In subsequent pages we will cover how to use the latest features in your application and how as a developer you can take advantages of.

Problems addressed by Spring

Java Platform is long term, complex, scalable, aggressive, and rapidly developing platform. The application development takes place on a particular version. The applications need to keep on upgrading to the latest version in order to maintain recent standards and cope up with them. These applications have numerous classes which interact with each other, reuse the APIs to take their fullest advantage so as to make the application is running smoothly. But this leads to some very common problems of as.

Scalability

The growth and development of each of the technologies in market is pretty fast both in hardware as well as software. The application developed, couple of years back may get outdated because of this growth in these areas. The market is so demanding that the developers need to keep on changing the application on frequent basis. That means whatever application we develop today should be capable of handling the upcoming demands and growth without affecting the working application. The scalability of an application is handling or supporting the handling of the increased load of the work to adapt to the growing environment instead of replacing them. The application when supports handling of increased traffic of website due to increase in numbers of users is a very simple example to call the application is scalable. As the code is tightly coupled, making it scalable becomes a problem.

Plumbing code

Let's take an example of configuring the DataSource in the Tomcat environment. Now the developers want to use this configured DataSource in the application. What will we do? Yes, we will do the JNDI lookup to get the DataSource. In order to handle JDBC we will acquire and then release the resources in try catch. The code like try catch as we discuss here, inter computer communication, collections too necessary but are not application specific are the plumbing codes. The plumbing code increases the length of the code and makes debugging complex.

Boiler plate code

How do we get the Connection while doing JDBC? We need to register Driver class and invoke the getConnection() method on DriverManager to obtain the connection object. Is there any alternative to these steps? Actually NO! Whenever, wherever we have to do JDBC these same steps have to repeat every time. This kind of repetitive code, block of code which developer write at many places with little or no modification to achieve some task is called as Boilerplate code. The boiler plate code makes the Java development unnecessarily lengthier and complex.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Learning Spring 5.0»

Look at similar books to Learning Spring 5.0. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Learning Spring 5.0»

Discussion, reviews of the book Learning Spring 5.0 and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.