CFMX Java Integration - PowerPoint PPT Presentation

About This Presentation
Title:

CFMX Java Integration

Description:

Title: What s New in ColdFusion MX Author: Matt Liotta Last modified by: Lorraine Williams Created Date: 5/10/2003 9:01:34 PM Document presentation format – PowerPoint PPT presentation

Number of Views:81
Avg rating:3.0/5.0
Slides: 23
Provided by: MattL163
Category:

less

Transcript and Presenter's Notes

Title: CFMX Java Integration


1
CFMX Java Integration
  • Matt Liotta
  • President CEO
  • Montara Software, Inc.

2
Agenda
  • Why Java
  • Why CF and Java
  • J2SE integration
  • J2EE integration
  • Integration issues
  • The wide world of Java
  • Q A

3
Why Java
  • Java has greater
  • Power
  • Flexibility
  • Performance
  • Code availability
  • However, it comes at a cost!

4
Why CF And Java
  • CFML is better than JSP!!!

5
J2SE Integration
  • What is J2SE
  • JVM
  • JARs
  • CFOBJECT
  • CFX
  • Reflection

6
What is J2SE
  • Java 2 Standard Edition
  • Specification
  • JVM
  • Core Java libraries
  • Many different vendors

7
JVM
  • Java Virtual Machine
  • Runtime
  • Abstracts underlying OS
  • Executes Java bytecode
  • Many different platforms

8
JARs
  • Java Archive
  • Provides packaging
  • Similar to Unix tar
  • Essentially a ZIP file containing
  • Class files
  • Property files
  • Other meta data

9
CFOBJECT
  • See code example

10
CFX
  • See code example

11
Reflection
  • See code example

12
J2EE Integration
  • What is J2EE
  • Servlet engines
  • Application servers
  • WARs
  • EARs
  • Servlets
  • JSPs

13
What is J2EE
  • Java 2 Enterprise Edition
  • Specification
  • Extends J2SE
  • Enterprise services
  • Servlet/JSP
  • EJB
  • JMS
  • Many different vendors

14
Servlet Engines
  • Implement only part of J2EE
  • Provide Servlet and JSP services
  • Apache Tomcat is reference implementation
  • CFMX is not supported on Servlet engines
  • CFMX can be configured to run on Servlet engines

15
Application Servers
  • Implement all of J2EE
  • Provide Servlet, JSP, EJB, JMS services
  • CFMX is supported on certain application servers
  • CFMX can be configured to run on all application
    servers

16
WARs
  • Web Application Archive
  • Provides packaging
  • Similar to JAR
  • Essentially a JAR containing everything a Servlet
    engine needs to deploy a web application

17
EARs
  • Enterprise Archive
  • Provide packaging
  • Similar to JAR
  • Essentially a JAR containing everything an
    application server needs to deploy a J2EE
    component

18
Servlets
  • See code example

19
JSPs
  • See code example

20
Integration Issues
  • Primitives
  • Casting
  • Overloading
  • Nulls
  • Static classes

21
The Wide World Of Java
  • JCP
  • Apache
  • JBoss
  • SourceForge

22
Q A
  • Matt Liotta
  • Blog http//DevilM.com
  • Email mliotta_at_r337.com
Write a Comment
User Comments (0)
About PowerShow.com