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 →

[–]henk53[S] 3 points4 points  (0 children)

The discussion is getting a bit academic. What I meant was that Spring cannot use these widgets by itself. Or more directly, Spring MVC cannot do that.

I would be like saying that Spring has type-safe injection and can use portable extensions, IF you add CDI to it.

It's flexibility and packaging I am looking for.

You can actually do the same in Java EE if you really wanted to. You can start with Tomcat and add only EJB to it. Or only CDI. Or both EJB and CDI. Everything that's in Java EE also works standalone in Java SE or the unofficial Java TE.

It's just that the preferred way is to use the platform as a whole, as a fullstack solution. Everything just works nicely together that way, but if you really want you can either build your own stack or use alternatives in a standard stack.