Integrating CFML and NET Using Blue Dragon Charlie
Integrating CFML and. NET Using Blue. Dragon Charlie Arehart, CTO 0
Overview n n n What is the Microsoft. NET Framework? What is Blue. Dragon. NET? Integrating CFML applications with the. NET Framework and ASP. NET using Blue. Dragon. NET 16 October 2021 New Atlanta Communications, LLC 1
What is the. NET Framework? n The Microsoft. NET Framework is a modern virtualmachine based programming environment n n Comprised of programming languages, virtual machine, class libraries n n Automatic garbage collection Object-oriented Robust, secure, reliable . NET supports multiple programming languages Virtual machine provides the runtime execution environment Class libraries (APIs) provide rich functionality used by programmers All new Windows-based programming will be done using the. NET Framework 16 October 2021 New Atlanta Communications, LLC 2
. NET versus Java n n . NET is developed by Microsoft Tightly integrated with Windows n n . NET supports multiple programming languages n n Currently built-in to Windows 2003 Server Built-in to Longhorn (next generation Windows) Add-on to Windows 2000, Windows XP C#, Visual Basic. NET, Managed C++, J# (Java syntax) Our opinions: n n n . NET, particularly ASP. NET, is easier to use than Java/J 2 EE If you’re targeting Windows, . NET makes more sense than Java The only advantage of Java is portability to Linux/UNIX; the cost of portability is performance and platform integration on Windows 16 October 2021 New Atlanta Communications, LLC 3
CFML on Java/J 2 EE Architecture CFML Runtime IIS ISAPI Filter J 2 EE Server JDBC Driver Java VM SQL Server Windows Server 2003 n n n Multiple vendors providing major system components Increased complexity, reduced integration Complexity can be increased by using a third-party J 2 EE server (such as IBM Web. Sphere or BEA Web. Logic), or database (such as Oracle) 16 October 2021 New Atlanta Communications, LLC 4
Blue. Dragon. NET Architecture CFML Runtime IIS ISAPI Filter ASP. NET ADO. NET Framework SQL Server Windows Server 2003 n n Most major system components provided by a single vendor (Microsoft) Reduced complexity, increased integration 16 October 2021 New Atlanta Communications, LLC 5
What is Blue. Dragon. NET? n Blue. Dragon. NET is a CFML runtime environment that is integrated with ASP. NET and Microsoft IIS n n Blue. Dragon. Net is implemented as an Http. Handler n n Blue. Dragon. NET enables ASP. NET and IIS to process CFML pages Blue. Dragon. NET is not a separate server or service After installing Blue. Dragon. NET, simply place CFML pages in the IIS wwwroot directory (or other docroots) Page processing done via same pipeline as ASP. NET pages Blue. Dragon. NET is based on the Java editions of Blue. Dragon n n Implemented primarily by recompiling Java to. NET using J# Some custom code in C# for. NET-specific features 16 October 2021 New Atlanta Communications, LLC 6
Integrating CFML and ASP. NET n Share variables between CFML and ASP. NET pages within the same web application n Integrate CFML and ASP. NET pages n n n n Includes (CFINCLUDE) of CFML from ASP. NET and vice-versa Redirect from CFML to ASP. NET and vice-versa Forward from CFML to ASP. NET Invoke CFML reusable components from ASP. NET n n Including session, application, and more Can enable single sign-on, for instance CFML custom tags Cold. Fusion Components (CFCs) CFML code can be executed in-line within ASP. NET Supports both code-behind and in-page scripting And still more… 16 October 2021 New Atlanta Communications, LLC 7
CFML and the. NET Framework n Create and invoke. NET Framework objects using CFOBJECT n n Implement CFX tags in any. NET programming language n n n Blue. Dragon support Java (J#) syntax within CFML C#, Visual Basic. NET, Managed C++, J# (Java syntax) Existing Java and C++ CFX tags can be recompiled for. NET CFQUERY processing implements ADO. Net n n Improved performance over JDBC, adds some features CFC returning query can populate grid in ASP. NET page 16 October 2021 New Atlanta Communications, LLC 8
Leverage. NET Features n CFML pages, even unmodified, can leverage. NET features usually applied only to ASP. NET pages n n n Session persistence over restart Replication of sessions across a cluster Declarative security Page and output caching Internationalization Mobile device suoport SQL Server Reporting Services Tracing, debugging Resource throttling and auto restart/recovery Performance monitoring and management And more 16 October 2021 New Atlanta Communications, LLC 9
Additional Unique Benefits n Each web site and virtual directory is isolated n Has own BD Admin console n n n Application scope (and therefore sessions scope) is isolated n n Unique Blue. Dragon and. NET configuration per web app possible Yet all inherit from a single central configuration file, as well Different web apps are protected from each other IIS offers optional process isolation n n 16 October 2021 In IIS 6, called “application pools” If one crashes, the others are not affected New Atlanta Communications, LLC 10
Learning More About. NET Features n Explanations, code samples, and live running examples: n n n http: //samples. gotdotnet. com/quickstart/aspplus/ http: //www. gotdotnet. com/team/vsrapideval/ More coming in. NET 2. 0 (Blue. Dragon supports now) n n n n Web Parts (portal solution) Master Pages (inheritable page design) New Grid. View (much better datagrid) Membership/Login/Personalization Themes and skins Site navigation controls and management And more Explanations, code samples, and live running examples: n 16 October 2021 http: //beta. asp. net/quickstart/aspnet/ New Atlanta Communications, LLC 11
A Microsoft Certified Solution n Blue. Dragon/. NET: Microsoft Certified Solution n New Atlanta now a Microsoft Gold Partner n n “. NET Connected” Windows 2003 Certified One of only approx. 150 worldwide Microsoft has written case study on BD/. NET n http: //www. microsoft. com/resources/casestudies/Case. Study. asp? C ase. Study. ID=15864 16 October 2021 New Atlanta Communications, LLC 12
How Can I Get Started? n Blue. Dragon for the Microsoft. NET Framework is available in production now n Trial freely available now on our web site n n After 30 days, reverts to free single IP Dev edition Easy installation: 30 seconds n Can install alongside CF 4/5/MX n n Many organizations already running in production n n Performance, reliability has been excellent Prices start at $2499 per CPU n n using different web sites or virtual directories same as our J 2 EE solution http: //www. newatlanta. com/bluedragon/ n Downloads, docs, tech notes, FAQs, interest list, etc. 16 October 2021 New Atlanta Communications, LLC 13
Contact Information n n Charlie Arehart CTO, New Atlanta Communications charlie@newatlanta. com/bluedragon/ (678) 256 -5395 16 October 2021 New Atlanta Communications, LLC 14
- Slides: 15