Book Image

Learning Spring 5.0

By : Tejaswini Mandar Jog
Book Image

Learning Spring 5.0

By: Tejaswini Mandar Jog

Overview of this book

<p>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.</p> <p>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.</p> <p>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.</p> <p>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.</p>
Table of Contents (18 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
9
Explore the Power of RESTful Web Services

Testing tools


The following are the available test tools for the Java platform.

JTest

JTest is an automated software testing and coding standard compliance tool for the Java platform developed by Parasoft in 1997. The tool leverages unit as well as integration testing. The tool facilitates analyzing the classes, and generation and execution of test cases in the same format as that of the JUnit test cases.

The following are the features of JTest:

  • Along with testing, it covers and exposes the runtime exceptions that a developer normally doesn't catch
  • The tool also verifies if the class follows the Design by Contract (DbC) basis
  • It ensures that the code follows the 400 standard rules of coding, and checks the code against 200 violation rules
  • It can also identify problems such as functional errors, memory leakage, and security vulnerabilities
  • Jcontract is a tool from JTest, which verifies the functionality requirements during integration testing without hampering the performance of the application

JMeter...