Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Integrating CFML and .NET Using BlueDragon


Published on

  • Be the first to comment

  • Be the first to like this

Integrating CFML and .NET Using BlueDragon

  1. 1. Integrating CFML and .NET Using BlueDragon Charlie Arehart, CTO
  2. 2. Overview <ul><li>Who is New Atlanta? </li></ul><ul><li>What is the Microsoft .NET Framework? </li></ul><ul><li>What is BlueDragon/.NET? </li></ul><ul><li>Integrating CFML applications with the .NET Framework and ASP.NET using BlueDragon/.NET </li></ul>
  3. 3. Who is New Atlanta? <ul><li>An 8-year old Technology Product Company </li></ul><ul><ul><li>Based in Alpharetta, Georgia (30 miles north of Atlanta) </li></ul></ul><ul><li>Web Application Server Technology Experts </li></ul><ul><ul><li>BlueDragon is our 3rd generation web-scripting technology </li></ul></ul><ul><li>New Atlanta has over 12,000 customers in 70+ countries! </li></ul><ul><li>New Atlanta has 3 products </li></ul><ul><ul><li>BlueDragon comes in 4 editions </li></ul></ul>
  4. 4. New Atlanta Product Line <ul><ul><li>New Atlanta’s flagship product is a light weight web application server that implements the Java Servlet API and JavaServer Pages (JSP) standards for Microsoft, Netscape, iPlanet/Sun ONE and Apache web servers </li></ul></ul><ul><ul><li>First released in December 1997, developed entirely by New Atlanta; the current version, ServletExec 5.0, was released in October 2003 </li></ul></ul><ul><ul><li>Supports Java Servlet 2.4, JSP 2.0, Java WSDP 1.3, and JSTL 1.1 </li></ul></ul><ul><ul><li>J2EE-Certified Type 4 (pure Java) JDBC driver for Microsoft SQL Server </li></ul></ul><ul><ul><li>First released in December 1998, acquired by New Atlanta in August 2001, supports JDBC 1.2, 2.1 & 3.0 specifications </li></ul></ul><ul><ul><li>CFML on .NET and J2EE </li></ul></ul><ul><ul><li>Redeploy, natively integrate & extend CFML on .NET or J2EE </li></ul></ul><ul><ul><li>Technology first used in production in 1998; acquired by New Atlanta in November 2001 </li></ul></ul>
  5. 5. Developers face a decision <ul><li>… to choose a future direction: </li></ul><ul><ul><li>Microsoft .NET or Java/J2EE </li></ul></ul><ul><ul><li>Windows, UNIX/Linux, or Mac OS X </li></ul></ul><ul><ul><li>IIS or Apache web servers </li></ul></ul><ul><li>… and preserve existing investments in people, architectures and applications: </li></ul><ul><ul><li>Minimized Retooling/Training (if any) </li></ul></ul><ul><ul><li>Minimized Interruptions to Business </li></ul></ul><ul><ul><li>Maximized Return on Investment in CFML </li></ul></ul><ul><ul><li>Maximized Reuse of Deployed Applications and Architectures </li></ul></ul>BlueDragon: Freedom of Choice
  6. 6. What is the .NET Framework? <ul><li>The Microsoft .NET Framework is a modern virtual-machine based programming environment </li></ul><ul><ul><li>Automatic garbage collection </li></ul></ul><ul><ul><li>Object-oriented </li></ul></ul><ul><ul><li>Robust, secure, reliable </li></ul></ul><ul><li>Comprised of programming languages, virtual machine, class libraries </li></ul><ul><ul><li>.NET supports multiple programming languages </li></ul></ul><ul><ul><ul><li>C#, Visual Basic.NET, Managed C++, J# (Java syntax) </li></ul></ul></ul><ul><ul><li>Virtual machine provides the runtime execution environment </li></ul></ul><ul><ul><li>Class libraries (APIs) provide rich functionality used by programmers </li></ul></ul><ul><li>All new Windows-based programming will be done using the .NET Framework </li></ul>
  7. 7. .NET versus Java <ul><li>.NET is developed by Microsoft </li></ul><ul><li>Tightly integrated with Windows </li></ul><ul><ul><li>Currently built-in to Windows 2003 Server </li></ul></ul><ul><ul><li>Built-in to Longhorn (next generation Windows) </li></ul></ul><ul><ul><li>Add-on to Windows 2000, Windows XP </li></ul></ul><ul><li>Our opinions: </li></ul><ul><ul><li>.NET, particularly ASP.NET, is easier to use than Java/J2EE </li></ul></ul><ul><ul><li>If you’re targeting Windows, .NET makes more sense than Java </li></ul></ul><ul><ul><li>The only advantage of Java is portability to Linux/UNIX; the cost of portability is performance and platform integration on Windows </li></ul></ul>
  8. 8. CFML on Java/J2EE Architecture <ul><li>Multiple vendors providing major system components </li></ul><ul><li>Increased complexity, reduced integration </li></ul><ul><li>Complexity can be increased by using a third-party J2EE server (such as IBM WebSphere or BEA WebLogic), or database (such as Oracle) </li></ul>IIS ISAPI Filter Java VM CFML Runtime JDBC Driver SQL Server Windows Server 2003 J2EE Server
  9. 9. BlueDragon/.NET Architecture <ul><li>Most major system components provided by a single vendor (Microsoft) </li></ul><ul><li>Reduced complexity, increased integration </li></ul>Windows Server 2003 ADO .NET IIS ISAPI Filter SQL Server ASP.NET .NET Framework CFML Runtime
  10. 10. What is BlueDragon/.NET? <ul><li>BlueDragon/.NET is a CFML runtime environment that is integrated with ASP.NET and Microsoft IIS </li></ul><ul><ul><li>BlueDragon/.NET enables ASP.NET and IIS to process CFML pages </li></ul></ul><ul><ul><li>BlueDragon/.NET is not a separate server or service </li></ul></ul><ul><ul><li>After installing BlueDragon/.NET, simply place CFML pages in the IIS wwwroot directory (or other docroots) </li></ul></ul><ul><li>BlueDragon/.NET is implemented as an HttpHandler </li></ul><ul><ul><li>Page processing done via same pipeline as ASP.NET pages </li></ul></ul><ul><li>BlueDragon/.NET is based on the Java editions of BlueDragon </li></ul><ul><ul><li>Implemented primarily by recompiling Java to .NET using J# </li></ul></ul><ul><ul><li>Some custom code in C# for .NET-specific features </li></ul></ul>
  11. 11. Integrating CFML and ASP.NET <ul><li>Share variables between CFML and ASP.NET pages within the same web application </li></ul><ul><ul><li>Including session, application, and more </li></ul></ul><ul><ul><li>Can enable single sign-on, for instance </li></ul></ul><ul><li>Integrate CFML and ASP.NET pages </li></ul><ul><ul><li>Includes (CFINCLUDE) of CFML from ASP.NET and vice-versa </li></ul></ul><ul><ul><li>Redirect from CFML to ASP.NET and vice-versa </li></ul></ul><ul><ul><li>Forward from CFML to ASP.NET </li></ul></ul><ul><li>Invoke CFML reusable components from ASP.NET </li></ul><ul><ul><li>CFML custom tags </li></ul></ul><ul><ul><li>ColdFusion Components (CFCs) </li></ul></ul><ul><li>Create and invoke .NET Framework objects using CFOBJECT </li></ul><ul><li>And still more… </li></ul>
  12. 12. CFML and the .NET Framework <ul><li>CFML code can be executed in-line within ASP.NET </li></ul><ul><li>All these features support both code-behind and in-page scripting </li></ul><ul><li>Can call CFX tags, if compiled in any .NET programming language </li></ul><ul><ul><li>C#, Visual Basic.NET, Managed C++, J# (Java syntax) </li></ul></ul><ul><ul><li>Existing Java and C++ CFX tags can be recompiled for .NET </li></ul></ul><ul><li>CFQUERY processing implements ADO.Net </li></ul><ul><ul><li>Improved performance over JDBC, adds some features </li></ul></ul><ul><ul><li>CFC returning query can populate grid in ASP.NET page </li></ul></ul><ul><li>Let’s take a look… </li></ul>
  13. 13. Leverage .NET Features <ul><li>CFML pages, even unmodified, can leverage .NET features usually applied only to ASP.NET pages </li></ul><ul><ul><li>Session persistence over restart </li></ul></ul><ul><ul><li>Replication of sessions across a cluster </li></ul></ul><ul><ul><li>Declarative security </li></ul></ul><ul><ul><li>Resource throttling and auto restart/recovery </li></ul></ul><ul><ul><li>Performance monitoring and management </li></ul></ul><ul><ul><li>Page and output caching </li></ul></ul><ul><ul><li>Internationalization </li></ul></ul><ul><ul><li>Mobile device support </li></ul></ul><ul><ul><li>SQL Server Reporting Services </li></ul></ul><ul><ul><li>Tracing, debugging </li></ul></ul><ul><ul><li>And more </li></ul></ul>
  14. 14. Additional Unique Benefits <ul><li>Each web site and virtual directory is isolated </li></ul><ul><ul><li>Has own BD Admin console </li></ul></ul><ul><ul><ul><li>Unique BlueDragon and .NET configuration per web app possible </li></ul></ul></ul><ul><ul><ul><li>Yet all inherit from a single central configuration file, as well </li></ul></ul></ul><ul><ul><li>Application scope (and therefore sessions scope) is isolated </li></ul></ul><ul><ul><ul><li>Different web apps are protected from each other </li></ul></ul></ul><ul><ul><li>IIS offers optional process isolation </li></ul></ul><ul><ul><ul><li>In IIS 6, called “application pools” </li></ul></ul></ul><ul><ul><ul><li>If one crashes, the others are not affected </li></ul></ul></ul>
  15. 15. BlueDragon : Other Advantages <ul><li>Many other advantages on all BlueDragon editions </li></ul><ul><ul><li>Sourceless deployment </li></ul></ul><ul><ul><ul><li>Precompiled, encrypted templates </li></ul></ul></ul><ul><ul><ul><li>Can even set an expiration date , after which code no longer runs </li></ul></ul></ul><ul><ul><li>Better error reporting </li></ul></ul><ul><ul><ul><li>Each entire error page is written to a log file </li></ul></ul></ul><ul><ul><li>Stronger whitespace suppression </li></ul></ul><ul><ul><ul><li>Reduce bandwidth by compressing whitespace in generated HTML output </li></ul></ul></ul><ul><li>Extensions to some tags </li></ul><ul><ul><li>Better CFQUERY caching, CFINCLUDE JSPs/ASP.NET, and more </li></ul></ul><ul><li>New tags: </li></ul><ul><ul><li>CFIMAGE, CFIMAP, CFPAUSE, CFFORWARD, CFASSERT, CFDEBUGGER, and more </li></ul></ul><ul><ul><li>6.2 adds still more: CFZIP, CFTHROTTLE, CFXMLRPC, and more </li></ul></ul><ul><li>Other </li></ul><ul><ul><li>Serializable CFCs and sessions </li></ul></ul><ul><ul><li>Application.cfm processed even when file not found </li></ul></ul><ul><ul><li>Standard WAR file/Web app deployment on J2EE </li></ul></ul><ul><ul><li>And more </li></ul></ul>
  16. 16. BlueDragon : Key Differentiators <ul><li>Packaging Your CFML as an application </li></ul><ul><ul><li>Only BlueDragon offers dramatically reduced pricing to deploy your CFML and BlueDragon as a single product/bundle </li></ul></ul><ul><ul><ul><li>BlueDragon price can be a royalty, percentage of your product price </li></ul></ul></ul><ul><ul><li>Applies to any edition of BlueDragon </li></ul></ul><ul><ul><ul><li>Indeed, you can offer your product to those who prefer J2EE, or .NET, or use Server JX for those who don’t care </li></ul></ul></ul><ul><ul><ul><li>One CFML code base supports each client preference </li></ul></ul></ul><ul><ul><li>Can entirely hide that BlueDragon underlies your product </li></ul></ul><ul><ul><ul><li>Remove technology debate. You’re just selling “your product” </li></ul></ul></ul><ul><ul><li>Can even hide CFML by creating new file type (instead of .cfm) </li></ul></ul><ul><ul><ul><li>Any BlueDragon user can do this: see technote: </li></ul></ul></ul><ul><ul><ul><li> </li></ul></ul></ul><ul><ul><li>Of course, can protect your source code using our sourceless deployment </li></ul></ul>
  17. 17. A Microsoft Certified Solution <ul><li>BlueDragon/.NET: Microsoft Certified Solution </li></ul><ul><ul><li>“.NET Connected” </li></ul></ul><ul><ul><li>Windows 2003 Certified </li></ul></ul><ul><li>New Atlanta now a Microsoft Gold Partner </li></ul><ul><ul><li>One of only approx. 150 worldwide </li></ul></ul><ul><li>Microsoft has written case study on BD/.NET </li></ul><ul><ul><li> </li></ul></ul>
  18. 18. Who’s Using BlueDragon/.Net? <ul><li>Following are just some recognizable names </li></ul><ul><ul><li>MySpace </li></ul></ul><ul><ul><ul><li>5 th Highest trafficked site on the internet, switching to BD/.NET </li></ul></ul></ul><ul><ul><li>US Senate </li></ul></ul><ul><ul><li>Disney </li></ul></ul><ul><ul><li>Interstate Hotels </li></ul></ul><ul><ul><li>Carlson Hospitality </li></ul></ul><ul><ul><li>VitaCost </li></ul></ul><ul><ul><li>Hundreds of other BlueDragon customers, across editions </li></ul></ul><ul><ul><ul><li>Including Credit Suisse First Boston, ColdFusion Dev Journal, RecruitMax, eAutoClaims, Irish Times, several government and educational institutions, and many more </li></ul></ul></ul>
  19. 19. Learning More About .NET Features <ul><li>Explanations, code samples, and live running examples: </li></ul><ul><ul><ul><li> </li></ul></ul></ul><ul><ul><ul><li> </li></ul></ul></ul><ul><li>More coming in .NET 2.0 (BlueDragon will support) </li></ul><ul><ul><li>Web Parts (portal solution) </li></ul></ul><ul><ul><li>Master Pages (inheritable page design) </li></ul></ul><ul><ul><li>New GridView (much better datagrid) </li></ul></ul><ul><ul><li>Membership/Login/Personalization </li></ul></ul><ul><ul><li>Themes and skins </li></ul></ul><ul><ul><li>Site navigation controls and management </li></ul></ul><ul><ul><li>And more </li></ul></ul><ul><ul><li>Explanations, code samples, and live running examples: </li></ul></ul><ul><ul><ul><li> </li></ul></ul></ul>
  20. 20. How Can I Get Started? <ul><li>BlueDragon for the Microsoft .NET Framework is available in production now </li></ul><ul><ul><li>Trial freely available now on our web site </li></ul></ul><ul><ul><ul><li>After 30 days, reverts to free single IP Dev edition </li></ul></ul></ul><ul><ul><li>Easy installation: 30 seconds </li></ul></ul><ul><ul><ul><li>Can install alongside CF 4/5/MX </li></ul></ul></ul><ul><ul><ul><ul><li>using different web sites or virtual directories </li></ul></ul></ul></ul><ul><li>Many organizations already running in production </li></ul><ul><ul><li>Performance, reliability has been excellent </li></ul></ul><ul><li>Prices start at $2499 per CPU </li></ul><ul><ul><ul><li>same as our J2EE solution </li></ul></ul></ul><ul><li> </li></ul><ul><ul><li>Downloads, docs, tech notes, FAQs, interest list, etc. </li></ul></ul><ul><li>Available BD/.NET hosting: </li></ul><ul><li>Happy to help in any way (on-site or web demos, deployment/testing assistance, etc.) </li></ul>
  21. 21. Common Questions <ul><li>Doesn’t this tie me to Windows and/or .NET? </li></ul><ul><li>How does it perform? </li></ul><ul><li>How’s the compatibility? </li></ul><ul><li>What about CFMX7 compatibility? </li></ul><ul><li>Can it co-exist with CF? </li></ul><ul><li>What about Flex/Flash? </li></ul><ul><li>What editors do I use? </li></ul><ul><li>Why should I use BlueDragon? Advantages? </li></ul><ul><li>We have positive answers to all these common questions, and more </li></ul><ul><ul><li>If we haven’t answered them today, feel free to contact us </li></ul></ul><ul><ul><li>or search our web site for FAQs, technotes, docs, etc. </li></ul></ul><ul><ul><li>Or ask on our free interest list (BD community mailing list) </li></ul></ul><ul><ul><ul><li>Staffed by our engineers </li></ul></ul></ul>
  22. 22. Summary <ul><li>Hope you’ve come to appreciate the value of CFML/.NET integration </li></ul><ul><li>Something you can get only with BlueDragon </li></ul><ul><li>BlueDragon exists to solve problems for CFML folks </li></ul><ul><li>New Atlanta is an established, successful company </li></ul><ul><ul><li>With over 12,000 customers across 3 product lines </li></ul></ul><ul><li>BlueDragon continues to evolve and serve an ever-widening audience of satisfied customers </li></ul><ul><li>We’re here to help </li></ul><ul><ul><li>If you have any questions or hit any problems, let us know </li></ul></ul><ul><ul><li>My contact info is on next (final) slide </li></ul></ul><ul><ul><ul><li>Can put you in touch with sales, engineering, partner program, etc. </li></ul></ul></ul><ul><li>Thank you for your time and attention </li></ul>
  23. 23. Contact Information <ul><li>Charlie Arehart </li></ul><ul><li>CTO, New Atlanta Communications </li></ul><ul><li>[email_address] </li></ul><ul><li> </li></ul><ul><li>(678) 256-5395 </li></ul>