Home » Enterprise Java

Enterprise Java

Logback AsyncAppender Example

1. Introduction In this post, we feature a comprehensive Example on Logback AsyncAppender. Most of the Java applications rely on logging messages to identify and troubleshoot problems. Logback is one of the most widely used logging frameworks in the Java community. Logback includes three classes: Logger, Appender, and Layout. Logback appenders are responsible for outputting logging events to the destination. It provides ...

Read More »

Play! Framework JSON & Scala Example

In this post, we feature a comprehensive Example on Play! Framework JSON & Scala. In my last two posts, we have discussed about Play Framework + Scala + SBT based project basics. Please refer Play! Framework Hello World Example and Play! Framework Path, Query and Route Default Params Example to understand Play + SBT Project structure, Project configurations, SBT configurations ...

Read More »

JDBC Driver Types Example

1. Introduction In this example we will review different JDBC Driver Types. We will write a simple Java application to demonstrate how to use JDBC connectivity steps to access an SQLite database. JDBC stands for Java DataBase Connectivity. It was introduced in Java Development Kit (JDK) version 1.1. It’s an application programming interface (API) that allows Java programs to interact ...

Read More »

Spring @ModelAttribute Annotation Example

In spring, the @ModelAttribute annotation populates the model data or the method parameters even before the handler method is invoked or called. In this tutorial, we will show how to implement the Spring @ModelAttribute Annotation with the Spring MVC framework. 1. Introduction 1.1 Spring Framework Spring is an open-source framework created to address the complexity of an enterprise application development ...

Read More »

Hibernate with Gradle Example

1. Introduction Hibernate is an Object-Relational Mapping (ORM) framework which acts as the transformational layer between the object-oriented programming model of Java and the table-oriented model of relational databases. In the application code, programmers deal with classes and variables, inheritance, composition, aggregates, identity, and getters/setters. On the database side, there are tables and columns, primary keys, foreign keys, join tables, ...

Read More »

Spring @PathVariable Annotation Example

In spring, the @PathVariable annotation is used to bind the URI template variables to the handler method parameters of a controller in the Spring MVC framework. In this tutorial, we will show how to implement the Spring @PathVariable Annotation with the Spring MVC framework. 1. Introduction 1.1 Spring Framework Spring is an open-source framework created to address the complexity of ...

Read More »

Selenium Keyword Driven Framework Tutorial

This article is a tutorial about the Selenium Keyword Driven Framework. We will see how Keyword Driven Framework speeds up the automated testing process. Table Of Contents 1. Introduction 2. Technologies Used 3. Keyword Driven Framework 3.1. Drivers 3.2. Files 3.3. Classes 3.4. Execution Results 4. Summary 5. Download the Source Code   1. Introduction A keyword-driven framework is a ...

Read More »

Spring Data GemFire Tutorial

Welcome to the Spring Data GemFire tutorial. GemFire is a product from Pivotal. Pivotal Gemfire is an in-memory data grid powered by Apache Geode. Here is a quote from the Pivotal GemFire documentation: Pivotal GemFire is a data management platform that provides real-time, consistent access to data-intensive applications throughout widely distributed cloud architectures. GemFire pools memory, CPU, network resources, and ...

Read More »

Logback vs Log4j Example

In this post, we feature a comprehensive Example on Logback vs Log4j. Logback and Log4j are the most widely used logging frameworks in the Java community. In this tutorial, I will demonstrate how to log the messages in Java applications with both Logback and Log4j. Table Of Contents 1. Introduction 2. Technologies Used 3. Maven Java Application 3.1 Dependencies 3.2 ...

Read More »

JSF Application NetBeans Example

1. Introduction In this example we will demonstrate how to create a JSF Application in NetBeans. Our application will display a simple form to the user asking to enter their name. When they submit the form we will display a welcome message. The name field is mandatory so leaving it blank will display an error message. First Let’s find out ...

Read More »