Tutorial by Topics: spring

This section provides an overview of what spring-cloud is, and why a developer might want to use it. It should also mention any large subjects within spring-cloud, and link out to the related topics. Since the Documentation for spring-cloud is new, you may need to create initial versions of thos...
In Spring MVC it is possible to validate form fields using Bean Validation API (JSR 303 for Bean Vaidation 1.0 and JSR 349 for Bean Validation 1.1) that is used to define validation constraints of the JavaBean object. Hibernate Validator is Bean Validation API reference implementation. Hibernate ...
We know that spring-boot by default runs using H2 database. In this article, we will see how to tweak the default configuration to work with MySQL database. As a pre-requisite, make sure that MySQL is already running on port 3306 and has your database created.
Typical database backed, annotation base spring security setup. configureGlobal() configure the auth object. The later two SQLs may be optional. configure() method tells spring mvc how to authenticate request some url we do not need to authenticate others will redirect to /login if not yet...
The Spring Boot CLI allows you to easily create and work with Spring Boot applications from the command-line. Once installed, the Spring Boot CLI can be run using the spring command: To get command-line help: $ spring help To create and run your first Spring Boot Project: $ spring init m...
Pagination by passing parmeter with custom query in spring data JPA
This thread is focused on how to create a spring boot application with hibernate and thymyleaf template engine. Also check the Thymeleaf documentation
This section provides an overview of what spring-data-rest is, and why a developer might want to use it. It should also mention any large subjects within spring-data-rest, and link out to the related topics. Since the Documentation for spring-data-rest is new, you may need to create initial ver...
Spring Boot can be used to build and persist a SQL Relational DataBase. You can choose to connect to an H2 in memory DataBase using Spring Boot, or perhaps choose to connect to MySql DataBase, it's completely your choice. If you want to conduct CRUD operations against your DB you can do it using Jdb...
Spring has JSR303 bean validation support. We can use this to do input bean validation. Seperate validation logic from business logic using JSR303.
The point of this wiki is to show you how to execute integration tests using Apache Camel. More precisely, doing this you will be able to launch an existing route from beginning to end (With or without your real database) or intercept the exchange between each part of the route and test if your hea...
In this topic you'll read about annotations mainly related to Spring MVC. Some of the related annotations are as follows: @Controller, @RequestMapping, @RequestParam, @RequestBody, @ResponseBody, @RestController, @ModelAttribute, @ControllerAdvice, @ExceptionHandler, @ResponseStatus. Of course ther...
This section provides an overview of what spring-aop is, and why a developer might want to use it. It should also mention any large subjects within spring-aop, and link out to the related topics. Since the Documentation for spring-aop is new, you may need to create initial versions of those rel...
Spring Data Elasticsearch is a Spring Data implementation for Elasticsearch which provides integration with the Elasticsearch search engine.

Page 2 of 2