Home » Java » Enterprise Java

Enterprise Java

Rest API Documentation and Client Generation with OpenAPI

java-interview-questions-answers

Microservices architecture helps in building an application as a suite of multiple fine-grained smaller services. Each of these services run in its own process and are independently deployable. They may have been developed in different programming languages and may use different data storage techniques and communicate with each other via lightweight mechanisms like RESTful APIs, message queues etc. Now that ...

Read More »

Providing useful API error messages with Spring Boot

spring-interview-questions-answers

For API users it is quite important an API provides useful error messages. Otherwise, it can be hard to figure out why things do not work. Debugging what’s wrong can quickly become a larger effort for the client than actually implementing useful error responses on the server side. This is especially true if clients are not able to solve the ...

Read More »

Jakarta EE 9.1 is RELEASED!

java-interview-questions-answers

Join us in celebrating a new release of Jakarta EE! The Jakarta EE Working Group Releases Jakarta EE 9.1 as Industry Continues to Embrace Open Source Enterprise Java! Jakarta EE 9.1 adds support for Java SE 11 runtimes to the foundational Jakarta EE 9 release. This gives developers more flexibility when migrating from previous Jakarta EE releases. In order to ...

Read More »

Kafka Record Patterns for Data Replication

java-interview-questions-answers

Imagine going down to your local milkshake bar and signing a contract with the owner so that you could purchase bespoke drinks at a set price. Let’s say you agreed on fresh milk with 3.5% fat and one tablespoon of chocolate powder, per 500ml of milk.  Putting that into a table might look like this: PKcontract_numberstartfat_contentchocolate_powder100123456782021-01-013.5%1 tbsp After a few ...

Read More »

Supporting bulk operations in REST APIs

java-interview-questions-answers

Bulk (or batch) operations are used to perform an action on more than one resource in single request. This can help reduce networking overhead. For network performance it is usually better to make fewer requests instead of more requests with less data. However, before adding support for bulk operations you should think twice if this feature is really needed. Often ...

Read More »