Solved

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

Posted on 2006-11-13
6
287 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
[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
  • 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

Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
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.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

756 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