aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes EJB Servers?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB Servers??" Watch "EJB Servers??" New topic
Author

EJB Servers??

Dennis Mennis
Greenhorn

Joined: Jun 09, 2011
Posts: 6
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
Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2266
    
    3

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.


Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
Dennis Mennis
Greenhorn

Joined: Jun 09, 2011
Posts: 6
@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

Joined: Dec 28, 2007
Posts: 2266
    
    3

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

Joined: Jun 09, 2011
Posts: 6
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.
 
jQuery in Action, 2nd edition
 
subject: EJB Servers??