close
Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
31 views

I have the following code that creates a ResponseEntity for the response of a Spring app. Is there any more efficient way of doing this method? @GetMapping"/api/payments/reservation/{...
mikelauskas's user avatar
0 votes
1 answer
56 views

I am currently developing a backend feature where multiple worker threads need to track and update the access frequency of shared resources in memory. Initially, I used a standard HashMap, but I ...
CELSO GABRIEL SARCEÑO CORADO's user avatar
-3 votes
0 answers
102 views

I am currently implementing a hierarchical structure management system using an N-ary tree in Java. Each node contains a list of children, and the data is mapped from a database. To traverse the tree ...
CELSO GABRIEL SARCEÑO CORADO's user avatar
1 vote
3 answers
60 views

How to implement a database requests counting method in a Spring Boot application and implement it in unit tests. I saw the assertSelectCount method in the examples on Baeldung, but I don't know how ...
haoz's user avatar
  • 49
Advice
0 votes
0 replies
38 views

I’m an intern and I’ve been asked to help migrate a small Java app from Jersey/Jetty to Spring Boot. The app is not very big. From what I’ve seen so far, it mainly exposes a few REST endpoints and ...
Moncef Ahmane's user avatar
Advice
0 votes
12 replies
138 views

i have just completed my first year , CSE core engineering , i want to pursure as my career path , i have basic knowledge of python , cpp,c ,java,[can write a code for a probelm in a compiler window , ...
Aayush Bhardwaj's user avatar
Best practices
0 votes
3 replies
58 views

I am learning MVC in Java I am trying to separate the logic from the JFrame using a controller class. The problem is that my button does not execute the controller method when clicked. View: public ...
MATEO's user avatar
  • 1
Best practices
0 votes
1 replies
102 views

I am a computer science student with knowledge of Java, Spring Boot, React, JavaScript, and basic Git/GitHub usage. I want to start contributing to open source projects, but I feel overwhelmed by ...
Codinguy's user avatar
3 votes
0 answers
59 views

I am experiencing a very peculiar behaviour of a Java Swing application with AWT components. I run Arch Linux with Gnome and Wayland. The application compiles and starts fine - it looks as expected, ...
Anders Tøgern's user avatar
2 votes
1 answer
64 views

I am working on a Spring Boot project with multiple profiles. I currently have profiles such as: application.properties application-memory.properties application-mongo.properties The idea is that ...
0 votes
1 answer
53 views

While testing various methods for retrieving data about the Order entity through the OrderRepository, I noticed redundant requests after a JPA query with pagination. @Component(OrderRepository....
haoz's user avatar
  • 49
Best practices
0 votes
2 replies
93 views

I am analyzing the performance trade-offs when implementing a Queue from scratch. A Queue can be implemented using either a node-based LinkedList or a dynamic array (like a circular buffer). From a ...
KathyaSofia's user avatar
-4 votes
0 answers
52 views

I'm developing a Spring Boot application that stores a tree structure in PostgreSQL. The table schema is: CREATE TABLE nodes ( id BIGINT PRIMARY KEY, value VARCHAR(150), parent_id BIGINT );...
MARIO JOSE BARRERA LINAREZ's user avatar
-4 votes
0 answers
46 views

I am building a small Java console project that simulates a Spotify-style playlist queue. Each song has a title and a priority. Songs with a higher priority should be played first. I am using ...
Elder Pérez's user avatar
2 votes
1 answer
66 views

I'm working on a multi-module Spring Boot project. The application contains two classes annotated with @SpringBootApplication: @SpringBootApplication public class OrganigramaApplication { public ...
MARIO JOSE BARRERA LINAREZ's user avatar

15 30 50 per page
1
2 3 4 5
127718