|
|
|
|
|
by Patrol8394
1098 days ago
|
|
Annotations are a great way to get rid of boilerplate and noisy code.
For instance, I find Spring @Transactional a much more effective, less bug prone and productive way of dealing with db tx vs having to manual code and handle exceptions, rollback, connections etc ..
Same goes with JAX-RS. I would choose annotations over having to code all that manually any day. You can easily test and debug. Yes, it will cost some time to understand how aspects work and how it is all wired up, but it is worth learning. |
|