All Questions
5 questions
-2
votes
1
answer
158
views
Spring/Java multiple shared modules for different databases
I'm implementing a software based on the micro-service architecture using Spring/Java. Each micro-service connects to either a PostgreSQL or a MongoDB database. Is it standard practice to have a ...
0
votes
1
answer
141
views
Should I postfix application.yml?
My project structure (Spring / maven):
src / main / resources / application.yml
src / test / resources / application.yml
This is working well (when I launch test, it takes the test application.yml).
...
1
vote
0
answers
582
views
Maven plugin to operate at parent and child module levels?
I have a large multi-module java/maven application where each child module is it's own java application and the root parent pom defines the standard dependencies
pom.xml - parent pom
- child1/pom.xml ...
19
votes
1
answer
10k
views
Java application structure: Horizontal vs vertical split
Having a bit of a debate about the starting project structure (using Maven/Eclipse) for a big Java application.
Option 1:
entities (i.e. the whole database using Hibernate classes-first)
services (i....
4
votes
1
answer
11k
views
Multi-module web project with Spring and Maven
Assume we have a few projects, each containing some web resources (e.g., html pages).
parent.pom
+- web (war)
+- web-plugin-1 (jar)
+- web-plugin-2 (jar)
...
Let's say web is the ...