Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Lately I have insight similar to 'what hardware improvements give, software bloat take it away', 'what JDK platforms give third party Java frameworks take it away.

I have this misfortune of dealing daily with a nasty Java framework which converts compile time errors into runtime errors, single error trace with multiple stack traces , most of them being from framework itself.

One thing that might improve situation is server side libraries instead of framework. However AFAIK there is nothing like that in Java world. Everything is bound to Servlet API at lowest level and app server/frameworks on top of it.



Dagger 2 is a fantastic lightweight DI framework that gets out of your way and keeps the errors to compile-time

https://github.com/google/dagger

After that you can throw in whatever libraries you want, dagger doesn't care.


There are plenty of frameworks. Check out Helidon, Quarkus, Micronaut as examples of modern frameworks. You might like them. They’re not bound to servlet API.


I should have clarified one unfortunate part of this is enterprise diktat. So I stand no chance when a snake oil salesman from VMWare tells CIO on which framework they provide support for.


What do you think of vertx. It seems pretty lightweight set of server side libraries along with activej which also focuses on speed.


what was the framework, if you don't mind sharing?


SpringBoot.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: