r/java • • Sep 06 '17

JavaEE is now on GitHub

https://github.com/javaee/
203 Upvotes

64 comments sorted by

View all comments

1

u/aretebit Sep 06 '17

It's the right choice, in last Java EE edition they decided just replicate what Spring did, they saw how powerful community is.

4

u/thesystemx Sep 06 '17

in last Java EE edition they decided just replicate what Spring did

What did Java EE 8 exactly replicate from Spring?

1

u/aretebit Sep 07 '17

Lol sorry I meant latest Java EE, not the last one. Java EE replicated everything from Spring because their job is set the standard and Spring became the defacto industry standard (and pretty much still it is). For example Java EE CDI is Spring core, MVC is Spring MVC, Batch is Spring Batch, etc.

3

u/thesystemx Sep 07 '17

Java EE replicated everything from Spring

Not really...

Spring became the defacto industry standard

Sorry, but not really...

Java EE CDI is Spring core

Lol, not really.

CDI is inspired by JSF Managed Beans, EJB, Seam and Guice.

JSF Managed Beans were a full bean model and DI solution based on XML, pretty much like in Spring 1.0. JSF 1.0 and Spring 1.0 were released at the same time.

EJB pioneered the annotation approach, when Spring was still pushing you to do massive amounts of XML.

CDI introduced contextual injection and portable extensions, both way ahead of what Spring core ever had.

If anything, Spring reluctantly followed Java EE here by going the annotation way.

MVC is Spring MVC

MVC is not in Java EE 7. It was a new JSR for Java EE 8, but was dropped at some point.

Batch is Spring Batch

Batch is largely based on IBM's batching systems. IBM already did batching before most Spring team members were even born. Plus, Spring actually participated in the Batch JSR and Spring Batch is a fully compliant Java EE Batch implementation.

etc.

I wonder what that etc is...

-1

u/nutrecht Sep 08 '17

CDI is inspired by JSF Managed Beans, EJB, Seam and Guice.

So CDI was inspired by all that but not Spring. At all. Is that what you're saying?

2

u/Cyberiax Sep 08 '17

IT is known! King when asked answered that and he designer of CDI no?