Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

When to use EJB technology  RSS feed

 
André Asantos
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,
please do you know when to use EJB?

I have been seeing many people saying that is not good and another
people saying that good use EJB... That's why this doubt...

bye,
André AS
 
Shailesh Narkhede
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to Javaranch,

Please check This URL

HTH.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What they most likely meant was that the entity bean programming model was cumbersome to work with. That was certainly the case in EJB 2, but has been changed so substantially in EJB 3.0 and 3.1 that this criticism is no longer valid.

On the other hand, many people have found that the combination of a servlet container with an ORM solution like JPA or Hibernate goes a long way. While EJB has numerous features beyond what a servlet container can provide, for pure web apps it may be unnecessary.
 
André Asantos
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
wow... that is so nice... thank you for answering so fast...

Thank you very much again...

However I have read that EJB is very used when there are distributed systems... Could you explain more about it please?

take care,


Andre AS
São Paulo - Brazil
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!