John,
 
     Here are a few things to keep in mind regarding Cold Fusion:
 
    1-  The Cold Fusion Markup Language (CFML) is a proprietary standard of Allaire and thus it'll be harder to find people who can create and maintain your project.
 
    2-  All of the SQL is located inside of the HTML page, whether it be a component that is included by the page, or simply inserted into directly into the page.  The only way (I can think of) to encapsulate raw SQL as objects (if you're interested in the benefits this offers) is to use an Active X approach which would then pin you down to the Windows platform or (if you get that Active X for Solaris deal), a Solaris solution (after fidgeting with the Cold Fusion server here).
 
    3-  Cold Fusion pages include all of the functionality in the HTML (unless you go to Active X components), which can be hard to maintain in big projects.  What I mean here is that it is far easier to update classes located elsewhere and simply make references to these objects in your pages rather than sticking the code directly in your pages, and (if you copied this same code from page to page to page) then having to go through every page with this code and change/add new functionality.
 
    If you go with the servlet (and/or JSP) solution, you get a standard programming language with all of the readily available Java programers who can immediately pick up a project if need be.  You have access to all of the java libraries that are out there (including XML parsers, Object->Relational mapping layers, free web servers and free HTML template systems, etc.).  You are also divorced from the Windows platform and thus can run your site from any Java capable platform (while still being able to develop on ANY platform available).
 
    I think Cold Fusion works well for smaller projects (such as a few pages with easy access to the db), but larger projects (I feel) fill the gap better with a more O-O solution, which is what Java and servlets will buy you here.
 
 
                                                                                                                            Erik Sahl
                                                                                                                            [EMAIL PROTECTED]
 
 
   -----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of John McDonald
Sent: Thursday, November 04, 1999 10:00 PM
To: [EMAIL PROTECTED]
Subject: Cold Fusion and servlets

This is an interesting question to which I don't have an answer. However, I
would like to ADD to this question. How about Cold Fusion, it works in much
the same way, in that there are several tiers which seem to replace the need
for servlet technology all together. If I want to acess DB data I can use
Cold Fusion to do this for me. Is there any way(or reason) to use cold
fusion in unison with servlets or use servlets INSTEAD of Cold Fusion?
Speed, Security, functionality?

Reply via email to