Solved

Application Server basic concept -- "server instance"

Posted on 2007-03-19
7
170 Views
Last Modified: 2010-04-20
If I am to run multiple web applications, do i need multiple instances of the application server at the same time? or is that one server instance can handle multiple applications?
0
Comment
Question by:jtjli
  • 4
  • 2
7 Comments
 
LVL 16

Accepted Solution

by:
suprapto45 earned 400 total points
ID: 18754248
Hi,

>>"do i need multiple instances of the application server at the same time?"
No you don't.

One server instance can definitely handle multiple applications. For example, in Tomcat, if you see your <TOMCAT_HOME>/webapps folder, all the folders there are the web applications.

David
0
 
LVL 16

Assisted Solution

by:suprapto45
suprapto45 earned 400 total points
ID: 18754250
If your app server is accessible from http://localhost:8080 and you have deployed multiple web applications successfully, you can access them as http://localhost:8080/WebApp1, http://localhost:8080/WebApp2 and so on.
0
 
LVL 16

Assisted Solution

by:suprapto45
suprapto45 earned 400 total points
ID: 18754269
Sorry for spamming your mail by posting multiple replies.

You may be confused on the concept of clustering. In clustering the servers, yes, you will need multiple app server instances. However, in the simple scenario, you can deploy multiple web applications to one instance of app server. The disadvantage of this design is that once the app server is down / shut down, all the web applications are also inaccessible. By clustering the servers, if one of the app servers are down, all the web applications are still accessible (it may be slower). In clustering environment, all the workloads are also shared by multiple servers instead of single server.

Hope that helps.
David
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 30

Expert Comment

by:mayankeagle
ID: 18757314
Yes, clustering is a different thing if that is what you meant:

http://tomcat.apache.org/tomcat-5.0-doc/cluster-howto.html
0
 

Author Comment

by:jtjli
ID: 18760438
Thanks for the replies.
Just one last question.

In the case of clustering, does each web app run on a different server, or the same web app can run across several servers (so that when one crashed, the web app still runs) ? Also, is it possible to link up servers across different geographical locations (e.g. some in USA some in UK) to form a cluster?



0
 
LVL 30

Assisted Solution

by:mayankeagle
mayankeagle earned 100 total points
ID: 18760859
Different instances of the same web app run on different servers - did I say that clearly? If one crashes, the other still runs. And you can link them up across locations regardless of location as long as they are on the same network.
0
 
LVL 16

Expert Comment

by:suprapto45
ID: 18762229
Agree! :)
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This video teaches users how to migrate an existing Wordpress website to a new domain.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now