• 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 Servers??

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
where does ejb server comes into???i mean therez this web server then one deep down we need application servers for ejb containers....bt since application servers can do the work of web servers only having a application server like jboss or glassfish serves the purpose...now where does the ejb server fits into???inside ejb container???inside or outside application servers?i am confused
 
Bartender
Posts: 2292
3
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Howdy, Dennis. Welcome to JavaRanch!

Well, it's pretty simple: a web container (such as Jetty or Tomcat) do provide an environment to run web components, such as Servlets and JSPs. But they do not provide infrastructure and do not offer some APIs, such as security, transactionality, Java Mail, etc. That's where application servers come in. An application server (such as JBoss or Glassfish) have embedded web containers and provide all the infrastructure necessary to build big enterprise applications.

Normally, application servers are "heavyweight", that is, they aren't very fast (or slow, if you will) when starting, for instance. Spring's first purpose was to be an alternative to these heavyweight containers, and this way, you could benefit of the speed of the web containers and still have all the infrastructure. So, if you want to build a real enterprise application and use a webcontainer, Spring is the way to go.
 
Dennis Mennis
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
@Roberto thanks for your reply.....okay i get it Spring is the upcoming or almost the one technology that is making d buzz...but i dnot understand where actually is this EJB Server working???insider application server???within component?where exactly....??
 
Roberto Perillo
Bartender
Posts: 2292
3
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oh, right. The EJB server is the program that runs inside the application server and allows EJB-based applications to be deployed and run. The application server is the entire infrastructure. Please take a look here for more details about application servers.
 
Dennis Mennis
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
wow....its like super complex for those who actually made it???a nested server sort of concept then???as you said within the application server runs the EJB server...though both the servers have different functionality.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic