File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Deciding Factor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Deciding Factor" Watch "Deciding Factor" New topic

Deciding Factor

steven raj

Joined: Jan 11, 2005
Posts: 1
How can I decide wheather a particular project can be developed using EJBs. on what factors does this depend?
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

You'd use EJB's if you decided your project needed any of the properties supplied by an EJB container. If you don't know what those properties are, then your project doesn't need EJB.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Well, it might but you don't know it yet. Find a good book on EJB - Ed Roman's Mastering EJB is available at no cost to read online: Look at the things EJB does and see if you need them. I'll remember about half the list ...

remote access, declarative security, transaction management, object relational persistence, connection management ... more?

And bear in mind that a lot of people have decided they don't like the way EJB does some or all of those. Container Managed Persistence seems to be everyone's least favorite. There is an EJB forum up the page a ways if you want to talk through more pros & cons.

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Jessica Sant

Joined: Oct 17, 2001
Posts: 4313

I'm going to move this to the J2EE/EJB forum where folks there will be able to lend a bunch of good insight.

So please post your replies there, thanks!
I agree. Here's the link:
subject: Deciding Factor
It's not a secret anymore!