Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deciding Factor

 
steven raj
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I decide wheather a particular project can be developed using EJBs. on what factors does this depend?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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: http://www.theserverside.com/books/wiley/masteringEJB/. 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.
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic