CFMX Java Integration Matt Liotta President CEO Montara

  • Slides: 22
Download presentation
CFMX Java Integration Matt Liotta President & CEO Montara Software, Inc.

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

Agenda • Why Java • Why CF and Java • J 2 SE integration

Agenda • Why Java • Why CF and Java • J 2 SE integration • J 2 EE integration • Integration issues • The wide world of Java • Q&A

Why Java has greater… • Power • Flexibility • Performance • Code availability However,

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

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

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

J 2 SE Integration • • • What is J 2 SE JVM JARs

J 2 SE Integration • • • What is J 2 SE JVM JARs CFOBJECT CFX Reflection

What is J 2 SE Java 2 Standard Edition • Specification • JVM •

What is J 2 SE Java 2 Standard Edition • Specification • JVM • Core Java libraries • Many different vendors

JVM Java Virtual Machine • Runtime • Abstracts underlying OS • Executes Java bytecode

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

JARs Java Archive • Provides packaging • Similar to Unix tar • Essentially a

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

CFOBJECT • See code example

CFOBJECT • See code example

CFX • See code example

CFX • See code example

Reflection • See code example

Reflection • See code example

J 2 EE Integration • What is J 2 EE • Servlet engines •

J 2 EE Integration • What is J 2 EE • Servlet engines • Application servers • WARs • EARs • Servlets • JSPs

What is J 2 EE Java 2 Enterprise Edition • Specification • Extends J

What is J 2 EE Java 2 Enterprise Edition • Specification • Extends J 2 SE • Enterprise services • Servlet/JSP • EJB • JMS • Many different vendors

Servlet Engines • Implement only part of J 2 EE • Provide Servlet and

Servlet Engines • Implement only part of J 2 EE • 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

Application Servers • Implement all of J 2 EE • Provide Servlet, JSP, EJB,

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

WARs Web Application Archive • Provides packaging • Similar to JAR • Essentially a

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

EARs Enterprise Archive • Provide packaging • Similar to JAR • Essentially a JAR

EARs Enterprise Archive • Provide packaging • Similar to JAR • Essentially a JAR containing everything an application server needs to deploy a J 2 EE component

Servlets • See code example

Servlets • See code example

JSPs • See code example

JSPs • See code example

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

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

The Wide World Of Java • JCP • Apache • JBoss • Source. Forge

The Wide World Of Java • JCP • Apache • JBoss • Source. Forge

Q&A Matt Liotta Blog: http: //Devil. M. com Email: mliotta@r 337. com

Q&A Matt Liotta Blog: http: //Devil. M. com Email: mliotta@r 337. com