Home » Archives for Gilbert Lopez » Page 4

Author Archives: 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 California State University in Los Angeles with a Bachelor of Science degree in Business.

Git Instaweb Example

1. Introduction In this post, we feature a comprehensive Example on Git Instaweb. Git is a popular version control system. Git comes with a command-line utility to manage file repositories. Using the command-line utility can be cumbersome for certain tasks. Fortunately, Git comes with other tools you can use to work with your repositories. GitWeb is one of these tools. ...

Read More »

Spring MVC 5 Servlet 3.0 MultipartConfigElement Example

In this post, we present a file upload Example using Spring MVC 5 Servlet 3.0 MultipartConfigElement. 1. Introduction Multipurpose Internet Mail Extensions (MIME) defines a standard for constructing multipart messages that have file attachments. Spring MVC does not handle multipart requests by default. It does, however, provide multipart support with MultipartResolver. The MultipartResolver parses inbound multipart requests. You can enable ...

Read More »

Spring Boot WAR Deployment Example

In this post, we feature a comprehensive Example on Spring Boot WAR Deployment. We will demonstrate how to convert a Spring Boot JAR web application to a WAR file that can be deployed to a servlet container. 1. Introduction Spring Boot has become very popular among web application developers. Spring Boot will automatically configure a DispatcherServlet and register HandlerMappings, Adapters, ...

Read More »

Spring Boot REST API Tutorial

In this tutorial, we will review REST API concepts and provide an example of REST API development using Spring Boot. 1. Introduction We have heard quite a lot about REST recently. REST (Representational State Transfer) is an architectural style that describes principles and outlines constraints for developing web services on the internet.         Table Of Contents 1. ...

Read More »

Spring Boot Hello World Example

In this post, we will demonstrate a Spring Boot Hello World application. 1. Introduction If you have worked with Spring projects in the past, you might agree that they require quite a bit of configuration. Some of this configuration is boilerplate code related to infrastructure and has nothing to do with business requirements. Spring Boot is a technology that will ...

Read More »

Jax-Ws vs Jax-Rpc: Comparison and Differences

In this article, we will compare the JAX-WS and JAX-RPC programming APIs with respect to the Java programming model. Note: This article is for academic purposes only. JAX-RPC is obsolete and its use is discouraged for any new Java development projects. 1. Introduction The Web Services Architecture evolved in part to address interoperability between disparate and heterogeneous systems. SOAP (Simple ...

Read More »

Jax-Ws LogicalHandler Example

In this example, we will show you how to implement a JAX-WS Logical Handler. 1. Introduction When you send a request to a web service, the SOAP message may require verification. The SOAP message response may also require verification. For these requirements, you can use a SOAP message handler to intercept the SOAP message for further processing. SOAP message handlers ...

Read More »

Jax-Ws AsyncHandler Example

In this example, we will show you how to implement an asynchronous SOAP web service and client using the AsyncHandler callback handler. 1. Introduction There are two ways to invoke a web service, synchronously and asynchronously. When invoking a web service synchronously, the client must wait for the response before resuming its work. When invoking a web service asynchronously, the ...

Read More »

Jax-Ws Attachment Example

In this example, we will show you how to exchange files with a SOAP web service using attachments. 1. Introduction You may need to send or receive binary data, such as an image file or a PDF file, in a SOAP message. If the binary data is large, it would be inefficient to send it as part of a typical ...

Read More »

JAX-WS Client Basic Authentication Example

1. Introduction In this example, we will demonstrate how to add basic authentication to a JAX-WS web service and client. But before we begin, let’s get some background. Table Of Contents 1. Introduction 1.1 SOA 1.2 Web Services 1.3 JAX-WS 1.4 Apache CXF 1.5 WS-Security 1.6 UsernameToken Profile 1.7 Tools Used in this Example 2. JAX-WS Basic Authentication Example 2.1 ...

Read More »