I want to know why there are so many people use ORM tools instead of EJB.
Are there some disadvantages?
-
what are the disadvantages of using EJB? (4 messages)
- Posted by: Ji Liu
- Posted on: July 26 2004 20:41 EDT
Threaded Messages (4)
- what are the disadvantages of using EJB? by Joe Attardi on July 27 2004 08:37 EDT
- what are the disadvantages of using EJB? by Ji Liu on July 27 2004 10:24 EDT
- what are the disadvantages of using EJB? by David Bai on July 28 2004 05:42 EDT
- what are the disadvantages of using EJB? by David Salter on July 29 2004 06:12 EDT
-
what are the disadvantages of using EJB?[ Go to top ]
- Posted by: Joe Attardi
- Posted on: July 27 2004 08:37 EDT
- in response to Ji Liu
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. -
what are the disadvantages of using EJB?[ Go to top ]
- Posted by: Ji Liu
- Posted on: July 27 2004 10:24 EDT
- in response to Joe Attardi
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. -
what are the disadvantages of using EJB?[ Go to top ]
- Posted by: David Bai
- Posted on: July 28 2004 05:42 EDT
- in response to Ji Liu
Compare using Hibernate and making POJO with messing up with entity beans and other kinds of PO, you'll admit it. -
what are the disadvantages of using EJB?[ Go to top ]
- Posted by: David Salter
- Posted on: July 29 2004 06:12 EDT
- in response to Ji Liu
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.