1 / 22

CFMX Java Integration

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

george
Download Presentation

CFMX Java Integration

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  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@r337.com

More Related