Home » Java » Enterprise Java » Page 5

Enterprise Java

Jakarta MVC 2.0 Progress

java-interview-questions-answers

The work with Jakarta MVC 2.0 goes forward. According to the Jakarta EE Specification Process (JESP), we are now in the development phase where we will release as many milestones as we need until we are satisfied to move on to finalize the specification. There are already Milestone 1 releases available of both the Spec+API and the TCK in Jakarta ...

Read More »

Kafka & Zookeeper for Development: Local and Docker

java-interview-questions-answers

Kafka popularity increases every day more and more as it takes over the streaming world. It is already provided out of the box on cloud providers like AWS, Azure and IBM Cloud. Eventually for cases of local development it is a bit peculiar due to requiring various moving parts. This blog will focus on making it easy for a developer ...

Read More »

Experimental GraphQL

java-interview-questions-answers

This blog post is a follow up on the initial introductory post, Supersonic Subatomic GraphQL, and here we will explore more features, some that is experimental, that we hope to eventually move to the MicroProfile GraphQL Specification (based on your feedback !) We will look at the following: Operational Context – Optimize your downstream processes.Cache – Caching your endpoints.Asynchronous – ...

Read More »

Improving Spring Mock-MVC tests

java-interview-questions-answers

Spring Mock-MVC can be a great way to test Spring Boot REST APIs. Mock-MVC allows us to test Spring-MVC request handling without running a real server. I used Mock-MVC tests in various projects and in my experience they often become quite verbose. This doesn’t have to be bad. However, it often results in copy/pasting code snippets around in test classes. ...

Read More »

REST: Updating resources

java-interview-questions-answers

When building RESTful APIs over HTTP the PUT method is typically used for updating, while POST is used for creating resources. However, create and update operations do not perfectly align with the HTTP verbs PUT and POST. In certain situations PUT can also be used for resource creation. See my post about the differences between POST, PUT and PATCH for ...

Read More »

Version control your RAML specifications

java-interview-questions-answers

Version controlling your RAML RESTful API specifications allows you to continue maintaining previous version of your APIs. The API designer from MuleSoft has a build in version control feature that supports simple branching from the master. RAML API Branching Workflow Version the API specification and select the down arrow from the master branch and enter a version number. Click the ...

Read More »

Solve the facility location problem

We have created a new quickstart that extends OptaPlanner use case portfolio with the facility location problem and also demonstrates building a cloud-native application using Quarkus, the new Java Native stack. The facility location problem The facility location problem consist of a set of potential facility locations and a set of consumer points that need to be served by the ...

Read More »

Kicking the Tires of Jakarta EE 9 with Payara

java-interview-questions-answers

We’ve been hearing all about it.  Jakarta EE 9 will be released in November 2020.  The Jakarta EE working group and community have been working hard to bring this release to the masses, and it is about ready.  Here’s how to take a look at it today, using one of the most popular application server containers. 1.  Download the latest ...

Read More »