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 Application server and Scalability???!!!!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Application server and Scalability???!!!!!!" Watch "Application server and Scalability???!!!!!!" New topic

Application server and Scalability???!!!!!!

Chandra Bairi
Ranch Hand

Joined: Sep 12, 2003
Posts: 152
Hello friends,
I am new to EJB. I have been going thru a book in which it is mentioned that application servers are used for scalability? what exactly is scalability and how can app servers support scalability. before reading i had a conception that app servers are used for load balancing. can anyone explain about this. I guess this question is in the right forum.
Thanks for any help.

Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
The SEI defines scalability as "the ease with which a system or component can be modified to fit the problem area." To be more specific, the scalability property of a J2EE application server means that if your user base doubles, you can still serve the users by adding more hardware into the cluster. If the server would not be scalable, you would not be able to accomodate those extra users (or you could, but only paying a high price for it, e.g. double the users = quadruple the number of hardware).

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
    5 also has a nice definition for "scalability."
Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3879
And the way in which application servers support scalability is through clustering and load balancing. Clustering is the ability to deploy the same application on multiple JVM's, scattered across multiple machines, so that the set of JVM's act (in some way) like one large JVM. Load balancing is the act of spreading requests across those JVM's. Both HTTP requests (for Servlets and Web Services) and RMI-IIOP requests (for EJBs) may be load balanced.

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at for other WebSphere information.
It is sorta covered in the JavaRanch Style Guide.
subject: Application server and Scalability???!!!!!!
Similar Threads
Design for scalability.
Using SOAP for Data Layer design?
Java is lossing jobs to .net
Jboss vs Websphere - your opinion?
JSP/Servlet VS PHP