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 EJB vs JSP+Servlet+beans, cloudy 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 "EJB vs JSP+Servlet+beans, cloudy" Watch "EJB vs JSP+Servlet+beans, cloudy" New topic

EJB vs JSP+Servlet+beans, cloudy

Tom Niedoba

Joined: Nov 18, 2003
Posts: 5
Hello, I'm kinda new to web development but I've used JSPs, servlets and even beans (session, application...). What I'm unclear about is what exactly EJB is.
An application I write using jsp, servlets, and beans running on tomcat is not an EJB app or is it? What makes an application an EJB application? Looking at code of an existing app (I got one at work nobody knows anything about as it came with the purchase of another business) how can I tell if it conforms to EJB and requires more than tomcat to run... like JBOSS? Can I take an app that has no instructions about it and figure out how to set it up and run it? I got apache/tomcat setup, not sure what to do with this though!
Any help appreciated.
Rufus BugleWeed
Ranch Hand

Joined: Feb 22, 2002
Posts: 1551
JavaBeans and EJBs are both component models. JavaBeans are classes which follow a convention. EJBs also follow a convention but its more defined in that classes must implement interfaces or extend other classes.
This link is a little bit dated but enough to get you started.
I agree. Here's the link:
subject: EJB vs JSP+Servlet+beans, cloudy
jQuery in Action, 3rd edition