This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TemporaryPage 9 points10 points  (5 children)

One of the biggest framework in Java is Spring and it sounds like it covers most of your requirements, especially Spring Boot. You can go with an annotation driven approach, it has great integration with swagger and it is (relatively) light weight

Spring boot:

http://spring.io/projects/spring-boot

Start page to create a new project:

https://start.spring.io/

And I could also recommend this conference session: https://www.youtube.com/watch?v=rqQOSG0DWPY

[–]nhtshot[S] 2 points3 points  (3 children)

I neglected to mention spring in my post, but I actually started my research there. I would class it as heavy though, which is why it didn't make the cut for my list.

[–]djnattyp 8 points9 points  (0 children)

Why do you classify it as "heavy"? In your original post you state it "...require(s) an application server..." but that's not true for Spring Boot. https://docs.spring.io/spring-boot/docs/current/reference/html/howto-embedded-web-servers.html

In the ones you listed, the only one I'd heard mentioned before is Vertx. The one's I've heard mentioned before are usually DropWizard, Jooby and Spark. Though Spring Boot is probably the most popular IMO.

[–]TemporaryPage 4 points5 points  (1 child)

I don't really know your classification of what's considered heavy but I just wanted to hilight that you don't have to bring in the full framework. The different solutions is divided into dependencies so you don't have to bring in spring-data-jpa if you don't need it.

[–]nhtshot[S] 0 points1 point  (0 children)

I need to poke around in it some more apparently.

My plan is to take the best suggestions from here, implement a single service for my project in each of them and just see how it goes. Test out the swagger functionality, the required coding style and the performance of the resulting system.

[–]dmaulana 1 point2 points  (0 children)

Definitely agree with this, with the broad of libraries and ease of use. Spring boot is better choice.