Section 13.3. ColdFusion MX J2EE Capabilities

   

13.3 ColdFusion MX J2EE Capabilities

To complete the comparison of ColdFusion and J2EE (Java 2, Enterprise Edition), let's first clear up some misconceptions about this integration and what it affords the ColdFusion developer:

  • The same ColdFusion application can include a mix of ColdFusion templates, servlets, and JSPs.

  • ColdFusion pages can include servlets and JSPs.

  • ColdFusion pages can forward control to servlets and JSPs.

  • Pages written in CFML or JSP can share data in persistent scopes such as session and application.

  • ColdFusion pages can import a tag library written in JSP and use the tags in it. We will see how to do this shortly.

  • You cannot write Java programming language code directly in a Cold-Fusion template.

  • ColdFusion MX templates are not JSPs.

  • ColdFusion MX does not Java use types for variables .

In Chapter 10 we saw how to integrate ColdFusion with Java technology using CFX tags and Java applets. We will now look at how to write a JavaServer Pages tag library and use it in your JSP and ColdFusion applications. But first we need to figure out JSP. Along the way, we will also look at how to perform the include, forward, and referencing capabilities mentioned above.


   
Top


Java for ColdFusion Developers
Java for ColdFusion Developers
ISBN: 0130461806
EAN: 2147483647
Year: 2005
Pages: 206
Authors: Eben Hewitt

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net