Solved

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

Posted on 2006-11-13
6
282 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java question 2 176
Exclude Computers by Name from SCCM collection 9 167
Fisheye tool 2 104
Could you point what else is needed to start Tomcat server with success? 9 80
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.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

911 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

17 Experts available now in Live!

Get 1:1 Help Now