Home » Enterprise Java » Page 10

Enterprise Java

Spring Boot Session Management

Welcome readers, in this tutorial, we will see the Session Management in Spring Boot. For this tutorial, we will use the MySQL database for persisting the session information and not the H2 database. 1. Introduction Before going further in this tutorial we will take a look at the common terminology such as introduction to Spring Boot and Session Management. 1.1 ...

Read More »

Java Quartz Job Parameters Example

In this article we will learn how to pass parameters in Quartz Job. 1. Introduction Quartz is a richly featured, open-source job scheduling library that can be integrated within virtually any Java application – from the smallest stand-alone application to the largest e-commerce system. Quartz can be used to create simple or complex schedules for executing tens, hundreds, or even ...

Read More »

TestNG Basic Annotations Tutorial

In this post, we will take a look at TestNG annotations and how we can use them in unit tests for maximum benefit. 1. TestNG Annotations – Introduction TestNG is a testing framework for the Java programming language created by Cedric Beust and inspired by JUnit and NUnit. The design goal of TestNG is to cover a wider range of ...

Read More »

Java Quartz Asynchronous Example

In this article, we will show an example of the Java Quartz Asynchronous. Quartz is a richly featured, open-source job scheduling library that can be integrated with any Java application. 1. Introduction Quartz can be used to create simple or complex schedules for executing tens, hundreds, or even tens-of-thousands of jobs; jobs whose tasks are defined as standard Java components ...

Read More »

SQL TIMESTAMP() function Example

Welcome readers, in this tutorial, we will learn how to use the TIMESTAMP() function in SQL. 1. Introduction In SQL, the TIMESTAMP() function enables developers to deal with date-time expressions. The TIMESTAMP() function in SQL enables us to return a date expression from the Date or DateTime expression The TIMESTAMP() function expects Date or DateTime value expression to return the ...

Read More »

SQL DATE() function Example

Welcome readers, in this tutorial, we will learn how to use the DATE() function in SQL. 1. Introduction In SQL, dates are a complicated feature for the developers, and working with them is a complex thing as the format of the date in the database table must match the date format required for the SQL insert operation to work. The ...

Read More »

Apache Solr on Docker Example

In this article, we will show you an example about Apache Solr on Docker. 1. Introduction Apache Solr is a popular open-source search platform built on Apache Lucene. Docker is the leading container platform that allows developers to isolate their app from its environment by packaging software into standardized units for development, shipment, and deployment. In this example, we are ...

Read More »

Apache Solr in Java: Using Apache SolrJ

In this example, we are going to show you how to use Apache SolrJ to index data in Solr and query from Solr. 1. Introduction Apache Solr is a popular open-source search platform built on Apache Lucene. If we take a 30000-foot view, Solr is a web application and HTTP is the fundamental protocol used between client applications and Solr. ...

Read More »

Spring Boot and RabbitMQ Hello World Example

Welcome readers, in this tutorial, we will see how to implement a simple hello world application with Spring Boot and RabbitMQ. 1. Introduction Before going further in this tutorial we will take a look at the common terminology such as introduction to Spring Boot and RabbitMQ. 1.1 What is Spring boot? Spring boot is a module that provides rapid application ...

Read More »

JDBC Kerberos Authentication Example

1. Introduction In this post, we feature a comprehensive example of JDBC Kerberos Authentication. The Kerberos authentication method is very popular. It is not used for query encryption and provides secure authentication. 2. JDBC Kerberos Authentication 2.1 Prerequisites Java 7 or 8 is required on the linux, windows or mac operating system. SqlServer database 2019 is required for testing JDBC ...

Read More »