Home » spring » Page 12

Tag Archives: spring

Spring and Hibernate Example

Welcome readers, in this tutorial, we will create a simple application that uses the spring and Hibernate framework to display the user details on a webpage. For this tutorial, we’ll have a welcome page that fetches the user records from the MySQL database and displays it on the interface. 1. Introduction Developers can refer to this link to briefly understand the Spring, ...

Read More »

Spring MVC and Hibernate Login Form Example

Hello readers, in this tutorial we will create a simple login application that uses the spring and Hibernate framework to validate the user’s credentials.                     Table Of Contents 1. Introduction 1.1 What is Spring framework? 1.2 What is Hibernate? 2. Spring MVC and Hibernate Login Form Example 2.1 Tools Used 2.2 ...

Read More »

Spring MVC CRUD using MongoDB Tutorial

Hello readers, in this tutorial we will create a simple Spring MVC application that uses a document-oriented NoSQL database for its database layer. For this tutorial, we’ll perform the basic Create, Read, Update, and Delete database operations for managing the list of users.                 Table Of Contents 1. Introduction 1.1 What is Spring ...

Read More »

Spring JdbcBeanDefinitionReader Example

This article is about the Spring JdbcBeanDefinitionReader. When would you use this class? When you want to dynamically add externally defined bean definitions in Spring. The Spring JdbcBeanDefinitionReader is a bean definition reader that reads values from a database table and expects columns for bean name, property name and value as String. The formats for each are identical to the ...

Read More »

Spring Security Login Example

In this article we will learn how to use spring security to create a simple login page. You will need an IDE (I am using IDEA IntelliJ), JDK 1.8 or later, Maven 3.0+. 1. Introduction The Spring Framework provides a comprehensive programming and configuration model for modern Java-based enterprise applications – on any kind of deployment platform. A key element ...

Read More »

Spring Integration FTP Gateway Example

1. Introduction Spring Integration provides gateways and adapters as a means to connect to external endpoints. In his blog, Josh Long explained the difference between adapters and gateways as: An adapter receives messages from an external messaging system (JMS, e-mail, SFTP, whatever) and “adapts” it to the messaging system (as a Spring Integration Message). Once a message comes in, via ...

Read More »

Spring Boot Security Example

Hi Spring Boot fans. Today, we will follow how Nick added Spring Boot Security to his web application. We will see how Nick protects his resources by adding Spring Boot Security. Spring Security provides a wide-range of security services services for Java EE-based enterprise software applications. The two main areas of application security that Spring Security targets are “authentication and ...

Read More »

Spring Boot Actuator Example

The Spring Boot Actuator helps you monitor and manage your application when you deploy it to production. Monitoring, gathering metrics, understanding the state of your app, etc. can be automatically applied when using this library. There are two ways of managing and monitoring your application, HTTP endpoint and JMX. This example demonstrates the HTTP endpoint. 1. Tools Apache Maven Mars ...

Read More »

Spring Batch Hibernate Example

This article is a tutorial about Spring Batch with Hibernate. We will use Spring Boot to speed our development process. 1. Introduction Spring Batch is a lightweight, scale-able and comprehensive batch framework to handle data at massive scale. Spring Batch builds upon the spring framework to provide intuitive and easy configuration for executing batch applications. Spring Batch provides reusable functions ...

Read More »

Vaadin Spring Example

1. Introduction Vaadin is a web application framework written in Java, and is built on Google Web Toolkit from Vaadin Ltd. Spring Framework is a Java application framework that provides many useful services for building applications. Vaadin provides a Vaadin Spring add-on based on the core parts of vaadin4spring to make classes for UI and View as Spring managed beans so Spring dependency injection can be used. In this ...

Read More »