Welcome!

You will be redirected in 30 seconds or close now.

ColdFusion Authors: Yakov Fain, Jeremy Geelan, Maureen O'Gara, Nancy Y. Nee, Tad Anderson

Related Topics: ColdFusion

ColdFusion: Article

BlueDragon:Another Option for CF Developers

BlueDragon:Another Option for CF Developers

Imagine going to buy a new car. You are down to specifying the options for the vehicle and the salesman says, "You can have it in any color as long as it's black." If black is your favorite color that's great; but if it's not, then maybe they have just lost a customer. These days it's all about giving people choices.

Until recently, if you were developing ColdFusion applications you didn't have much choice. Macromedia was the only vendor providing a ColdFusion application server. Now, BlueDragon from New Atlanta has arrived to change all that. [Note: BlueDragon was originally a product called tagServlet developed by n-ary Limited. So it's not entirely new.] I have taken some time to check out BlueDragon, and here is what I have seen.

What Is BlueDragon?
In a nutshell, BlueDragon is a family of Java-based products that implement the CFML (5.0) language. (There are a few CF5 tags that are not supported in BlueDragon, and support for CFMX language features is under development.) This allows you to develop and deploy CFML applications on an application server other than that provided by Macromedia. In addition, you have the ability to extend your applications with Java servlets, JavaServer Pages (JSP), or other J2EE technologies.

The product family consists of three products: BlueDragon Server, BlueDragon Server JX, and BlueDragon for J2EE. The products are priced competitively to Macromedia ColdFusion Server products, and range in cost from $249/server-$2499/ cpu. BlueDragon is free for development (like ColdFusion MX).

Check the New Atlanta site for details, but basically the server product is an application server to be used in conjunction with your Web server (it supports IIS, Apache, and Netscape/iPlanet) to serve CFML pages. Similar to CFMX, it has a built-in Web server and can be used in standalone mode. The Server JX product adds the ability to serve JSP in addition to CFML. (While CFMX can execute JSPs as well, this is only available in the Enterprise Edition.)

The BlueDragon for J2EE product is quite different from the server products. Rather than being a complete application server, it is a portable CFML runtime module that allows for packaging your application into a Web application archive or WAR file and deploying onto any J2EE server. One interesting thing to note about the WAR file packaging is that BlueDragon/J2EE allows you to deploy your files as compiled binaries - without source - thereby allowing you to protect your intellectual property and source code. For a CF developer looking to migrate more seamlessly to J2EE and/or protect his or her source code, BlueDragon provides an answer.

Installation and Administration
Since I wanted to try the BlueDragon/J2EE product, I needed to obtain a J2EE compatible server. (Again, the two more basic versions are themselves complete application servers, like CFMX.) I chose to download Tomcat, which is readily available and free for deployment. Installing Tomcat went without a hitch; I installed it on default port 8080 so as not to conflict with IIS or CFMX running on the same box. Installing BlueDragon/J2EE was straightforward as well.

Essentially, BlueDragon/J2EE ships as a set of files that you drop into the Web application directory of the J2EE server. The template files include an index.cfm that displays a page so that you can verify your installation. You access the BlueDragon Administration screen by browsing to the /bluedragon/admin.cfm relative to your application url, for example http://localhost:8080/myapp/bluedragon/admin.cfm.

The BlueDragon Administrator is laid out similarly to the CF Administrator and should feel familiar to any CF developer (see Figure 1). As you would expect, there are functions to set data sources, mappings, application/session variable timeouts, scheduled tasks, and mail server settings.

The BlueDragon Administrator differs from the CF Administrator in that it does not have functions for Verity (not supported in BlueDragon), debugging settings, log files, tag restrictions, and a few other miscellaneous settings. It does include a Deploy War File function that ColdFusion Server does not support. As for database support, the popular databases are supported and BlueDragon ships with New Atlanta's JTurbo, which is a Type 4 JDBC driver for connecting to Microsoft SQL server. I had no problems creating a data source to a Microsoft SQL server database.

