wood burning stoves 2.0*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
Author

EJB vs JSP+Servlet+beans, cloudy

Tom Niedoba
Greenhorn

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.
Tom
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: http://aspose.com/file-tools
 
subject: EJB vs JSP+Servlet+beans, cloudy
 
Similar Threads
Help w/ concepts: My first Java EE 5/EJB 3 app
Design Decision help needed
J2EE
J22E definition
handed down app needs testing, help!