Home » Apache Maven

Tag Archives: Apache Maven

Java Netbeans IDE Tutorial

In this tutorial, we will demonstrate how to download, install/setup, and start using the Apache Netbeans IDE as your Java Development Environment. 1. Introduction Let us first start by downloading the required software from this link: NetBeans Download Download the appropriate executable from this link. If you’re a Windows user, then an .exe executable can be downloaded or even a ...

Read More »

Spring vs Spring Boot Example

1. Spring vs Spring Boot Welcome to the Spring vs Spring Boot example. First and foremost, this is not Spring MVC vs Spring Boot. So you won’t find any discussion relating to web. The example that will be shown here is the simplest thing that could possibly work to show the difference between Spring and Spring Boot. When we speak ...

Read More »

Hibernate in Eclipse with PostgreSQL Example

This article will show you a simple example of how to use Hibernate in Eclipse with PostgreSQL. PostgreSQL is an object-relational database management system. It’s one of the most popular databases used in the world. Hibernate is a framework for mapping object-oriented domain model to a relational database. Hibernate handles persistent database accesses with high-level object handling functions. 1. Assumptions ...

Read More »

Spring with Maven Tutorial

In this post, we feature a comprehensive Tutorial on Spring with Maven. Spring Framework is a Java application framework that provides many useful services for building applications. Apache Maven is a software project management and comprehension tool. In this article, I will demonstrate how to build a web application utilizing Spring MVC framework as a Maven project.       ...

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 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 Boot Logging Example

Looking to learn about Spring Boot Logging? Read this example, it is very straight forward and simple. 1. Assumptions This article assumes that you know your way around Eclipse. You are familiar with Maven. This project has been created using Eclipse Mars so all instructions are based on this IDE. This article uses the code base from the Spring Boot ...

Read More »

Spring Boot JDBC Example

Do you want to learn about using Spring Boot with JDBC? Yes? Then you have come to the right place. This example is very straight forward and simple, even a 12 year old can understand. Let’s begin with our Spring Boot JDBC example. 1. Tools Apache Maven Mars Eclipse Spring Boot H2 Database Engine 2. Assumptions This article assumes that ...

Read More »

Apache Maven Checkstyle Plugin Tutorial

Maven Checkstyle is a tool to help ensure that the application’s Java code adheres to a set of coding standards. 1. Introduction The Eclipse Checkstyle Plugin (aka eclipse-cs) integrates the static source code analyzer Checkstyle into the Eclipse IDE. Checkstyle is an Open Source development tool to help developers ensure that their Java code adheres to a set of coding ...

Read More »