+ All Categories
Home > Documents > Why ColdFusion is incorporating JAVA Servlets Overview Overview of generic problem Detailed View of...

Why ColdFusion is incorporating JAVA Servlets Overview Overview of generic problem Detailed View of...

Date post: 21-Dec-2015
Category:
View: 214 times
Download: 0 times
Share this document with a friend
Popular Tags:
19
Why ColdFusion is incorporating JAVA Servlets
Transcript

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.)

1122 33 44

Web Servers

Databases

Clients

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

How it Works

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.

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>

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

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

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.

ColdFusion in AF

Results

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

Other Technologies Available

• Active Server Pages (ASP’s)

• PHP

• Perl• Java Server Pages

(JSP’s)

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

Reasoning Behind Solution

• Merges two popular design paradigms

• Provides a niche for Macromedia to be involved in the emerging adoptability JAVA

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

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

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


Recommended