Oğuz Demirkapı Sr. Application Developer, TeraTech 1.

Slides:



Advertisements
Similar presentations
Question examples. Session 1 Objectives Why certify? Positioning of the non-technical version What is Java? Key advantages of Java Java Applications vs.
Advertisements

Introduction to Maven 2.0 An open source build tool for Enterprise Java projects Mahen Goonewardene.
Developing in CAS. Why? As distributed you edit CAS 3 with Eclipse and build with Maven 2 – Best Practice for Release Engineering – Difficult edit-debug.
1 ColdFusion Sandra Cadena-Torres IS-373 ~ Spring 2010.
Technology Overview JAVA Servlets CS-611 S. Witherspoon.
DT228/3 Web Development Introduction to Java Server Pages (JSP)
Server-Side vs. Client-Side Scripting Languages
Model-View-Controller ("MVC") This is a architectural design pattern for interactive applications. This design pattern organizes an interactive application.
WEB1P servintro1 Introduction to servlets and JSP Dr Jim Briggs.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
Java 2 – Enterprise Edition Kevin J. LaFata April 21, 2003 UM – St. Louis.
1 Build a Web Application on J2EE. 2 J2EE Scenario Client – Web Server – EIS Resources Client – Web Server – EIS Resources Client – Application Server.
Why ColdFusion is incorporating JAVA Servlets Overview Overview of generic problem Detailed View of ColdFusion Applications of ColdFusion on Co-Op Future.
MiG Runtime Manager Secure hosting of runtime environments without root intervention.
For more Lectures and Notes Visit
1 CS6320 – Why Servlets? L. Grewe 2 What is a Servlet? Servlets are Java programs that can be run dynamically from a Web Server Servlets are Java programs.
J2EE vs..NET Tom Tong. Enterprise Application 1 distributed 2 multiple-platform 3 critical 4 performance 5 security 6 multiple-data sources.
1 Java Server Pages Can web pages be created specially for each user? What part does Java play?
Tutorial -01. Objective In this session we will discuss about : 1.What is MVC? 2.Why MVC? 3.Advantages of MVC over ASP.NET 4.ASP.NET development models.
Tomcat Celsina Bignoli History of Tomcat Tomcat is the result of the integration of two groups of developers. – JServ, an open source.
Talend 5.4 Architecture Adam Pemble Talend Professional Services.
Doug Hughes, Alagad Inc. Drinkin’ Cold Coffee -or- How to use Java Objects from ColdFusion.
Geolocation with ColdFusion Oğuz Demirkapı CTO | NicheClick Media.
+ 1Getting Started with WAP and WML Marrying Java & ColdFusion Charles Arehart Founder/CTO, Systemanage ©
ColdFusion MX Server Administration J2EE Deployment and Clustering Adam Wayne Lehman J2EE Deployment and Clustering Adam Wayne.
What’s New in ColdFusion MX 6.1 Sep-15 Michael Smith, TeraTech Inc Intro.
JRun 4 & Macromedia MX Tommy Reilly JRun Engineer.
Ing. Ignacio Roqueta ARTech GeneXus and J2EE.
From Client Server to WEB Rizwan Akhtar Tangible Technologies
What’s New in CF 8 Admin MDCFUG 8/14/2007 Ajay Sathuluri Sr. Web and Database Engineer TeraTech Inc.
Java Servlets CS-422. Application Mapping Your servlet application will be mapped to a directory structure: –“myapp” maps to some directory C:/docs/apps/myapp.
Entity Java Beans Jorg Janke Open Source ERP & CRM.
1 CS6320 – Deployment and Context L. Grewe 2 The Servlet Container Servlets run in a container sometimes called the Servlet engine. Servlets run in a.
COLD FUSION Deepak Sethi. What is it…. Cold fusion is a complete web application server mainly used for developing e-business applications. It allows.
JBoss at Work JAW Motors Application Chapter 1-3 Jeff Schmitt October 9, 2006.
|Tecnologie Web L-A Anno Accademico Laboratorio di Tecnologie Web Introduzione ad Eclipse e Tomcat
Deploying CFML on J2EE: Opportunities & Challenges Charlie Arehart, CTO New Atlanta Communications
Flex 2.0 Flex for ColdFusion developers Part 1. What is Flex Flex allows developers to create Flash content for Rich Internet Applications in a more programmer.
HTML_Generators WB_HTML_Generators. What method are you going to choose to build your web page? MethodWrite Convert Html IssuesHTML HTML Editors Tool.
Introduction to ColdFusion Yu Fu 2003 MEC Candidate.
Flex 2 Flex, ColdFusion and the Wizard Oh My! or Introducing the Flex/ColdFusion Wizard Theo Rushin Jr TeraTech, Inc.
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All rights reserved Chapter 1 Introduction to.
IIS 7.0 for CFML Developers Vince Bonfanti. Introduction Vince Bonfanti President and co-founder of New Atlanta Software developer by training and trade.
ColdFusion Security Michael Smith President TeraTech, Inc ColdFusion, Database & VB custom development
March 12 & 13, 2007 IIS 7.0 for CFML Developers Deploying on IIS 7.0 with Adobe ColdFusion and New.
Ch 2 – Application Assembly and Deployment COSC 617 Jeff Schmitt September 14, 2006.
1 CS122B: Projects in Databases and Web Applications Spring 2015 Notes 03: Web-App Architectures Professor Chen Li Department of Computer Science CS122B.
BlackBox Methodology A means of creating efficient and flexible reusable ColdFusion code.
The Future of ColdFusion Christian Cantrell ell.
Charlie Arehart, CTO BlueDragon A New Platform for Fusebox 4.
Oğuz Demirkapı Sr. Application Developer, NicheClick Media March 12th- 13th 2008europe.cfunited.com.
Theo Rushin, Jr. Senior Web Application Developer World Singles and DoubleBlack Technologies 12/26/
Modern Programming Language. Web Container & Web Applications Web applications are server side applications The most essential requirement.
Java Programming: Advanced Topics 1 Building Web Applications Chapter 13.
ColdFusion MX 7 “Blackstone” Macromedia, Inc. macromedia 2005 Living With Today’s Internet Chronic problems continue to exist for users and developers.
Introduction to Programming 1 1 2Introduction to Java.
BlueDragon Editions and Advantages Lori Pacheco New Atlanta.
CFUNITED – The premier ColdFusion conference David Epler Constella Group Choices: The Other ColdFusion Servers.
High Availability - Clustering ColdFusion
TeraTech
A Free, Open Source ColdFusion Content Management System
Tomcat Celsina Bignoli
The J2EE Framework Java Technologies External Application.
J2EE Application Development
Packages and Interfaces
ESIS Consulting LLC (C) ESIS Consulting LLC. All rights reserved
Devops Jenkins as CI/CD tool Created By: Amrit Choudhary
Frameworks & Developer Teams & Pragmatism
Intergral Team at CFUnited
Presentation transcript:

