Have philosophic question.
Why is it worth to have kind of 'enterprise container' in java? Why not support enterprise container features on JVM level?
For example what if I want to use some of EJB features in my desktop application. Is here something wrong in architecture point of view?
You CAN use Spring 'enterprise features' without 'enterprise container' like Glassfish even without 'servlet container' like Tomcat. And this is good, isn't it?
Thanks.
The JVM already gets its beating for starting up slowly. Adding the stuff provided by a J2EE Environment would make this even worse.
Of course you can run a EJB Container (or whatever you need) on the desktop if you want.
Update to answer the question in the comment:
Using Enterprise Server Feature often means that you just configure something (putting a XML at a specific place; put an annotation somewhere else. So the JVM would have to check for these signs to decide if it should fire up its Enterprisy pieces.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With