Connecting Tech Pros Worldwide Help | Site Map

Does Struts support CFC?

Newbie
 
Join Date: Feb 2007
Posts: 1
#1: Feb 13 '07
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's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#2: Feb 13 '07

re: Does Struts support CFC?


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:
Quote:
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!
Reply