Quantcast
Channel: Baeldung
Browsing all 3565 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Calling a SOAP Web Service from the Command Line

1. Overview In this tutorial, we're going to show how we can use different command-line interface (CLI) processes to consume a SOAP web service. 2. SOAP Web Service To run the examples in this post,...

View Article


Image may be NSFW.
Clik here to view.

Default Values for Maven Properties

1. Overview Apache Maven is a powerful build automation tool used primarily for Java projects. Maven uses a Project Object Model or POM which contains information about the project and configuration...

View Article


Image may be NSFW.
Clik here to view.

Setting Up a Jenkins Slave Node

1. Overview In this tutorial, we'll go over the concept of distributed builds in Jenkins Architecture. Furthermore, we'll learn how we can configure Jenkins master-slave architecture. Additionally,...

View Article

Image may be NSFW.
Clik here to view.

Trusting a Self-Signed Certificate in OkHttp

1. Overview In this article, we'll see how to initialize and configure an OkHttpClient to trust self-signed certificates. For this purpose, we'll set up a minimal HTTPS-enabled Spring Boot application...

View Article

Image may be NSFW.
Clik here to view.

Converting a PEM File to Java KeyStore Format

1. Overview In a previous tutorial, we showed how to convert a Java KeyStore (JKS) into PEM format. In this tutorial, we're going to convert the PEM format to the standard Java KeyStore (JKS) format. A...

View Article


Image may be NSFW.
Clik here to view.

EntityNotFoundException in Hibernate

1. Introduction In this tutorial, we'll talk about the EntityNotFoundException from the javax.persistence package. We'll cover the cases when this exception can occur, and after that, we'll write tests...

View Article

Image may be NSFW.
Clik here to view.

How to Create Password-Protected Zip Files and Unzip Them in Java

1. Overview In a previous tutorial, we show how to zip and unzip in Java with the help of the java.util.zip package. But we don’t have any standard Java library to create password-protected zip files....

View Article

Image may be NSFW.
Clik here to view.

Difference Between MVC and MVP Patterns

1. Overview In this tutorial, we'll learn about the Model View Controller and Model View Presenter patterns. We'll also discuss the differences between them. 2. Design Pattern and Architectural Pattern...

View Article


Image may be NSFW.
Clik here to view.

A Guide to Auto-Commit in JDBC

1. Introduction Database connections created with the JDBC API have a feature called auto-commit mode. Turning this mode on can help eliminate boilerplate code needed for managing transactions. In...

View Article


Image may be NSFW.
Clik here to view.

How to Set JSON Content Type In Spring MVC

1. Introduction The content type indicates how to interpret the data present in the request/response. Whenever a controller receives a web request, it consumes or produces some media types. In this...

View Article

Image may be NSFW.
Clik here to view.

Diagnosing a Running JVM

1. Overview The Java Virtual Machine (JVM) is a virtual machine that enables a computer to run Java programs. In this article, we'll see how we can diagnose a running JVM with ease. We have many tools...

View Article

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 397

1. Spring and Java >> Interview with Brian Goetz on Java Language [inside.java] A controversial take on Project Loom and its impact on the reactive model, but also an interesting discussion on...

View Article

Image may be NSFW.
Clik here to view.

Bitmasking in Java with Bitwise Operators

1. Overview In this tutorial, we'll look at how to implement low-level bitmasking using bitwise operators. We'll see how we can treat a single int variable as a container for a separate piece of data....

View Article


Image may be NSFW.
Clik here to view.

Java Annotation Attribute Value Restrictions

1. Overview These days, it's hard to imagine Java without annotations, a powerful tool in the Java language. Java provides a set of built-in annotations. Additionally, there are plenty of annotations...

View Article

Image may be NSFW.
Clik here to view.

Disable the Maven Javadoc Plugin

1. Overview The Apache Maven Javadoc plugin allows us to generate Javadocs for the specified project during the Maven build. Furthermore, the plugin is pretty convenient since it generates the Javadocs...

View Article


Image may be NSFW.
Clik here to view.

Looking for a Java Developer with Spring Experience (Remote) (Part Time)

Description We're looking for a Java developer with extensive Spring experience. On the non-technical side – a good level of command over the English language is also important. You're going to be...

View Article

Image may be NSFW.
Clik here to view.

An Intro to Dapr with Spring Cloud Gateway

1. Overview In this article, we'll start with a Spring Cloud Gateway application and a Spring Boot application. Then, we'll update it to use Dapr (Distributed Application Runtime) instead. Finally,...

View Article


Image may be NSFW.
Clik here to view.

Choosing a GC Algorithm in Java

1. Introduction The JVM ships with various options for garbage collection to support a variety of deployment options. With this, we get flexibility in choosing which garbage collector to use for our...

View Article

Image may be NSFW.
Clik here to view.

Hosting a Maven Repository on GitHub

1. Overview In this tutorial, we'll understand how to host a Maven repository on GitHub with sources using the site-maven plugin. This is an affordable alternative to using a repository like Nexus. 2....

View Article

Image may be NSFW.
Clik here to view.

Throwing Exceptions in Constructors

1. Overview Exceptions provide separation of error handling code from the normal flow of the application. It's not uncommon to throw an exception during the instantiation of an object. In this article,...

View Article
Browsing all 3565 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>