How to post JSON-serialized form data with RestTemplate
RestTemplate is often used for consuming RESTful web services from Spring applications.
CraftingJava Blog
RestTemplate is often used for consuming RESTful web services from Spring applications.
When using Spring Data MongoDB IDs can be automatically generated for documents provided that you’re using an ObjectId, String or BigInteger as the underlying type.
In this first part we define the requirements against the application, its initial domain model and that REST API which its front-end will be using.
As a Java Developer, you know that a lot had happened last fall Java 9 got released, Spring 5 went GA, Spring Boot saw another four milestone releases.
OpenJDK 11 was released on the 25th of September, 2018.
Walkthrough on setting up a new Jupyter environment for data analyses with NumPy, pandas, matplotlib, and their counterparts.
During the investigation of a slowdown in a back-end Spring application, I found an interesting side-effect of using class-level @Transactional annotations on Groovy-based services.
During writing the last six parts of this article series a lot has happened.
In my previous post I defined the requirements of a user management microservice and designed the initial domain model of it.
In the previous part the data access layer along with the repositories were implemented, before that the domain model without having to rely on any framework specific class or feature and now time has come to add REST controllers on the top of that.
In the previous part there was fair amount coding involved over the course of implementing the domain model, which comprises all the logic a user registration process needs.
One of the most anticipated events of the Java world is going to be when version 9 gets released on the 21st of September*.
The IETF streaming group approved the HTTP/2 protocol in 2015, sixteen years after HTTP/1.1 had been released.
Do you use @Async? You’d better watch out, because you might run into OutOfMemoryError unable to create new native thread error just as I did.
In my previous post, Spring Boot 2.0 New Features The 3 Most Important Changes You Must Know About, I pointed out the one of the notable changes coming with Spring Boot 2 will be infrastructure updates.
In preparation for the enforcement of GDPR which becomes final on the 25th of May 2018, I’m creating a simple, open source forget-me app for craftingjava.com in compliance with Art. 17 GDPR (‘right to be forgotten’).
I’ve recently read Josh Long‘s Bootiful GCP series on Sprint Central’s engineering blog and especially liked the 4th part about using Google Cloud’s Pub/Sub.
In the previous part I explained one of the messages flows in detail from the point of view of implementing in- and outbound messaging with Spring Integration’s AMQP support.
Spring Integration has been known to have a myriad of connectors for interacting with external systems.
Java Flight Recorder (JFR) used to be a commercial add-on of the Oracle JDK.
The Mathematics for Machine Learning specialization taught by three processors from Imperial College of London is worth taking, you’ll get to know to the basics of math required to get started with Machine Learning.
Collection of JVM settings I generally use in production. The article focuses on observability and G1 GC tuning.
So far the business logic, data access layer and the front controllers had been build, however enforcing authentication was completely missing.
Spring Boot became ubiquitous in recent years and provided an opinionated way of integrating various pieces of technology.
Last time I added username and password based authentication with using Spring Security.
This second part focuses on how to use Java DSL for defining in- and outbound messaging with Spring Integration’s AMQP support.