why coldfusion is incorporating java servlets

19
Why ColdFusion is incorporating JAVA Servlets

Upload: carter

Post on 13-Feb-2016

52 views

Category:

Documents


0 download

DESCRIPTION

Why ColdFusion is incorporating JAVA Servlets. Overview. Overview of generic problem Detailed View of ColdFusion Applications of ColdFusion on Co-Op Future developments analysis. Architecture Design for WebApps (3 Tier Arch.). Clients. 3. 2. 4. 1. Web Servers. Databases. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Why ColdFusion is incorporating JAVA Servlets

Why ColdFusion is incorporating JAVA Servlets

Page 2: Why ColdFusion is incorporating JAVA Servlets

Overview

• Overview of generic problem• Detailed View of ColdFusion• Applications of ColdFusion on Co-Op• Future developments analysis

Page 3: Why ColdFusion is incorporating JAVA Servlets

Architecture Design for WebApps (3 Tier Arch.)

11 22 33 44

Web Servers

Databases

Clients

Page 4: Why ColdFusion is incorporating JAVA Servlets

What people want when developing a web app

• Browser Independence• Ease of programming• Scalability in application functionality• Rapid development of application time• One consistent look and feel of

programming structures

Page 5: Why ColdFusion is incorporating JAVA Servlets

How it Works

Page 6: Why ColdFusion is incorporating JAVA Servlets

What is ColdFusion?

• ColdFusion is a complete Web application development platform—a programming language, an application server, a development environment, and a framework for delivering enterprise services. But it is also a straightforward technology for adding basic Web database functionality to your Web site.

Page 7: Why ColdFusion is incorporating JAVA Servlets

Code Example<!--index.cfm-->

<cfinclude template=“app_locals.cfm”>

<cfswitch expression=“#attributes.fuseaction#”>

<cfcase value=“main”> <cfinclude template=“qry_GetShoppingCart.cfm”> <cfset UserShoppingCart=session.UserShoppingCart> <cflocation url=“index.cfm?fuseaction=Catalog”> </cfcase>

<cfcase value=“addItem”> <cfinclude template=“act_AddItem.cfm”> <cflocation url=“index.cfm?fuseaction=cartSummary”> </cfcase>

<cfcase value=“ClearCart”> <cfinclude template=“act_ClearCart.cfm”> <cflocation=“index.cfm?fuseaction=Catalogue”> </cfcase>

</cfswitch>

Page 8: Why ColdFusion is incorporating JAVA Servlets

Reasons why it is commercially accepted

• Simplicity - easy to learn• Power – over 70 tags available in language• Community – large open source community

of developers• Software Maturity – was originally created

in the late 80’s

Page 9: Why ColdFusion is incorporating JAVA Servlets

Interaction Diagram

Weather Database

JEES

WxFX

Interactions betweenServer and TDAs

Interactions usingServer Side Scripting

CGIs, ASP, JavaServlets, Cold Fusion

Interactions betweenServer and database

ApplicationServer

(UNIX)

WeatherServer(TWS)

WeatherWeb Products

Weather DataWeather Datacube

Ethernet Interconnect

Page 10: Why ColdFusion is incorporating JAVA Servlets

Introduction of JWISConcept of Operations (CONOPS)

JWIS will automate weather support to the mission planning and execution process through an interactive, dynamic web-based interface that supports operational and tactical level planning/decision making, mission rehearsal and training. JWIS will take the first steps towards automatically integrating weather forecast and impact databases into AF mission planning systems.

Page 11: Why ColdFusion is incorporating JAVA Servlets

ColdFusion in AF

Page 12: Why ColdFusion is incorporating JAVA Servlets

Results

Page 13: Why ColdFusion is incorporating JAVA Servlets

Deficiencies of ColdFusion

• Macromedia is the only vendor that dictates ColdFusion code structures

• Rapidly losing market share to Java Server Pages

• Much smaller toolkit than JAVA– Not as many options available

Page 14: Why ColdFusion is incorporating JAVA Servlets

Other Technologies Available

• Active Server Pages (ASP’s)

• PHP

• Perl• Java Server Pages

(JSP’s)

Page 15: Why ColdFusion is incorporating JAVA Servlets

Macromedia’s Solution

• ColdFusion Version 5.0 will incorporate a JAVA taglet library

• Will incorporate two different scripting languages and application frameworks that run in the same environment

Page 16: Why ColdFusion is incorporating JAVA Servlets

Reasoning Behind Solution

• Merges two popular design paradigms• Provides a niche for Macromedia to be

involved in the emerging adoptability JAVA

Page 17: Why ColdFusion is incorporating JAVA Servlets

What Servlets Have to Offer

• JAVA equivalent to Active Server Pages• Platform Independent• Easy for any JAVA class to be instantiated

into JSP code• Can include any future JAVA capabilities

Page 18: Why ColdFusion is incorporating JAVA Servlets

ColdFusion 5.0

• JAVA developers can now change classes without having to restart ColdFusion each time

• Incorporation of JAVA specific tags• Incorporation of JRun’s JAVA server into

ColdFusion

Page 19: Why ColdFusion is incorporating JAVA Servlets

Impact of Decision

• Easier for programmers to develop applications

• Allows for different levels of ability to develop applications

• Eliminates need for a ColdFusion server and a separate Java server to run 1 web site on IIS