Home » Enterprise Java » Page 22

Enterprise Java

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 »

Spring Boot ElasticSearch Tutorial

Welcome readers, in this tutorial, we will explore the Elasticsearch functionality 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 »

JBoss Wildfly Installation on Ubuntu Example

This is an article about JBoss Wildly Installation on Ubuntu. JBoss WildFly admin module manages the applications deployed on its server. Wildfly server was JBoss application server during the initial releases. In this article, setup of WildFly Change Port on Ubuntu is presented and discussed. 1. Introduction A JBoss WildFly instance can be deployed on the standalone server on Ubuntu. ...

Read More »

JWT Tutorial for Beginners

1. Introduction JSON Web Tokens are described by the Internet Engineering Task Force (IETF)   RFC 7519 as: a compact URL-safe means of representing claims to be transferred between two parties. The claims in a JWT are encoded as a JSON object that is used as the payload of a JSON Web Signature (JWS) structure or as the plaintext of a ...

Read More »

JBoss Wildfly Change Port Configuration Example

This is an article about JBoss Wildly Change Port Configuration. JBoss WildFly runtime manages the applications deployed on its server. It used to be called as JBoss application server. In this article, setup of WildFly Change Port Configuration is presented and discussed. 1. Introduction A JBoss WildFly instance can be deployed on the standalone server. The default port for the ...

Read More »

Spring Boot Application Properties Example

In this example, we will demonstrate how to configure a Spring Boot application using the application.properties file. 1. Introduction Spring Boot is an application development solution that will automatically configure your Spring application for you, helping you get your project up and running as quickly as possible.  It will consider the dependencies in your project and will use an opinionated ...

Read More »

Spring Boot @CrossOrigin Annotation Example

Cross-origin resource sharing (CORS) is a standard protocol that defines the interaction between a browser and a server for safely handling cross-origin HTTP requests. Simply put, a cross-origin HTTP request is a request to a specific resource, which is located at a different origin, namely a domain, protocol and port, than the one of the client performing the request. For ...

Read More »

Spring Security Remember Me Example

Welcome readers, in this tutorial, we will explore the Remember Me login feature of the spring security module. 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, ...

Read More »