Home » Author Archives: Gilbert Lopez

Author Archives: Gilbert Lopez

Gilbert Lopez
Gilbert Lopez is an application developer and systems integration developer with experience building business solutions for large and medium-sized companies. He has worked on many Java EE projects. His roles have included lead developer, systems analyst, business analyst and consultant. Gilbert graduated from from California State University in Los Angeles with a Bachelor of Science degree in Business.

Spring Form Validation Example

In this example, we will show how to implement server-side form validation in a Spring MVC application. 1. Introduction Form validation is a basic requirement for web applications that accept data as input. For example, you may want to ensure that an email address or credit card number sent in a request is valid before processing the data. There are ...

Read More »

Spring Boot Bean Validation Example

In this example, we will demonstrate how to use Bean Validation in a Spring Boot REST application. 1. Introduction Data validation is a basic requirement for any application, especially for web applications that accept data as input. For example, you may want to ensure that an email address or credit card number sent in a request is valid. Before the ...

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 »

Math.pow Java Example

In this article, we examine the Math.pow Java method and we provide some examples of its use. 1. Introduction The java.lang package provides classes and interfaces that are central to the Java programming language. The Math class from the java.lang package contains static methods for performing many common math operations. These include exponential, logarithm, square root, and trigonometric functions. One ...

Read More »

Java 12 String Methods Example

In this article, we will discuss the new methods of the String class introduced in Java SE 12. 1. Introduction The latest Java release (Java SE 12) arrives on the heels of Java SE 11, due to the twice-annual release schedule. It is more akin to a point release than a major release, with only minor changes from the previous ...

Read More »

Spring Boot JAX-RS with Jersey Example

In this post, we feature a comprehensive article on Spring Boot JAX-RS with Jersey. We will show how to create a JAX-RS web service with Spring Boot and Jersey. 1. Introduction REST (Representational State Transfer) is an architectural pattern for developing web services. REST is a popular choice for web services development projects since it is lightweight, stateless, and therefore easily ...

Read More »

Java 11 Standardized HTTP Client API Example

In this article, we will test a REST API application using the Java HTTP Client API. 1. Introduction There are many tools available to test your REST API applications.  There are command line tools, such as cURL, and there are GUI tools, such as Postman and SoapUI that can perform these tasks.  If you are using a Continuous Integration and ...

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 »

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 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 »