Before You Begin Developing CFX Tags in JavaWhile implementing CFX tags in Java is easy, you should consider the information in this section before you begin developing them. Sample Java CFXsBefore you begin developing a CFX tag in Java, you might want to study sample CFX tags. You can find the Java source files for the examples on Windows in the cfx\java\distrib\examples subdirectory of the main installation directory. On UNIX systems, the files are located in the cfx/java/examples directory. The example tags are as follows:
Setting up your development environment to develop CFXs in JavaYou can use a wide range of Java development environments, including the Java Development Kit (JDK) from Sun to build Java CFXs. You can download the JDK from Sun http://java.sun.com/j2se. Although you can use the basic JDK, the recommended approach is to use one of the commercial Java IDEs that provide an integrated environment for development, debugging, project management, and access to documentation. Configuring the class pathTo configure your development environment to build Java CFXs, you must ensure that the supporting classes are visible to your Java compiler. These classes are located in the cfx.jar archive, located in the Java/classes subdirectory of your ColdFusion installation directory. Consult your Java development tool's documentation to determine how to configure the compiler class path for your particular environment.
The
When you create new Java CFXs, you should develop and deploy them in the Once you are finished with development and testing, you can then deploy your Java CFX anywhere on the class path visible to the ColdFusion embedded JVM. See "Customizing and Configuring Java" for more details on customizing the class path. Customizing and Configuring JavaYou use the JVM and Java Settings page on the ColdFusion Administrator Server tab to customize your Java development environment, such as by customizing the class path and Java system properties, or specifying an alternate Java Virtual Machine (JVM).
|