1,916,184 questions
Advice
0
votes
2
replies
29
views
System modules for system project advice
Our project is a single system, but there are three groups assigned to it. What are the best practices for system modules that would be fair for everyone? By the way, I am a student and this is my ...
-2
votes
0
answers
56
views
Embed strings inside localized validation error messages
I configured localization in my project. I have generic validation error messages with placeholders, and field names, such as these.
src/main/resources/lang/messages.properties:
field.NotBlank=Polje {...
Advice
1
vote
3
replies
99
views
Game Development Advice
I am currently a second year college student. I am studying audio engineering/music with a minor in CS. As a summer project, I've decided to make a prototype of a rhythm game; this would combine both ...
1
vote
1
answer
88
views
how @PersistenceContext deals with threads specially with entityManager and Session
I am facing an issue and trying to figure out what is happening. From what I understand, using @PersistenceContext injects an EntityManager into my class. It should be thread-aware, tying the ...
1
vote
1
answer
56
views
Java 21 + Micronaut 4.10.9 + Ignite 3.0: ClassNotFoundException: io.micronaut.core.convert.DefaultConversionService
I hope someone can help me with an issue I'm facing. We have an application using Micronaut 4.10.9 with Apache Ignite 3.0 embedded in the same server. All dependencies and configurations are already ...
Advice
0
votes
6
replies
159
views
How to start developing HTTP server as a beginner for learning projects? and is it even a good idea?
I am Currently a first year Software Engineering trainee based in Germany. for the most part i did Front End and UI/UX development as a hobby before starting my job but now i want to get into back end ...
0
votes
0
answers
59
views
How to prevent automatic queue creation
I'm creating a microservice and I'd like it to not automatically create queues in RabbitMQ.
I created a RabbitMQ user via the GUI, with no configuration permissions, only read and write, to avoid ...
Tooling
0
votes
3
replies
81
views
Generating and executing Java .class bytecode on Android at runtime without use of storage space
I am looking for a way to execute dynamically generated Java bytecode on both OpenJDK VM and DalvikVM. In other words, I want to make platform-agnostic on-the-fly compiler to Java bytecode, using only ...
0
votes
0
answers
80
views
I want to rearrange the display of an inventory
This method in the Game class makes the inventory by adding a button for each item in the inventory of the player (and adds the listener for each one, to handle the actions later). Sometimes it has to ...
Advice
0
votes
3
replies
68
views
GridDB Java: is there any way to limit query results (like LIMIT in SQL)?
I’m using GridDB with the Java API and ran into a small issue while working with queries.
I have a container with a lot of data, and I only need to read a small portion of it (for example, the first ...
0
votes
0
answers
44
views
Spring integration SMB: "unknown user name" when username contains "@" character
I'm having trouble using spring-integration-smb: when I try to authenticate a user whose name contains an "@", I get the error message "unknown user name". Interestingly, if I ...
Advice
0
votes
2
replies
52
views
How does GridDB handle concurrent writes to the same row key in Java, and how can I avoid overwrites?
I’m using GridDB with the Java API in a multi-threaded application where multiple threads may insert or update data at the same time.
Each record uses a timestamp as the row key. A simplified example:
...
0
votes
1
answer
88
views
Spring JavaMailSender and Testcontainers Mailpit doesn't work together
For testing I have a Mailpit Testcontainers instance running:
@Container
static MailpitContainer mailpitContainer = new MailpitContainer()
.withNetwork(TESTCONTAINERS_NETWORK);
The service under ...
Best practices
0
votes
7
replies
114
views
Spring MVC REST API - one endpoint for many roles or separate endpoints?
Let's say I have a route:
PATCH /users/1
Now, the authenticated User sends a UpdateUserDTO that contains all the data needed for an update. However, an admin can also update a User, but they can also ...
Best practices
0
votes
7
replies
205
views
How to handle 1 million requests per minute or 10k per second in a full stack application from user interface to backend
what are the performance techniques that we need to apply at each layer of our application development and deployment so that it will handle huge number requests .
lets consider React JS as frontend ...