ColdFusion 9.0 Resources |
Before you begin developing CFX tags in JavaBefore you begin developing CFX tags in Java, configure your Java development environment. Also, it can be helpful to review the examples here before you create CFX tags. Sample Java CFX tagsBefore you begin developing a CFX tag in Java, it can be useful to study sample CFX tags. You can find the Java source files for the examples for Windows in the cfx\java\distrib\examples subdirectory of the main installation directory. In UNIX systems, the files are located in the cfx/java/examples directory. The following table describes the example tags:
Setting up your development environment to develop CFX tags in JavaYou can use a wide range of Java development environments, including the Java Development Kit (JDK) from Sun, to build Java CFX tags. You can download the JDK from Sun http://java.sun.com/j2se. Adobe recommends that you use one of the commercial Java IDEs, so you have an integrated environment for development, debugging, and project management. Configuring the classpathTo configure your development environment to build Java CFX tags, ensure that the supporting classes are visible to your Java compiler. These classes are located in the cfx.jar archive, located in one of the following directories:
Customizing and configuring JavaUse the ColdFusion Administrator > Server Settings > JVM and Java Settings page to customize your Java development environment by customizing the classpath and Java system properties, or by specifying an alternate JVM. For more information, see the ColdFusion Administrator online Help. |