Solved

Application Servers, Web Servers, Frameworks...What am I doing?

Posted on 2006-11-13
6
283 Views
Last Modified: 2010-08-05
I am playing around with JSP, so I installed Tomcat. I am seeing a lot of ads for IBM's WebSphere. I am also looking into ColdFusion, and on Adobe.com, they are promoting JRun. I decided to look up application servers and found a lot for Java, but some require Tomcat. I thought application servers did all the language-specific stuff and then the webserver would display website. If the application server did the execution of the scripts, why couldn't I use Apache or any webserver instead of one that could do JSP pages by itself?

I also found a lot of things that were frameworks. What's the difference between application servers and frameworks?

If I want to write JSP scripts, would something like JRun, WebSphere, GlassFIsh, or JBoss be a replacement for Tomcat, or do I not understand the purpose of an application server?

If I had a server that already had Apache and Tomcat installed, in order to run other languages, could I just install:
IgniteFusion - ColdFusion
Mono - .Net
Ruby - Ruby On Rails
WebWare - Python
CServer Pages - C++
0
Comment
Question by:ibanez11
  • 2
6 Comments
 
LVL 10

Expert Comment

by:ECollin
ID: 17937671
hi,

let's start by the begining.

An application server hosts application (written in any language) and provide them infrastructure services, such as security, transactions, runtime environment, scalabilty...
A framework is generaly a collection of source codes (objects or not) uppon which you can build your own application. A frameworks genraly provides the main arhitecture of the application and many kind of low level services (security, logging, data access...)

Websphere, jrun, weblogic, tomcat are J2EE application servers. They rely on sun's J2EE specifications. Some of them implements all j2ee specifications, some of them not (ie tomcat)

In your information system, you could need a WEB SERVER that provides static contents such as html pages, images...
You could also need a server that provides dynamic content : APPLICATION SERVER

JSP are pages that mix html code and dynamic code (java). This dynamic code is executed by the application server in order to provide a response to the user (a new html page).

Is it a little bit clearer ?

Emmanuel

Emmanuel
0
 

Author Comment

by:ibanez11
ID: 17940403
So would WebSphere, JRun, or WebLogic combined with Apache do the same thing that Tomcat does? WebSphere, JRun, or WebLogic would handle the dynamic code, and Apache would send the html to the user?
0
 
LVL 10

Accepted Solution

by:
ECollin earned 45 total points
ID: 17945238


WebSphere and weblogic are full implementations of the J2EEspecification. Tomcat, is just a servlet container.
You're right, it is a common architecture to place a web server (ie apache) in front of application servers.
Apache serves static contents (html, images...)
Weblogic serves dynamic contents (jsp/servlet)

Emmanuel
0
 
LVL 5

Assisted Solution

by:elvistheprince
elvistheprince earned 45 total points
ID: 18132040
Coldfusion is an application server that can run as a servlet on a J2EE server (websphere, JRun, etc.) - yes thats right an application server running on an application server or can run standalone (actually it runs an internal version of JRun and runs on that but you don't need to worry about that). Coldfusion takes CFML pages instead of JSP pages, many consider it easier to use whilst others dismiss it was a bit lite, as in most things there is no "best" just your personal preference.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SharePoint Disaster Recovery & BCP Papers 5 58
SCCM 2007 update Procedure 4 75
TDBXValue only provides String values 8 228
Running Java application as ordinary user 24 96
Convert websphere application server default chained Certificates from 1024 to 2048 keysize or higher size and also you can change signatureAlgorithm . Please make sure Websphere Application Server fixpack 7.0.0.23 or Above. The following steps a…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

777 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