Home » Enterprise Java

Enterprise Java

Selenium Name Locator Example

In this post, we feature a comprehensive Selenium Name Locator Example in Automation Scripts. 1. Introduction Selenium is used to automate browsers. Selenium WebDriver has found its place in test automation for web applications. It is used to create robust, browser-based regression automation suites and tests. It can be used for end to end testing of an application. This ensures ...

Read More »

Spring WebSockets Example

Hello there. Thank you for showing interest in Spring WebSockets Example. In this example we will learn how to send and receive messages between a browser and a server over a WebSocket. A WebSocket is used to build an interactive web application. WebSocket is a lightweight layer above TCP. We will be creating a football live commentary web application to ...

Read More »

SQL Copy Table Example

Welcome readers, in this tutorial, we will learn how to create an exact copy of an existing table in the same or different database. 1. Introduction Cloning or Copying a table is an important phenomenon that helps developers rescuing disaster recovery situations or to perform something without affecting the original table. To start with this tutorial, we are hoping that ...

Read More »

Apache Commons BeanUtils Example

1. Introduction Apache Common BeanUtils is one of the most common Java library. The latest version at the time of writing is 1.9.3 and published at September 26, 2016. BeanUtils provides utility methods for populating JavaBeans properties. In this example, I will demonstrate the following methods: static Object cloneBean(Object bean) – Clones a bean even if the bean class does ...

Read More »

Spring Boot Microservices Example

Welcome to the Spring Boot Microservices Example. Microservices is popular because it allows large systems to be composed of smaller systems. Think of it like the single responsiblity principle. The smaller systems have a single responsibilty to the large system. In the monolithic approach, all the smaller systems are bunched up to make up one large system or one large ...

Read More »

JAX-WS Hibernate Example

In this example, we feature a comprehensive article on JAX-WS Hibernate. We will demonstrate how to create a SOAP-based web service that uses Hibernate to read data from a database. 1. Introduction Java API for XML Web Services (JAX-WS) is a technology for developing SOAP-based web services and clients. The API includes annotations for defining web service endpoints, service implementation beans, ...

Read More »

Spring Boot HATEOAS in REST API Example

Welcome readers, in this tutorial, we will implement the HATEOAS principle to REST resources 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 ...

Read More »

Spring Cloud Zuul Gateway Example

Welcome readers, in this tutorial, we will explore an interesting and the last Spring Cloud component known as Zuul Gateway to implement a gateway for the microservices. 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 ...

Read More »

Apache Maven Enforcer Plugin Example

1. Apache Maven Enforcer Plugin – Introduction Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project’s build, reporting and documentation from a central piece of information. 1.1 Maven installation guide You just need to download the Maven’s zip file, unzip it to a folder, and ...

Read More »

Spring Cloud Feign Client Example

Welcome readers, in this tutorial, we will explore an interesting Spring Cloud component known as Netflix Feign Client to implement a declarative REST client. 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 »