Does Struts support CFC?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vigneshb4u
    New Member
    • Feb 2007
    • 1

    Does Struts support CFC?

    Hi all

    I am new to ColdFusion and I want to implement MVC pattern using Struts in ColdFusion MX. I am aware
    of other MVC frameworks like Fusebox, Model-Glue, Mach II etc., but I prefer using Struts.

    I would like to know if we can implement the model and controller using CFC in Struts, instead of
    using beans and servlets.

    I would highly appreciate your help.

    Thanks
    Vignesh
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Welcome to The Scripts.

    I am not too familiar with Struts except that it's a Java framework, but checking on your query, I found this link. From that page:
    J2EE deployment
    In addition to the self-contained Java server, CFMX gives you options to deploy the application server as an EAR or WAR file. The installation now includes the option to install JRun along with CFMX, and to set up ColdFusion to work on top of the JRun server as a full-blown J2EE application. You can also deploy on top of other J2EE servers, such as Sun ONE, WebLogic, WebSphere, and Tomcat. This makes it easier than ever to integrate ColdFusion with an existing J2EE infrastructure. It also means that you can combine Java frameworks such as Struts with CFMX and leverage any or all aspects of the J2EE standard including servlets, EJBs, and JSPs within your ColdFusion applications.
    Now how you actually manage that, I'll leave that to you!

    Comment

    Working...