Skip to main content
Best practices
0 votes
2 replies
91 views

I am working on a new application and I have a question related to the microservice vs modulith. I have related functionalities and am thinking to have them into a single modlith rather than having a ...
Atul's user avatar
  • 3,487
Best practices
0 votes
4 replies
149 views

in this answer notes that parallelStream uses the fork/join common pool which is an Executor, [..] Thus, when I want to replace a piece of code, using parallelStream(), what is the best practice to ...
patientCoder's user avatar
0 votes
1 answer
100 views

My application packaged as an EAR file is deployed on JBOSS EAP 8. We have a requirement to send an array(oracle.sql.ARRAY) of oracle.sql.STRUCT objects to a stored procedure. oracle.jdbc.driver....
Karthik's user avatar
  • 1,392
0 votes
0 answers
72 views

I have a queue - TestQueue created on JBOSS EAP 8 and my application (EAR) has a MDB which publishes messages to this queue. standalone.xml <subsystem xmlns="urn:jboss:domain:messaging-...
Karthik's user avatar
  • 1,392
2 votes
1 answer
172 views

I have following java code. Here I am trying to control number of Virtual threads learned and inspired by this SO thread. But still I see a separate and uncontrolled number of thread IDs for each file ...
Ajay Kumar's user avatar
  • 3,372
1 vote
1 answer
82 views

I'm using JDBI v3 and need to execute a query that returns events with their associated interests. I want to map the result directly to Map<Long, List<Interest>> where the key is the event ...
Daniil Voropaev's user avatar
0 votes
1 answer
173 views

I am using Java 21. The following code is from the source code of class java.util.concurrent.ConcurrentHashMap. // Method: transfer , line: 2463 if (i < 0 || i >= n || i + n >= nextn) { ...
杨尚山's user avatar
1 vote
0 answers
180 views

I am facing an issue when loading a BKS (BouncyCastle) keystore in a Spring-based application running on Oracle JDK 21. The same code works without any issues on OpenJDK 21. Environment details: OS: ...
Thilina Sandaruwan's user avatar
3 votes
2 answers
541 views

public class Test { private static final Object lock = new Object(); public static void main(String[] args) { try (var executor = Executors.newVirtualThreadPerTaskExecutor()) { ...
Strayer_xx's user avatar
2 votes
1 answer
230 views

I'm in the process of doing a technology upgrade for a Spring mvc app. I'm currently using Java 21, Spring 6, and Thymeleaf 3. I've tested the application thoroughly, running it on Tomcat 10. The app ...
Anna R's user avatar
  • 85
9 votes
2 answers
9k views

Apparently the OpenJDK distribution for Java 21 is missing from Docker Hub. What happened? I'm certain OpenJDK 21 images existed in these paths before, as I've checked other successful deployments I ...
pablito's user avatar
  • 87
0 votes
1 answer
194 views

Has anyone been able to change the default success URL after login in Vaadin 24, where we are supposed to handle the filter as follows: public SecurityFilterChain securityFilterChain(@NonNull ...
Jennifer's user avatar
  • 125
8 votes
2 answers
615 views

I want to order a huge list of countries, and I have noticed that, for example, E and É are treated as equals. But in the Hungarian grammar, E comes before É, so a rule should be added, 'E < É'. ...
B.G.'s user avatar
  • 385
3 votes
1 answer
598 views

In a service I have 2 executorServices for different tasks: get user transactions (50-100 threads, queue 300) get user family (10-50 threads, queue 100) It was easy to monitoring threads and adding ...
Olga grts's user avatar
1 vote
1 answer
87 views

I use Spring Boot 3.3.4 and Java 21. I have several Spring Boot web application that use the same common library : App1 App2 App3 Common In this common library, I have a @RestController used to ...
Valrog's user avatar
  • 163

15 30 50 per page
1
2 3 4 5
20