Home » Java » Enterprise Java (page 10)

Enterprise Java

WTF Connection pools

java-interview-questions-answers

Let’s talk about connection pools. I claim that: Default settings of most popular connection pools are poor! For you, it means: Go review your connection pool settings. You might have a problem if you rely on default settings. You may have memory leaks and unresponsive application (even if load is not high at all). Below I will show some of ...

Read More »

Exploring the Spline Data Tracker and Visualization tool for Apache Spark (Part 2)

In part 1 we have learned how to test data lineage info collection with Spline from a Spark shell. The same can be done in any Scala or Java Spark application. The same dependencies for the Spark shell need to be registered in your build tool of choice (Maven, Gradle or sbt): groupId: za.co.absa.spline artifactId: spline-core version: 0.3.5 groupId: za.co.absa.spline artifactId: spline-persistence-mongo ...

Read More »

What’s the case for your API?

java-interview-questions-answers

Disclaimer: In pure REST, API’s are opaque and the URL should be whatever what was sent as a link in the response to a previous request. But, I’m not talking pure REST, I’m talking more pragmatic APIs which involve some concepts from REST and as well as general API best practices. When writing an API, it starts simple. You identify the ...

Read More »

Build a Basic App with Spring Boot and JPA using PostgreSQL

spring-interview-questions-answers

“I love writing authentication and authorization code.” ~ No Java Developer Ever. Tired of building the same login screens over and over? Try the Okta API for hosted authentication, authorization, and multi-factor auth. Every non-trivial application needs a way to save and update data: a resource server that is accessible via HTTP. Generally, this data must be secured. Java is ...

Read More »

Reactive Spring Webflux with AWS DynamoDB

spring-interview-questions-answers

AWS has released AWS SDK for Java version 2, the SDK now supports non-blocking IO for the API calls of different AWS services. In this post I will be exploring using the DynamoDB API’s of the AWS SDK 2.x and using Spring Webflux stack to expose a reactive endpoint – this way the application is reactive end to end and presumably ...

Read More »

Throughput - A Corda story

java-interview-questions-answers

I recently rolled off a project focusing on the performance of Corda for a particular use-case. The result of this project lead to us processing 115 million requests within a single day over a network of over 170 nodes. Furthermore, Corda was able to handle 6300 requests per second confirming that the highest requirement of the network was met. This ...

Read More »

Unit Testing Anti-Patterns, Full List

java-interview-questions-answers

I wrote some time ago about anti-patterns in OOP. Now it’s time to write about unit testing anti-patterns—because they also exist, and there are many. I will try to include every example I know in this list. If you know any others, please add them via a pull request or post a comment below. For each anti-pattern I will try ...

Read More »

Work on Apache Camel 3 has finally started

We are starting the work on Apache Camel 3. We are working at multiple levels to improve Camel and introduce new features. The first work has actually started by Guillaume Nodet in the start of October, where he jump started by cleaning up the codebase, removed deprecated code and components, improving the routing engine and other internals in the core. His work ...

Read More »