Home » Enterprise Java » Page 38

Enterprise Java

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 »

Spring Data JPARepository Example

1. Introduction Spring Data is a part of Spring Framework. It simplifies the data access process for both relational and non-relational databases. Java Persistence API (JPA) is Java’s standard API specification for object-relational mapping. Spring Data JPA is a part of Spring Data and it supports Hibernate 5, OpenJPA 2.4, and EclipseLink 2.6.1. Spring Data repository significantly reduces the amount of boilerplate code required to implement data access layers ...

Read More »

Vaadin Web Application Example in Java

1. Introduction A web application is an application program that is stored on a remote server and delivered over the Internet through a browser interface. Vaadin is a web application framework written in Java, and is built on Google Web Toolkit from Vaadin Ltd. It is designed for creating rich and interactive applications that run in the browser. By design, Vaadin is compatible with any Java ...

Read More »

Log4j BufferSize Example

This article is a tutorial about log priority levels in Log4j. In this tutorial, we are going to configure log4j via property files. 1. Introduction Log4J (Java) is a widely used logging framework for Java. It continues to grow continuously with the recent upgrade to Log4j2. Log4j supports logging via Logger, Appender and Layouts. Logger is the interaction point for ...

Read More »

Spring Integration Database Polling Example

1. Introduction Spring Integration provides JDBC channel adapters that connect a channel to a database. In the case of the inbound adapter, a database is the source on which an SQL query can be run and the complete result set is available as a message with a Java List payload. You can map the rows to a custom POJO which will ...

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 »

Log4j Date Format Example

This article is a tutorial about date format patterns in Log4j. In this tutorial, we are going to configure log4j via property files. 1. Introduction Log4J (Java) is a widely used logging framework for Java. It continues to grow continuously with the recent upgrade to Log4j2. Log4j supports logging via Logger, Appender and Layouts. Logger is the interaction point for ...

Read More »

Vaadin Spring Security Example

1. Introduction Vaadin is a web application framework written in Java, and is built on Google Web Toolkit from Vaadin Ltd. Spring Security is a part of Spring framework that focuses on providing both authentication and authorization to Java applications. Both Vaadin and Spring Security are open sourced and licensed under the Apache 2.0 license. In this example, we will build a web application in ...

Read More »

Spring Boot and JPA Example

Are you keen on learning about using Spring Boot with JPA? Yes? Gather your tools and read on. This example is very straight forward and simple, it should be easy to understand. Let’s begin with our Spring Boot JPA example. 1. Tools Apache Maven Mars Eclipse Spring Boot Spring Data JPA H2 Database Engine 2. Assumptions This article assumes that ...

Read More »