CARVIEW |
Select Language
HTTP/2 200
date: Wed, 30 Jul 2025 23:19:18 GMT
content-type: text/html; charset=utf-8
cf-ray: 96789483d823ccbb-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=289bcb18-b0a7-4d4b-aeb1-07cdf7102a4d; expires=Thu, 30 Jul 2026 23:19:18 GMT; domain=.stackexchange.com; path=/; secure; httponly
strict-transport-security: max-age=31536000; includeSubDomains
vary: Accept-Encoding
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
x-clacks-overhead: GNU Terry Pratchett
x-frame-options: SAMEORIGIN
x-request-guid: 0e113af0-7b86-40eb-93a2-81f6e9a0e7a0
x-worker-origin-response-time: 498000000
x-dns-prefetch-control: off
set-cookie: prov=289bcb18-b0a7-4d4b-aeb1-07cdf7102a4d; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=W7x22sIZD1y4hDwbVSFslHRbZ4NEjTdgT8MAA85pSGk-1753917558-1.0.1.1-vB9f55aistxCxif9Q3V0S0SP4TP8pNLu3gG.a4erAIiDsK0mZ6tiyJ3_TwS6drBzveLjyeqKx0fnRd0NFUZaObwLMIHTDrkiVvHhnZEJJf4; path=/; expires=Wed, 30-Jul-25 23:49:18 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=iLDlzLFmv0WAvPlhd3E0SotYM_BOt.IXDa9pmpZgWN4-1753917558886-0.0.1.1-604800000; path=/; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
content-encoding: gzip
Newest 'java' Questions - Software Engineering Stack Exchange
Skip to main content
Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
The 2025 Developer Survey results are in. Explore insights into technology and tools, careers, community and more.
View results.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsQuestions tagged [java]
Java is a high-level, platform-independent, object-oriented programming language originally developed by Sun Microsystems. Java is currently owned by Oracle, which purchased Sun in 2010.
5,016 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
4
votes
2
answers
165
views
Managing Growth in Microservice Architecture: Is Modular Monolith the Solution?
Our team of 5 members are managing a microservice architecture that currently includes around 200 Java Spring boot microservices, with approximately 50 new services being added each year. We follow ...
-1
votes
0
answers
47
views
Should I build a custom field mapping UI or use an existing tool in a Spring Boot middleware platform?
I'm designing an interface middleware platform (similar to an ESB) using Java 21, Spring Boot 3.4, and Spring Cloud. The platform should support:
Publishing APIs
Calling external HTTP or MQ endpoints
...
0
votes
3
answers
155
views
Tracking data change in GUI form
Problem: our application allows users to close a form window after certain changes without any confirmation, instead of pressing the Save button. This makes them complain they have to start afresh.
We ...
1
vote
2
answers
188
views
Classpath hell: independently updated apps with shared dependencies
This is how our desktop applications are launched. In this case, it's called DesktopApp (I changed the actual name). As you see, the dependencies are hard-coded, including their versions. In the ...
0
votes
1
answer
105
views
How to create a job management for a hybrid cloud/on-premise software?
I am exploring the state-of-the-art methods to create a service that can run and scale in both cloud (container) and on-premise environments.
The current version of the software is designed for on-...
0
votes
1
answer
90
views
Designing a Scalable Caching Layer for User and Tenant Metadata in a Messaging System
I'm developing a microservice-based application that processes a high volume of messages. Each message must be handled according to the user’s personal settings and some tenant-specific (customer) ...
2
votes
3
answers
180
views
Search requests with multiple search values
(related: Fetching records matching multiple joined attributes)
If Spring Data doesn't allow GET requests to have a body (and it's considered bad practice anyway)
curl -X 'GET' \
'https://localhost:...
0
votes
2
answers
125
views
Is it better to pass a specific “context” object to handlers rather than the entire domain object?
I’m designing a system where various “handlers” apply business rules to an object. Initially I had each handler receive the full domain object:
// A large domain object with many properties and ...
1
vote
5
answers
500
views
Code reusability/inheritance introduces pointless testing
Say I have a bunch of classes that imitate cars: SportsCar, Truck, and SUV. All of these classes share some public methods like start() and stop() which they inherit from an abstract class Car. While ...
2
votes
2
answers
173
views
Best way to add asynchronous execution for already implemented synchronous process
I have a complex process implemented in Java Spring microservice.
Currently this process is triggered on user request and it is synchronously executed.
This often results in a gateway timeout.
...
2
votes
3
answers
153
views
Domain data classes with fluid property lists
Is it fine for your data models to have a sort of "open-ended" list of properties?
For example, you may have some Employee:
// getters, setters, annotations are omitted
public class Employee ...
0
votes
1
answer
184
views
How should ViewModels and Services communicate in a JavaFX + Spring Boot MVVM application?
I'm building a JavaFX + Spring Boot application using the MVVM pattern.
I’m building a generic “wizard” in a JavaFX + Spring Boot MVVM app. A WizardViewModel drives a sequence of steps (STEP_ONE → ...
21
votes
5
answers
5k
views
Why should I never ever ever use Java serialization?
I've heard that I should never use Java serialization (Serializable/ObjectInputStream/ObjectOutputStream) because of security. What's the problem?
2
votes
3
answers
390
views
Naming convention for boolean returning methods
There's a convention for boolean property accessors to name them like isX().
Does it apply to all boolean returning methods that are not invoked for their useful side effects, like this one?
Also, ...
3
votes
2
answers
273
views
Why do I need an authorisation server if my micro services can validate JWTs directly?
I'm working on a Spring-based micro service project and considering different approaches for handling authentication and authorisation. Instead of setting up a dedicated authorisation server, I’m ...
- The Overflow Blog
-
-
- Upcoming Events
-
2025 Community Moderator Electionends August 13
- Featured on Meta
-
-
-
Related Tags
design-patterns × 509
design × 499
object-oriented × 487
object-oriented-design × 250
architecture × 206
c# × 175
spring × 162
interfaces × 154
c++ × 153
programming-practices × 135
android × 124
multithreading × 124
exceptions × 118
unit-testing × 117
rest × 113
algorithms × 108
coding-style × 106
inheritance × 99
java-ee × 91
performance × 91
api-design × 86
testing × 82
database × 81
mvc × 80
more related tags
Hot Network Questions
- "One can" in technical writing--good, bad, indifferent?
- Why is my 74HC595 working without VCC?
- What is the difference between Render Distance and Simulation Distance?
- Do police need a search warrant to chase a fugitive onto private property?
- GraphQL Search Not Working for Multilist Field (Category) in Sitecore JSS
- Finite projective plane with trivial automorphism group
- In a TVS, is directionally bounded the same as bounded?
- Reason why golems do not run on wheels
- General Two-dimensional Elliptical Gaussian Image Generator in C++
- Has the similarity between diagrams of the expanding universe and of vapour pressure in mixtures been noted by others? Is this just coincidence?
- If Satan is not omnipresent, how can he tempt or test multiple people at the same time in different places?
- CCZ magic state teleportation
- How loud were the top-of-the-range propeller aircrafts like the Lockheed Constellation when commercial jet travel appeared?
- Finding one non-negative solution to a system of linear equations
- I applied for a postdoc and the position was left unfilled because no candidate was found to be a good match. Should I follow up?
- Seven-dimensional cross product
- Is there any (around) the 14 hidden characters in path and/or filename in File Explorer?
- QuantLib `RangeAccrualFloatersCoupon` instanciation fails
- Is it common practice to run neutral and ground to the same bar?
- Wolf and sheep probability
- Why f[x___] := {x==="To be", x=!="not to be"} is both True for f[]?
- Efficient generation of pseudorandom permutation over a small domain
- Can a body part of a defeated monster act as an associated object for the Teleport spell to find a creature's lair?
- Does the colour force between two quarks get stronger because gluons emit more gluons or because quarks emit more gluons?