Home » Archives for Gilbert Lopez » Page 3

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.

JAX-WS Client from WSDL Example

In this example, we demonstrate how to generate a JAX-WS client from a WSDL file. 1. Introduction Web services are software applications that exchange messages over the internet.  A web service client sends a request and the web service provider returns a response. In general, there are two types of web services, SOAP-based and RESTful-based. In Java, the specifications used ...

Read More »

JAX-WS Change Endpoint Example

In this example, we will demonstrate how to change the service endpoint in a Java web service client application. 1. Introduction A web service (which is described in a WSDL file) can have one or more endpoints.  A web service endpoint is a URL used to locate and access a web service.  The endpoint is derived from the port and ...

Read More »

JAX-WS Gradle Example

In this post, we will demonstrate how to build a JAX-WS web service using Gradle. 1. Introduction Java API for XML Web Services (JAX-WS) uses XML files for configuring services and for exchanging data. JAX-WS is commonly used for SOAP-based messaging. It uses Java API for XML Binding (JAXB) to marshal and unmarshal Java objects to XML and the reverse. Gradle ...

Read More »

JAX-WS Dependencies Example

In this post, we present a JAX-WS web services example using Maven dependency configuration. 1. Introduction Java API for XML Web Services (JAX-WS) uses XML files for configuring services and for exchanging data. JAX-WS is generally used for SOAP-based messaging. It relies on Java API for XML Binding (JAXB) to marshal and unmarshal Java objects to XML documents and the reverse. You ...

Read More »

Git Abort Merge Example

In this post, we present a Git Abort Merge Example. 1. Introduction Merging branches is an important operation when working with Version Control Systems (VCSs). One feature that makes Git standout among other VCSs is its branching mechanism. The mechanism used by Git to create and manage branches is both lightweight and efficient in comparison to other VCSs. Because branching ...

Read More »

Git Add Submodule Example

In this post, we feature a comprehensive Example on Git Add Submodule. 1. Introduction An important concept in software development is reusability. When working on a software project you may have situations where a function or method is used in many places of an application. Rather than interspersing the function/method code throughout the application, it is useful to place it ...

Read More »

Git Orphan Branch Example

In this post, we present a Git Orphan Branch Example. 1. Introduction In general, when you create a new branch off branch “master” you inherit its commit history. The exception is an orphan (or disconnected) branch. An orphan branch does not have a parent-child relationship to the master branches’ commits. Most commits have one parent commit, one obvious exception being ...

Read More »

Git Generate SSH Key Example

In this post, we will demonstrate how to generate an SSH key that can be used to authenticate with a Git server. 1. Introduction The two transfer protocols that are used to access a Git server are HTTPS and SSH (short for Secure Shell). (The git and local protocols are unusable for any but the most basic development environments.) HTTPS ...

Read More »

Git Edit Commit Message Example

In this post, we present a Git Edit Commit Message Example. 1. Introduction Performing a commit operation in Git is not something to be taken lightly. Suppose we unintentionally apply the wrong commit message. Are we doomed? Fortunately, we can edit the message after the fact. In this example, we will demonstrate how to edit a commit message when the ...

Read More »

Git diff between Branches Example

In this post, we feature a comprehensive Example on Git diff between Branches. 1. Introduction Version control system (VCS) software is designed to track and manage changes in a file repository. Branching is a common operation performed with any VCS. It allows a developer (or team of developers) to work on code or documents in a repository without affecting the ...

Read More »