Solved

Application Server basic concept -- "server instance"

Posted on 2007-03-19
7
177 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
LVL 30

Expert Comment

by:Mayank S
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:Mayank S
Mayank S 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

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
exchange 2010 turning off 3des ciphers 2 443
Setting Up Local Lan Web Server 1 78
Best practices for sharing large amounts of data 9 109
throw exception 21 67
A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
What You Need to Know when Searching for a Webhost Provider
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.
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.

749 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