Running Some Code
For my initial test, I tried running the employee directory application for the fictitious New Line Software company that ships as one of the example applications with ColdFusion 5. I selected this application because most people would have access to the code and it does all the basic interactions with a database: add, edit, delete, and search records. I copied the code from the CF 5 examples into the Web application directory with the other BlueDragon/J2EE files, created the data source, and launched the application - it just worked.

There's really not much to report. I tested all the functionality of the application and it worked flawlessly. Anyone browsing the application would have no indication that BlueDragon, not a ColdFusion Server, was serving pages.

Creating the WAR file for deployment was straightforward. From the BlueDragon Administrator, click "build war file" to launch the WAR deployment wizard (see Figure 2). You must provide a destination for the WAR file, select if you want to deploy source files or compiled binaries, and provide a license key. The following screen will ask which database drivers and optional tags you want to include in your WAR file. Press finish and your WAR file is created.

Upon inspecting the contents of the WAR file (which is basically a zip archive), I confirmed the source code was not included in the package. In place of the source was a compiled binary file, webapp.bda. As for deployment, WAR deployment is handled slightly differently depending on the particular J2EE server. Tomcat supports "auto-deployment" in which you simply copy the WAR file to the \webapps directory of Tomcat and restart. I was able to auto-deploy the WAR file for my sample application with no problem.

Granted, the example application is very simple under the hood. I was eager to try BlueDragon with a "real" application. I tried to run a bug-tracking application that is built with Fusebox 3, has user authentication/authorization, extensive use of custom tags, and user-defined functions.

Before running the application, I did read the product documentation, which includes a CFML Compatibility Guide that discloses certain CFML tags that may be unsupported in BlueDragon or are supported, but with differences. I found the documentation to be clear, informative, and well written. Upon trying to run the bug-tracking application I ran into some issues that were both documented and undocumented.

As for documented issues, the application utilizes CFASSOCIATE and CFOBJECT with COM objects that are not supported in BlueDragon. I also found a custom tag that still uses the deprecated parameterExists() function. In CF5, parameterExists() is deprecated but still valid syntax; it is not valid syntax in BlueDragon. None of these are showstoppers and the code could be modified to remove dependence on them. One suggestion for New Atlanta is to provide a "code compatibility analyzer" utility that you could run on your source code to flag such issues, similar to what CFMX has.

As for undocumented issues, I ran into a bug involving structure deserialization using WDDX. Also, I ran into an issue related to <cfmodule> syntax. In CF5/CFMX, you can call a tag like <cfmodule template="mytag.cfm"> </cfmodule> and because it has an end tag it will be executed twice. You can also code it like <cfmodule template="mytag.cfm"/> (like XHTML syntax); that implies the end tag and will also execute the tag twice. Using the latter form in BlueDragon, the code was executing only once. I raised both of these issues on the BlueDragon mailing list and New Atlanta was quick to confirm the bugs as well as indicate that they would be resolved in an upcoming service pack.

So, while I did run into some issues, none proved to be insurmountable and I'm quite pleased at the prospect of having more deployment options for my application. I have not done any performance/load testing. From what I hear from New Atlanta, BlueDragon generally outperforms ColdFusion Server 5 and is on par with CFMX. As usual, do your own testing and your mileage may vary.

CFML - The New Standard?
I think we can agree that competition is a "good thing." Competition can put pressure on vendors to provide quality service/products at competitive prices. However, now that BlueDragon has entered the game, what happens if New Atlanta extends the CFML language with their own features? In fact, they have already indicated their intent to do this by implementing a <CFFORWARD> tag that would allow you to forward the request to a JSP, similar to how the <jsp:forward> tag does.

The potential is there for a "fracturing" of the CFML "standard" and having code that will run on BlueDragon, but have issues on ColdFusion Server or vice versa. Having endured the browser-compatibility wars, I for one would not look forward to having to write conditional code all throughout my applications to deal with "CF server compatibility" issues.

