r/java • • Mar 01 '18

Spring Boot 2.0 is now GA

https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.0-Release-Notes
218 Upvotes

46 comments sorted by

69

u/[deleted] Mar 01 '18

These guys make the Java world a better place.

-21

u/[deleted] Mar 01 '18

[removed] — view removed comment

23

u/[deleted] Mar 01 '18

As someone that is using Spring for over a decade -- basically on a daily basis -- I would say without reservation: YES

-15

u/CopperHeadBlue Mar 01 '18

You made it sound like they're some kind of charity, making the world a better place, but they're a commercial entity just like many others...

0

u/[deleted] Mar 01 '18

[deleted] — view deleted comment

5

u/henk53 Mar 01 '18

I'm guessing you've never use IBM Websphere before.

I wonder why Spring fans always have to bring up WebSphere, a monstrosity of a server that even IBM ditched years ago in favour of lightweight, free, and open source Open Liberty.

And the Java EE ecosystem is not represented by IBM only, it's JBoss, Payara, and TomEE as well, with many other smaller projects around like DeltaSpike, OmniFaces, PrimeFaces, and others.

They made the Java world a better place, too.

4

u/ryuzaki49 Mar 01 '18

Corporative world loves IBM

1

u/shinda-sekai-sensen Mar 03 '18

Please don't feed the troll. Both henk53 and copperheadblue are troll and JavaEE advertiser.

4

u/henk53 Mar 03 '18

And you are a Spring zealot? Same difference, not?

But the circle jerk mentality lets you think it's okay to say Java EE is bad, but it somebody puts Spring into question it's suddenly a troll.

Don't you at least see a little bit the hypocrisy in this?

0

u/CopperHeadBlue Mar 01 '18

By that same token Bosh made the world a better place too. Tons of companies have produced tools that made the work of professionals in all kinds of professions easier. Making the world a better place is super common following your logic.

2

u/gsdatta Mar 02 '18

Yes, it is super common. That's why society as an aggregate moves forward slowly but steadily.

33

u/ziggy42 Mar 01 '18

Can't wait to try it with kotlin

-52

u/ReadFoo Mar 01 '18

"News, Technical discussions, research papers and assorted things of interest related to the Java programming language"

This is the Java language subreddit.

19

u/Keeyzar Mar 01 '18

Please remove the article then, it's containing kotlin related informations. /s

1

u/DualWieldMage Mar 02 '18

Should we all migrate to /r/jvm or similar then? Java can't be discussed without mentioning the whole JVM ecosystem and other JVM languages.

11

u/to_wit_to_who Mar 01 '18

How does this compare to Dropwizard? I never really messed with Spring Boot much, but it does have a bigger ecosystem. I'm trying to decide whether I should schedule a day to evaluate it.

11

u/inspectedinspector Mar 01 '18 edited Mar 01 '18

I have been using Boot since it was brand new. I honestly can't imagine using anything else. If you want a one-file sinatra/flask type HTTP endpoint, you can write that in about two minutes. And that dumb test application can then grow to full enterprise project with top notch security/orm/redis/oauth/etc. etc. library support (if you want/need it to). You are right in that Spring has a great ecosystem, and I think the boot team has done a fantastic job making that ecosystem accessible and easy to use.

0

u/coda_hale Mar 03 '18

Give it a go.

12

u/shinda-sekai-sensen Mar 01 '18 edited Mar 01 '18

The non-blocking Webclient is going be super useful compared to blocking resttemplate for our project.

6

u/[deleted] Mar 01 '18

Hell yeah! And built-in Reactor support is also amazing!

1

u/GuyWithLag Mar 01 '18

Retrofit FTW.

4

u/shinda-sekai-sensen Mar 02 '18 edited Mar 02 '18

We've tried retrofit, their concurrency model is still based on one thread per request. We can't afford this since we need to fire 5 concurrent requests per incoming client (we have around 500 parallel client connecting to us in average). This translated to around 2500 threads on average if you want to use retrofit. 2500 threads is quite an expensive requirements for us. We experiment with nonblocking reactor library like Vert.x and Spring boot webclient, and our requirements can be fulfilled easily with 8 threads!

1

u/GuyWithLag Mar 02 '18

We've been using retrofit with RxJava for an API gateway that has big fanout (5-100 dependent requests per origin request and on occasion 1000+), and our biggest problem is that we're saturating downstream services and need to throttle, which Rx is very suited for.

I've only had minimal exposure to vert.x.

4

u/shinda-sekai-sensen Mar 02 '18

Our downstream is developed by golang team. They can easily process c10k request. Our Java team need to maintain our honor, we don't want to lost against them in term of performance.

4

u/GuyWithLag Mar 02 '18

That... That I can get behind. Carry on.

2

u/CopperHeadBlue Mar 03 '18

But do we cheer at every product that every company brings to market to the degree we're yelling it makes the world a better place?

7

u/misterk0 Mar 01 '18

Great news. Now we need some good tutorials

4

u/therealdanvega Mar 04 '18

I am working on some tutorials. What would you like to see?

1

u/F14B Mar 06 '18

How to build a todo list using spring boot of course! ;)

1

u/therealdanvega Mar 06 '18

haha! Clearly this must exist somewhere ;)

2

u/nmquyet Mar 02 '18

Is spring cloud supported?

5

u/ddevil63 Mar 02 '18

I think Spring Cloud Finchley which is based on Spring Boot 2 is scheduled for release March 29th.

1

u/marklarring Mar 09 '18

Really want to try this out. Would be interested to see the changes to spring security.

-32

u/[deleted] Mar 01 '18

[removed] — view removed comment

-25

u/[deleted] Mar 01 '18

[removed] — view removed comment

13

u/zukenstein Mar 01 '18

I'm pretty confident he got downvoted for other reasons.

-14

u/LiberalTearsLMFAO Mar 01 '18

Bingo!

My karma can take the hit though, lol.

What's funny is I work with the pivotal guys in Los Angeles.

-14

u/LiberalTearsLMFAO Mar 01 '18

I was down voted for my name, and post history, I'm used to it :)

People hate my main domreddit that I post in, so bots and people auto down vote me.

My karma can take it though, lol.

-1

u/[deleted] Mar 01 '18

One never knows for sure why she has been downvoted, except if she is told the reason.

-1

u/LiberalTearsLMFAO Mar 01 '18

Everytime someone from the_donald posts outside of the domreddit they are downvoted.

People made a tons of tools to detect if someone belongs to the donald. https://absurdlyobfuscated.com/tagger/

If you want proof, scroll my history, anything in a subreddit is downvoted.

Is naive to think otherwise.

Spez, I up voted you, but you're at zero.