Home » Enterprise Java

Enterprise Java

Spring Boot JWT Authentication Example

Welcome readers, in this tutorial, we will implement the security mechanism with JSON Web Token (popularly known as JWT’s) in a spring boot application. 1. Introduction Spring Boot is a module that provides rapid application development feature to the spring framework including auto-configuration, standalone-code, and production-ready code It creates applications that are packaged as jar and are directly started using ...

Read More »

JSF Form Example

With this example, we are going to demonstrate how to use JSF Form in JavaServer Faces (JSF) to develop a Web Application. 1. What is Java Server Faces (JSF)? JavaServer Faces (JSF) is used as a Component-based web framework that implements a Model-View-Controller design pattern for developing web applications. 2. Overview of JavaServer Faces (JSF) It uses Facelets as its ...

Read More »

Spring Boot FreeMarker Configuration Example

Welcome readers, in this tutorial, we will implement the Freemarker configuration in a spring boot application. 1. Introduction Spring Boot is a module that provides rapid application development feature to the spring framework including auto-configuration, standalone-code, and production-ready code It creates applications that are packaged as jar and are directly started using embedded servlet container (such as Tomcat, Jetty or ...

Read More »

Spring Boot Ehcache Example

Welcome readers, in this tutorial, we will explore EhCache integration with spring boot application. 1. Introduction Spring Boot is a module that provides rapid application development feature to the spring framework including auto-configuration, standalone-code, and production-ready code It creates applications that are packaged as jar and are directly started using embedded servlet container (such as Tomcat, Jetty or Undertow). Thus, ...

Read More »

Spring JDBC StoredProcedure Class Example

Stored Procedures are a set of compiled SQL statements residing in the database. In this tutorial, we will explore how to create a simple stored procedure in the MySQL database and call it in a spring boot application. 1. Introduction Spring Boot is a module that provides rapid application development feature to the spring framework including auto-configuration, standalone-code, and production-ready ...

Read More »

Spring Boot JPA MySQL Example

In this example, we will demonstrate how to build a CRUD application using Spring Boot, JPA, and MySQL. 1. Introduction If you worked on enterprise applications in the past, you probably wrote SQL for querying a relational database.  If you are a Java developer, you also had to use JDBC for connecting to the database and executing queries.  (Java Database ...

Read More »

WebLogic Maven Plugin Example

This article discusses Weblogic(J2EE application server) plugin for Maven, a robust build and dependency manager. 1. Introduction WebLogic is a J2EE application server and also an HTTP web server for Unix, Linux, Microsoft Windows, and other platforms. WebLogic supports Oracle, DB2, Microsoft SQL Server, and other JDBC-compliant databases. It provides a standard set of APIs for creating distributed Java applications ...

Read More »

JSF Backing Bean Example

With this example, we are going to demonstrate how to use Backing Bean in JavaServer Faces (JSF) to develop a Web Application by using three programs. 1. What is JavaServer Faces (JSF)? JavaServer Faces (JSF) is used as a Component-based web framework that implements a Model-View-Controller design pattern for developing web applications. 2. Overview of JavaServer Faces (JSF) It uses ...

Read More »

Spring Boot MongoDB Crud Operations Example

Welcome readers, in this tutorial, we will explore the MongoDB Crud operations in a spring boot application. 1. Introduction Spring Boot is a module that provides rapid application development feature to the spring framework including auto-configuration, standalone-code, and production-ready code It creates applications that are packaged as jar and are directly started using embedded servlet container (such as Tomcat, Jetty ...

Read More »

Spring Boot JAX-RS Example

In this example, we will demonstrate how to build a JAX-RS web service with Spring Boot. 1. Introduction REST (Representational State Transfer) is an architectural pattern for developing web services.  It is used in many web services development projects because it is lightweight, stateless, and is therefore easily scalable. Java API for RESTful Web Services (or JAX-RS) is a Java ...

Read More »