what are the disadvantages of using EJB?

Discussions

General J2EE: what are the disadvantages of using EJB?

  1. what are the disadvantages of using EJB? (4 messages)

    I want to know why there are so many people use ORM tools instead of EJB.
    Are there some disadvantages?
  2. One big reason is complexity and overhead. If you've ever created an entity EJB, you'll know what I'm talking about. There are many issues with things like the deployment descriptor, etc, that are sometimes non-intuitive and overkill for a lot of projects.
  3. I have used IBM Websphere to develop EJB.
    I don't think there are some difficulties.
    Maybe the reason is the ide does the work for me.
  4. what are the disadvantages of using EJB?[ Go to top ]

    Compare using Hibernate and making POJO with messing up with entity beans and other kinds of PO, you'll admit it.
  5. I want to know why there are so many people use ORM tools instead of EJB.Are there some disadvantages?
    If you have a good IDE Entity Beans are easy to develop and use - much of their complexity is hidden from you.

    They have disadvantages such as you can't inherit them from your domain classes which may be issues for your project.

    They can also be quite "chatty" with the database if you don't use them correctly.