Guy Rish

Subscribe to Guy Rish: eMailAlertsEmail Alerts
Get Guy Rish via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn

Top Stories by Guy Rish

In Part 5 (CFDJ, Vol. 3, issue 8), "Java CFX Basics," I identified some shortcomings of the CFX model. In Part 7, I demonstrate a number of workarounds and solutions to these problems. In many cases what I present here is viable across the board for all CFX types. However, this series deals specifically with Java interoperability, so I'll leave the modifications to you. Complex Data Types One of the critical problems with the CFX model is the inability to pass complex data types into and out of a CFX. Only simple types are possible - no structures, no arrays, and only a single query (using the QUERY attribute). This can be a considerable challenge when attempting to integrate with higher order applications that must work with large amounts of data using one of the "restricted" data types. As it turns out, Allaire (before they became part of Macromedia) provided a p... (more)

Part 1: Gateways to Fun

The new release of ColdFusion has some interesting new Java features that just beg for a return and so here we are again! As with the previous series, I'll take the time to cover the basics of these new features before I dig a bit deeper. Event Gateways Undoubtedly one of the coolest new Java features in ColdFusion MX 7 is event gateways - opening up a whole new set of possibilities that were, at best, difficult, and at worst, impossible, with previous versions of ColdFusion. Providing a ColdFusion-friendlier means for working with new network protocols to more mundane things li... (more)

Using Gateways PART 2

Part 1 in this series (CFDJ, Vol. 7, issue 5) discussed the options in the ColdFusion Administrator for configuring the event gateway facility in ColdFusion MX 7 and how to register new event gateway types. There was little in the way of explaining how to use event gateways, so in this article we'll explore the basics of using event gateways through two examples: the code from the previous article and another of the out-of-the-box event gateway types, the CFML asynchronous event gateway type. These two gateway types represent the two fundamental varieties: the types that respond... (more)

A Cold Cup o' Joe

Without a doubt, one of the most powerful assets available from the ColdFusion and Javamarriage is the simple ability to call up anything from the extensive Java class libraries. In this article we'll look at the basics of working with Java in ColdFusion. I'll specifically talk about the different ways to create and use a Java object within your templates. As with most things, there are a few twists and turns when you mix technologies. Configuration It's important to make certain that the ColdFusion Server's Java settings are properly configured. Misconfiguration can lead to poor... (more)

A Cold Cup O'Joe Part 8 of 8

Java applets are a much-maligned technology in the Internet world. Originally a major focus of the Java platform, they've retreated from their former place in the spotlight. Problems with browsers, corporate conflicts, and being outflanked by faster and (arguably) lighter-weight tools like Macromedia's Flash have diminished the popularity of applets considerably. Despite this, they continue to be used for a variety of purposes. What's more, they're often the only solution since most other technologies have focused on limited platforms while Java purports to be usable everywhere.... (more)