I am a passionate fan of the Java , but apart from tomcat -a, I didn’t use anything else like a web server. Please help me understand what the charms of JBoss , Websphere , EJB , etc., compared to the same Spring, Hibernate , etc.

Closed due to the fact that off-topic participants Kromster , ermak0ff , Mirdin , torokhkun , Vladimir Glinskikh 13 Nov '15 at 8:46 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:

  • " Questionnaires are forbidden on Stack Overflow in Russian . To get an answer, rephrase your question so that it can be given an unambiguously correct answer." - Kromster, ermak0ff, Mirdin, torokhkun, Vladimir Glinskikh
If the question can be reformulated according to the rules set out in the certificate , edit it .

    2 answers 2

    The answer to your questions deserves, if not a separate book, then a great article.

    You should read all the articles and discussions from the category of EJB vs Spring .

    The main functional difference is that EJB allows you to make remote calls over the network. Those. allows you to build distributed systems. There are several types of such EJB bins available for this. For normal operation, an EJB needs an EJB container. Tomcat does not contain this. For this you need at least Glassfish. Often used for this purpose and JBoss.

    Hibernate is a JPA technology that doesn’t conflict with EJB (and even more so with JBoss), so it’s not at all about the topic.

      Good day!

      I must say, in the matter you confuse technology and containers. In particular, Tomcat, JBoss, WebSphere is an application server. As for EJB, Spring and Hibernate, these are essentially frameworks for solving various kinds of problems.

      Tomcat server is a global web server consisting of a number of components (coyote (http-connector), jasper (JSP translator), catalina (the servlet-container itself, etc.).

      JBoss and WebSphere servers are well-known application servers that implement a large set of different J2EE frameworks / specifications. The main task of these solutions is the implementation of any business tasks. For example, EJB technology has an implementation in both JBoss and WebSphere. Each of these servers has its own implementation.

      Frameworks Spring and Hibernate can be used on any of them.