Oğuz Demirkapı Sr. Application Developer, TeraTech 1

TeraTech  Sr. Application Developer at TeraTech  Coding since ‘85, CGI Programming since ’94  CF Developer since ’97  Founder and Manager (prev) of CFUG for Turkey  Interested in ColdFusion, Flex, Ajax, Frameworks, i18N, L10N, g13N  Have big interest in epistemology 2

TeraTech  What is goal?  History  ColdFusion Code Deployment Methods  Code Deployment Details  Sample Code 3

TeraTech  Code deployment may needs different scenarios and we will consider a sourceless code deployment in an easy way.  We also want to resolve misunderstanding points on code deployment techniques.  Pre compiled code advantages would be interesting specially for commercial organizations. 4

TeraTech  CFEncode and encrypted code  ColdFusion Archives (CAR files)  Pre-compiling ◦ ColdFusion MX 7  Souceless Deployment ◦ CFCompile ◦ ColdFusion MX 7 and up ◦ BlueDragon 6.1 and up 5

TeraTech  Direct Source Code (common usage)  Encyrpted Code (CFEncode)  CAR (ColdFusion Archive)  EAR/WAR Packaging ◦ Only in ColdFusion MX 7 Enterprise Edition  Pre-compiled and Sourceless Deployment ◦ In all version of ColdFusion MX 7 6

TeraTech  Can be found at ◦ “cf_root/bin” (ColdFusion MX) ◦ “cf_webapp_root/WEB-INF/cfusion/bin” (JRun)  ColdFusion code encryption  Good for basic encryption and still using by lots of companies to protect code  Easy to decode ( exploits/cfdecrypt.c)  Not secure enough 7

