3 ms·
You don't actually need to do any of that. If you're writing Ant, I assume this was at least 10 years ago. Modern Spring Boot is all annotations and using an OR
by tootie 7y ago
You don't actually need to do any of that. If you're writing Ant, I assume this was at least 10 years ago. Modern Spring Boot is all annotations and using an ORM is out of fashion. Maven can be a little complicated, but it's easy to work off an archetype and it's far more sophisticated than npm. Python doesn't have this problem, but it also just doesn't have these features as an option. You can certainly build a Java project with javac but we generally don't because Maven is better.
- abledon 7y agowait.. using an ORM is out of fashion now? is everyone doing direct SQL queries again?
- tootie 7y agoYes. Or use a NoSQL DB.
- michaelper22 7y agoOr the ORM (Hibernate by default) is abstracted behind Spring Data interfaces. It's pretty easy to autowire the EntityManager if you need it.
- oftenwrong 7y agoI favour jOOQ.
- abledon 7y agooh, i like its DSL, much more sane than raw sql queries.