Unanswered Questions
244 questions with no upvoted or accepted answers
11
votes
1
answer
593
views
Should I be concerned with dependencies?
Our organization uses IBM ClearCase to manage its versioning controls (for better or worse). We've been working on our application for several years now, and a large number of activities have started ...
6
votes
1
answer
16k
views
Should I mock ObjectMapper in my unit tests?
I have different services in a spring application that have a dependency on Jackson ObjectMapper, the unit tests rely on @InjectMocks to inject all the various dependencies to the class that is under ...
5
votes
1
answer
722
views
Applying Domain Driven Design - Model/Implementation
I'm quite new in the DDD-World and I'm just trying to figure out all the basics so please bear with me!
I have the following Entities:
- Datamodel
- Object Types
- Object Fields
A datamodel can ...
4
votes
0
answers
2k
views
How to avoid DTO on a client/server application?
I would like to use DRY beans on my client-server application (DRY: Dont Repeat Yourself).
It is not a problem to me if it is highly coupled: I know that my DTO will have the same form as the ...
4
votes
0
answers
1k
views
Architecture design for Java servlet that triggers work (for sending push notifications)
I'm designing a push notification server (for pushing notification via APNS and Google servers) and have come up with the following design for a Java based web application server. I would really like ...
4
votes
0
answers
207
views
Incorporating custom Algorithm in SOLR-LUCENE , before Indexing?
CURRENT FLOW: I am using a custom algorithm(presently in php) to rank
the MYSQL records before INDEXING it to SOLR .
WHAT I WANT : Is it possible implementing this
ALGORITHM(may be in JAVA) inside ...
4
votes
0
answers
3k
views
Spring bean injection into a hibernate validator constraint
I have a controller method like listed below whose argument is annotated with @Valid to validate PasswordChange object using a Hibernate validator @Constraint. Both PasswordChange and a sample ...
4
votes
0
answers
408
views
How to deal with runtime changes to tenant-location in a clustered, multitenant web application with app-managed datasources?
I have a Java web application that supports multi-tenancy to keep customer data
separate.
Connection pools to each customer database are created at runtime. The
details of each customer shard (...
4
votes
1
answer
342
views
Staging of artifacts in the build server?
Java artifacts are often staged through different "quality levels", named like alpha, beta, releaseCandidate, release etc. They enter the next stage if they have passed tests (automatic or manual ones)...
3
votes
0
answers
111
views
Why does the Java CompletableFuture API uses long + TimeUnit instead of Duration?
Java 9 introduced many new methods in the CompletableFuture API that support execution timeouts.
For example:
public CompletableFuture<T> orTimeout(long timeout, TimeUnit unit);
public ...
3
votes
0
answers
254
views
Logging by 3rd party libraries
We've got 2 very large platforms for our services & jobs.
Both platforms consists of 20+ servers hosting 1000+ services/jobs.
Each job/service is essentially a java web application.
Both ...
3
votes
0
answers
150
views
Design Pattern to unify similar generated classes
I have a project where I work with generated classes for some web interfaces. Some of these classes are (almost) identical and most of the functionality I need them for only use the identical parts. ...
3
votes
0
answers
88
views
java hashtable extending to support duplicates
I have to maintain an old application and have to extend some modules.
There is an hashtable that is used for maintaining/holding some objects as representation of running (real) processes (don't see ...
3
votes
0
answers
731
views
Is this an example of cyclic dependency?
I'm an undergraduate student and I have this assignment on a Discrete Event simulator. Currently I have completed to the end of v1.2 here. Attached also, is an algorithmic overview.
I have wrote my ...
3
votes
0
answers
396
views
Chronicle Queue: how to make a stack and how to limit disk usage
My server and several clients are different JVMs running on the same machine, they need to share persisted time series data: server reads a time series from somewhere, writes to a persisted embedded ...