TeraTech  Allaire Cold Fusion Template Header Size: New Version.ȆüVHE5:[‰ø„ñ.hqؤä8X°É¿Ìò©‰P^qv.ßNÊÒ‡ù F.Íû'ÉÊE´Žå¿ˆpcw..*¬Ó¦N47Â{{c;.û=Ò“š.ü.ù>eÐ×åR— ˜î¥¡’¡è‡rB^T.½¸6ÛºÀE’)ñf{.âÑôÚ<Üû¶.Y%ŽQÄmBœ4.H.P’.„ ÷ီ¯»~"ß<"©:¥ºmZLìBXIÂÕ¿|°ÍãˆÁ6wÜX..zeA]¸ó­ ‡[ªŒ‹.×:Oñ.å.ç.f×.¾ w\Œ·.Êó»¢È³‚)8...®Ü—ã\÷.*ÝÐ1Ì4&— ÜÓ¸!®.0¸‰.næ‘YU&­.½ÿõ¨.5Öû].¥ ›ÎA/¼¸.Þö‚›í1.Ù’ÈŒ v½Äš ×¢Ñ!Lê«ÚAÁH¬„ 8

TeraTech  Basically J2EE Package Deployment  Includes ColdFusion runtime  Deploy to J2EE Servers such as JRun, TomCat, WebLogic, WebSpere etc.  The J2EE packaged deployment can be sourceless (optional) and can also omit the CF Administrator (optional).  Create at any ColdFusion Server but deploy only Enterprise edition  Need separate license for ColdFusion runtime (otherwise works a developer edition) 9

TeraTech  Compile Source Code (CFM,CFC, and CFR) to create Java byte code  The byte code is processed by the JVM - it is not interpreted by the CF runtime  But still needs ColdFusion MX 7 to run compiled code and not compatible with old ColdFusion MX versions  Deploy into any ColdFusion MX 7 server  No need for any extra license 10

TeraTech  Can be found at ◦ “cf_root/bin” (ColdFusion MX) ◦ “cf_webapp_root/WEB-INF/cfusion/bin” (JRun)  Can be run also for directories  Default action is recursively on defined directory  Default compile directory is ◦ “cf_webapp_root/WEB-INF/ cfclasses” 11

TeraTech  Easy compile: ◦ cfcompile webroot [directory-to-compile] ◦ C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB- INF\cfusion\bin\cfcompile.bat C:\SERVER\Domains\sourceless C:\SERVER\Domains\sourceless\codedir C:\SERVER\Domains\sourceless\codedir\sample.cfm... successful 1 total 1 elapsed sec  Sourceless Compile: ◦ cfcompile -deploy webroot directory-to-compile output-directory ◦ C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB- INF\cfusion\bin\cfcompile.bat -deploy C:\SERVER\Domains\sourceless C:\SERVER\Domains\sourceless\codedir 12

TeraTech Sample Code #loopid#: #Now()# 13

TeraTech - SourceFile/C:\SERVER\Domains\sourceless\codedir\sample.cfmcfsample2ecfm coldfusion/runtime /CFPage ()V thisLcfsample2ecfm ;LocalVariableTableCodebindPageVariablesD(Lcoldfusion/runtime/Variable Scope;Lcoldfusion/runtime/LocalScope;)Vcoldfusion/runtime/CfJspPage LOOPIDLcoldfusion/runtime/Variable;bindPageVariabler(Ljava/lang/String;Lcoldfusion/runtime/VariableScop e;Lcoldfusion/runtime/LocalScope;)Lcoldfusion/runtime/Variable; com.macromedia.SourceModTimem+ pageContext#Lcoldfusion/runtime/NeoPageContext;!" #getOut()Ljavax/servlet/jsp/JspWriter;%&javax/servlet/jsp/PageContext 14

TeraTech  ColdFusion MX 7 and Up ◦ Both Standard and Enterprise Editions  BlueDragon Standard Edition (Server JX) ◦ Not in BlueDragon (free) Server ◦ Starting from version 6.1 (2004) 15

TeraTech  Let us check some sample code and usage … 16

TeraTech  Macromedia LiveDocs (  Designing ColdFusion Applications for Deployment as EAR Files (  Protecting Applications with WAR and EAR Packaging and Sourceless Deployment (  Deploying Applications with ColdFusion MX 7 ( con.com/read/48654.htm) con.com/read/48654.htm  Sourceless / J2EE Deployment ( E_Deployment) E_Deployment 17

TeraTech ? 18