It is possible, though perhaps unlikely, that Macromedia will implement a standards process similar to the Java Community Process that Sun has, and allow other vendors to provide input to the future of CFML. Lacking that, New Atlanta has said that there is one standard for CFML and that is what is provided by Macromedia in terms of published documentation, and what is implemented in the actual server products.

Summary
BlueDragon is not a "ColdFusion killer" and it's not meant to be. If anything it's an affirmation and indication of maturity of the ColdFusion market. It addresses some issues that Macromedia's ColdFusion does not. BlueDragon is not 100% compatible with ColdFusion (and doesn't claim to be) or bug free (no product is), but I found it to deliver as advertised. It's another choice available to us as developers, and one worth checking out.

SIDEBAR
Vitals
BlueDragon * New Atlanta Communications, LLC
100 Prospect Place * Alpharetta, GA 30005
Phone: 678 256-3011 * Fax: 678 256-3012
E-mail: [email protected] general [email protected] sales
Test Environment: Windows 2000 Server

More Stories By Phil Cruz

Phil Cruz is a Macromedia Certified Advanced ColdFusion developer and has over 12 years of experience in the computing industry. He is responsible for www.mach-ii.info, a community site for the Mach-II framework. As a micro-ISV, he created Tracking Tools, an easy-to-use bug tracking application built with Mach-II (www.tracking-tools.com).

Comments (1) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Most Recent Comments
Chris 04/07/03 05:14:00 PM EDT

It is now free for deployment on Windows and Linux!

