10.2. Using <cfobject>

Any compiled Java class can be called from within a regular ColdFusion template using the <cfobject> tag, as long as it is available to the class path as specified in the ColdFusion Administrator settings.

There are many ways to incorporate Java into your ColdFusion Web applications. How you employ the different options available to you will depend on the scope and nature of the project and the personnel involved. The third part of this book is devoted to writing Web applications exclusively in Java with JavaServer Pages, servlets, and Enterprise JavaBeans. Using <cfobject> will likely mean that you have a Web app written in ColdFusion that needs to perform one or two complex functions that might be better handled in Java, ...

Get Java™ for ColdFusion® Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.