• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EJB vs JSP+Servlet+beans, cloudy

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 1551
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
It's hard to fight evil. The little things, like a nice sandwich, really helps. Right tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic