220 likes | 350 Vues
Join Montara Software, Inc. President & CEO Matt Liotta as he shares his expertise on integrating Java with ColdFusion (CF). Discover the advantages of using Java over JSP and learn about J2SE and J2EE integration strategies, including the use of JVMs, JARs, and application servers. Matt will address common integration issues and answer your questions in an engaging Q&A session. Don't miss this opportunity to explore why Java offers greater power, flexibility, and performance in your applications!
E N D
CFMX Java Integration Matt Liotta President & CEO Montara Software, Inc.
Agenda • Why Java • Why CF and Java • J2SE integration • J2EE integration • Integration issues • The wide world of Java • Q & A
Why Java Java has greater… • Power • Flexibility • Performance • Code availability However, it comes at a cost!
Why CF And Java CFML is better than JSP!!!
J2SE Integration • What is J2SE • JVM • JARs • CFOBJECT • CFX • Reflection
What is J2SE Java 2 Standard Edition • Specification • JVM • Core Java libraries • Many different vendors
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 ZIP file containing… • Class files • Property files • Other meta data
CFOBJECT • See code example
CFX • See code example
Reflection • See code example
J2EE Integration • What is J2EE • Servlet engines • Application servers • WARs • EARs • Servlets • JSPs
What is J2EE Java 2 Enterprise Edition • Specification • Extends J2SE • Enterprise services • Servlet/JSP • EJB • JMS • Many different vendors
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
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
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 containing everything an application server needs to deploy a J2EE component
Servlets • See code example
JSPs • See code example
Integration Issues • Primitives • Casting • Overloading • Nulls • Static classes
The Wide World Of Java • JCP • Apache • JBoss • SourceForge
Q & A Matt Liotta Blog: http://DevilM.com Email: mliotta@r337.com