Win a copy of AWS Security this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

ejb vs. servlet/jsp

Ranch Hand
Posts: 280
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been doing web development for a while now. However, I have only been using servlets and jsp. I looked at ejb but they seemed to complicated to do what servlets and jsp already does. Would some kind soul enlighten me on why one would use ejb over servlet/jsp? Or the other variations of this question, servlet/jsp alone vs. ejb in combination with servlet/jsp.
All I have been able to gather is that "for enterprise, use ejb" but with no explanation as to why... Also does this book cover such a thing?

Best Regards,
[ October 28, 2003: Message edited by: Jason Kretzer ]
Ranch Hand
Posts: 8943
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It would be better if you post this question in the EJB/J2EE forum.
This link may help
I am sure you will find more if you please search.
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EJBs will allow you to concentrate more on your business logic, rather than such things as persistence, security, transaction management, and bean pooling. All this is offered by the container. If your app is relatively simple, then you can usually do all this yourself and EJB is probably overkill.
Where does a nanny get ground to air missles? Protect this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic