Arne Evertsson
Arne Evertsson

Reputation: 19847

Top reason not to use EJB 3.0 again?

The scenario

If you would have to rewrite the system from scratch, would you use EJBs again?

Yes: Don't answer this question, answer this one instead.

No: Provide the top reason for not using EJBs again, based on your personal experience.

Let the answer contain just one reason. This will let other readers vote up the number one reason to stay away from EJB 3.

Upvotes: 7

Views: 2971

Answers (4)

anders.norgaard
anders.norgaard

Reputation: 1080

The top reason for not using EJB 3.0 again? Maybe you can wait for EJB 3.1 which does away with a major piece of insanity: the mandatory local interface.

https://blogs.oracle.com/kensaks/entry/optional_local_business_interfaces

Upvotes: 1

Yorch
Yorch

Reputation:

Coding an app in EJB is too bulky and in my experience you can get away with a light weight alternative

Upvotes: 0

PEELY
PEELY

Reputation: 1230

Having to do relationship-child management yourself: Hibernate's all-delete-orphan didn't make it into the 3.0 spec.

Upvotes: 0

Arne Evertsson
Arne Evertsson

Reputation: 19847

The project did not have any of the problems that EJBs are supposed to solve. Using EJBs just made it harder to code, to debug, to build, to deploy and to document and understand.

Upvotes: 2

Related Questions