@ThingsExpo Stories
"MobiDev is a software development company and we do complex, custom software development for everybody from entrepreneurs to large enterprises," explained Alan Winters, U.S. Head of Business Development at MobiDev, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Major trends and emerging technologies – from virtual reality and IoT, to Big Data and algorithms – are helping organizations innovate in the digital era. However, to create real business value, IT must think beyond the ‘what’ of digital transformation to the ‘how’ to harness emerging trends, innovation and disruption. Architecture is the key that underpins and ties all these efforts together. In the digital age, it’s important to invest in architecture, extend the enterprise footprint to the cl...
Data is the fuel that drives the machine learning algorithmic engines and ultimately provides the business value. In his session at Cloud Expo, Ed Featherston, a director and senior enterprise architect at Collaborative Consulting, discussed the key considerations around quality, volume, timeliness, and pedigree that must be dealt with in order to properly fuel that engine.
Two weeks ago (November 3-5), I attended the Cloud Expo Silicon Valley as a speaker, where I presented on the security and privacy due diligence requirements for cloud solutions. Cloud security is a topical issue for every CIO, CISO, and technology buyer. Decision-makers are always looking for insights on how to mitigate the security risks of implementing and using cloud solutions. Based on the presentation topics covered at the conference, as well as the general discussions heard between sessio...
IoT is rapidly becoming mainstream as more and more investments are made into the platforms and technology. As this movement continues to expand and gain momentum it creates a massive wall of noise that can be difficult to sift through. Unfortunately, this inevitably makes IoT less approachable for people to get started with and can hamper efforts to integrate this key technology into your own portfolio. There are so many connected products already in place today with many hundreds more on the h...
No hype cycles or predictions of zillions of things here. IoT is big. You get it. You know your business and have great ideas for a business transformation strategy. What comes next? Time to make it happen. In his session at @ThingsExpo, Jay Mason, Associate Partner at M&S Consulting, presented a step-by-step plan to develop your technology implementation strategy. He discussed the evaluation of communication standards and IoT messaging protocols, data analytics considerations, edge-to-cloud tec...
Announcing Poland #DigitalTransformation Pavilion
Digital Transformation is much more than a buzzword. The radical shift to digital mechanisms for almost every process is evident across all industries and verticals. This is often especially true in financial services, where the legacy environment is many times unable to keep up with the rapidly shifting demands of the consumer. The constant pressure to provide complete, omnichannel delivery of customer-facing solutions to meet both regulatory and customer demands is putting enormous pressure on...
CloudEXPO | DXWorldEXPO are the world's most influential, independent events where Cloud Computing was coined and where technology buyers and vendors meet to experience and discuss the big picture of Digital Transformation and all of the strategies, tactics, and tools they need to realize their goals. Sponsors of DXWorldEXPO | CloudEXPO benefit from unmatched branding, profile building and lead generation opportunities.
DXWorldEXPO LLC announced today that All in Mobile, a mobile app development company from Poland, will exhibit at the 22nd International CloudEXPO | DXWorldEXPO. All In Mobile is a mobile app development company from Poland. Since 2014, they maintain passion for developing mobile applications for enterprises and startups worldwide.
The best way to leverage your CloudEXPO | DXWorldEXPO presence as a sponsor and exhibitor is to plan your news announcements around our events. The press covering CloudEXPO | DXWorldEXPO will have access to these releases and will amplify your news announcements. More than two dozen Cloud companies either set deals at our shows or have announced their mergers and acquisitions at CloudEXPO. Product announcements during our show provide your company with the most reach through our targeted audienc...
@DevOpsSummit at Cloud Expo, taking place November 12-13 in New York City, NY, is co-located with 22nd international CloudEXPO | first international DXWorldEXPO and will feature technical sessions from a rock star conference faculty and the leading industry players in the world.
Everything run by electricity will eventually be connected to the Internet. Get ahead of the Internet of Things revolution. In his session at @ThingsExpo, Akvelon expert and IoT industry leader Sergey Grebnov provided an educational dive into the world of managing your home, workplace and all the devices they contain with the power of machine-based AI and intelligent Bot services for a completely streamlined experience.
DXWorldEXPO | CloudEXPO are the world's most influential, independent events where Cloud Computing was coined and where technology buyers and vendors meet to experience and discuss the big picture of Digital Transformation and all of the strategies, tactics, and tools they need to realize their goals. Sponsors of DXWorldEXPO | CloudEXPO benefit from unmatched branding, profile building and lead generation opportunities.
22nd International Cloud Expo, taking place June 5-7, 2018, at the Javits Center in New York City, NY, and co-located with the 1st DXWorld Expo will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud ...
In his keynote at 19th Cloud Expo, Sheng Liang, co-founder and CEO of Rancher Labs, discussed the technological advances and new business opportunities created by the rapid adoption of containers. With the success of Amazon Web Services (AWS) and various open source technologies used to build private clouds, cloud computing has become an essential component of IT strategy. However, users continue to face challenges in implementing clouds, as older technologies evolve and newer ones like Docker c...
JETRO showcased Japan Digital Transformation Pavilion at SYS-CON's 21st International Cloud Expo® at the Santa Clara Convention Center in Santa Clara, CA. The Japan External Trade Organization (JETRO) is a non-profit organization that provides business support services to companies expanding to Japan. With the support of JETRO's dedicated staff, clients can incorporate their business; receive visa, immigration, and HR support; find dedicated office space; identify local government subsidies; get...
Dion Hinchcliffe is an internationally recognized digital expert, bestselling book author, frequent keynote speaker, analyst, futurist, and transformation expert based in Washington, DC. He is currently Chief Strategy Officer at the industry-leading digital strategy and online community solutions firm, 7Summits.
Bill Schmarzo, author of "Big Data: Understanding How Data Powers Big Business" and "Big Data MBA: Driving Business Strategies with Data Science," is responsible for setting the strategy and defining the Big Data service offerings and capabilities for EMC Global Services Big Data Practice. As the CTO for the Big Data Practice, he is responsible for working with organizations to help them identify where and how to start their big data journeys. He's written several white papers, is an avid blogge...
In past @ThingsExpo presentations, Joseph di Paolantonio has explored how various Internet of Things (IoT) and data management and analytics (DMA) solution spaces will come together as sensor analytics ecosystems. This year, in his session at @ThingsExpo, Joseph di Paolantonio from DataArchon, added the numerous Transportation areas, from autonomous vehicles to “Uber for containers.” While IoT data in any one area of Transportation will have a huge impact in that area, combining sensor analytic...