Home » Java » Enterprise Java » Page 2

Enterprise Java

Jenkins: Automating your delivery pipeline

In this post, we are going to create a Jenkins pipeline for a Java Spring project using Maven and Git: Accessing Jenkins dashboard and configuring Maven in Jenkins: Click on “Manage Jenkins” and then in “Global Tool Configuration” Add a Maven installation and provide a name for it. Click on Save. Creation of our first build job in Jenkins for ...

Read More »

Spring Cloud Contract 3.0.0 released

java-interview-questions-answers

With the release of the Spring Cloud 2020.0.0 (aka Ilford) release train we’re more than happy to announce the general availability of Spring Cloud Contract 3.0.0. In this blog post I’ll describe the most notable released features (in order of their release dates). Incremental Test Generation for Maven With the Incremental Test Generation for Maven we’re generating tests, stubs and ...

Read More »

Undo feature with Neo4J & Enterprise Java

I’ve created an example how to implement an undo feature in a Quarkus application that uses a Neo4J database. From a user perspective, an undo action might look little spectacular, but once you know what needs to be taken into account on a database side, it’s everything but trivial. Especially in graph databases, we need to take the relationships into ...

Read More »

A Weird Side Entrance

One of the main reasons I blog is to remind myself how easily one can use software development techniques to make bad decisions. I do it myself all the time… In a recent project, I was working with Spring Data which is able to create powerful CRUD operations over data sources if you just create an interface: interface FooRepository extends ...

Read More »

Spring Security

spring-interview-questions-answers

There are many authentication mechanisms (basic, digest, form, X.509, etc), and there are many storage options for credentials and authority information (in-memory, database, LDAP, etc). Authorization depends on authentication and determines if you have the required Authority. The decision process is often based on roles (e.g. ADMIN, MEMBER, GUEST, etc). There are three steps to set up and configure Spring ...

Read More »

Apache Camel 3.7 (LTS) Released – The fastest Camel ever

The Apache Camel 3.7 was released some days ago. This is a LTS release which means we will provide patch releases for one year. The next planned LTS release is 3.10 scheduled towards summer 2021. So what’s in this release This release introduces a set of new features and noticeable improvements that we will cover in this blog post. Pre ...

Read More »

Jakarta MVC 2.0 Released

java-interview-questions-answers

Jakarta MVC 2.0 passed the release review ballot and is now ratified as a final specification according to the Jakarta EE Specification Process (JESP). The last steps for the project team after the ballot are to release the staged artifacts to Maven Central and verify that all published information is correct. That has now been done, and I have listed ...

Read More »

HATEOAS without links

java-interview-questions-answers

Yes, I know this title sounds stupid, but could not find something that fits better. So let me explain why I think that links in HATEOAS APIs are not always that useful. If you don’t know what HATEOAS is, I recommend reading my Introduction to Hypermedia REST APIs first. REST APIs with HATEOAS support provide two main features for decoupling ...

Read More »

Testing using TestContainers

java-interview-questions-answers

Part of our everyday ci/cd tasks involve using containers in order for the tests to take effect.So what if you could control the containers you use through your tests and serve your scenarios better.Also what if you could do this in a more managed way? Testcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common ...

Read More »