There was some discussion on this on the cfcdev list and I believe there was a project spawned...
http://www.d-ross.org/index.cfm?objectid=F7D09312-A7F9-DF09-3E8E59AC861E3651 HTH Kola > -----Original Message----- > From: Dave Jones [mailto:[EMAIL PROTECTED] > Sent: 22 April 2005 16:08 > To: CF-Talk > Subject: Re: Using Java Classes rather than CFC's? > > I too think CF and Java are a great combination in a MVC > architecture. I find CF quicker and more powerful than Java/JSPs > for the View, while conversely Java is superior for modeling > business objects and processes. I've successfully done several > apps using Mach-II with Java on the back end and CF on the front. > > My rule of thumb is if the app is primarily for reporting or > presentation, do it all in CF. However, if the app involves > significant business processes or objects, consider doing the > modeling in Java. > > I saw someone on Slashdot call CF a giant custom tag for Java, > which isn't a bad way to look at it. If MM/Adobe could > successfully push that view, CF could get some serious traction > in the Java world. > > On a slightly different note, has anyone intergrated CF with > Spring? If I ever get some free time I'd like to see how that would work. > > Dave Jones > NetEffect > > > At 07:38 AM 4/22/05, you wrote: > >Let me state upfront that my primary background is in java so I'll admit > >to some bias... :) > > > >But...what I've been toying with is having ColdFusion provide the view > >of the MVC architecture. I integrated struts (java MVC framework > >-http://struts.apache.org/) in to the coldfusion app and have struts > >control the flow of the site. There's an article on this (not written by > >me) at > >http://www.macromedia.com/devnet/mx/coldfusion/articles/struts04.html. > >I've only toyed with it (just dummy apps and such), but it seems pretty > >cool. > > > >I'm impressed with ColdFusion's ability to get sites up and running > >quickly and the ease with which one can learn the language. However, I'm > >not as convinced with its ability to perform complex business logic and > >integrate with other systems. While I like the concept of CFCs and think > >it's a great addition they lack of some OO capabilities (polymorphism, > >overloading methods, etc) that limit what you can do with them. > >ColdFusion, for all intensive purposes, is a procedural language. > >Bolting on some OO capabilities is nice, but I doubt it'll ever be a > >true OO language, and many people, myself included, don't want it to be. > >I think it'd add complexity to the point where CF becomes as complex to > >write as java. > > > >Now, I won't say it makes sense for all applications for the business > >logic to exist in java and the view to exist in CF. It adds additional > >complexity that in many cases just won't be worth it. Java is a beast > >that takes quite a bit of time to learn and truly understand, let alone > >write decent code. In addition, the integration between java and CF > >isn't perfect. Going from a non-typed language to a strongly typed > >language will always lead to some compatibility issues. I personally > >hate the fact that CF doesn't support the concept of "null". That alone > >has caused considerable grief when integrating java apps. Basically we > >have to implement ugly workarounds. > > > >Of course, CF itself makes things a little more complex in that it's a > >layer on top of an application server. That leads to possible > >compatibility problems. We've experienced some ourselves with > >functionality in Oracle drivers that works just fine within java, but > >not within CF. > > > >In the end it always comes down to using the right tool for the job. > >And apply KISS. :) > > > >Bob > > > > >>> [EMAIL PROTECTED] 4/22/2005 3:30:53 AM >>> > > > >just wondering if this was feasable... and in the end a little bit more > >powerful than just working with cfc's? As I understand it everything > >gets turned into Java anyway. > > > >So why not use java classes etc ( either as custom tags or servlets ) > >rather than cfc's? Doesn't this make more sense and give you all the > >benefits of true object oriented programming? > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:203993 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

