
August 27 2007 by

Andrew Powell
My presentation from WOTP was recorded and has been posted online at:
https://admin.acrobat.com/_a305054977/p72035874/
It's a general Spry / AJAX presentation, not much CF, if any, in it.
Enjoy
Posted in General | Conferences | Spry | Adobe | Speaking | AJAX |
0 comments

August 27 2007 by

Andrew Powell
I have been playing around with CFFEED a bit lately. Both creating and reading feeds. I came to find out (via a few errors) that CFFEED is using, at its core,
the ROME framework. This is pretty interesting b/c it looks like this framework is pretty powerful in what it can do with RSS feeds. If you are feeling brave and want to get into the java world, download the binaries and give it a go.
Posted in Java | ColdFusion | Adobe |
0 comments

August 27 2007 by

Andrew Powell
Supposedly, you can use JRun's transaction management with Hibernate-enabled applications. Supposedly. In theory, this is great, but in practice, it's not so peachy. The error that you get is:
Could Not Find the Current JTA Transaction.
Go figure. My conclusion after all this is that though Hibernate will run ON JRun, it will not necessarily run WITH JRun.
From what I hear from a buddy of mine at RedHat, the Hibernate team has been alerted of this and other JRun issues and are looking into it.
Posted in Java | General | Adobe | JRun |
0 comments

August 27 2007 by

Andrew Powell
I am building an application that utilizes the MVC design pattern with Java/Hibernate as the Model and Mach-II as the controller. Hibernate session management gets a bit tricky with these types of applications.
When building a Hibernate enabled application, you want to avoid a the anti-pattern of one session per database operation. You want to keep a session open through the entire request and rollback the transaction if needed.
To that end, I created a Mach-II plugin that handles all this automagically. It grabs the current session out of a session factory that is stored in the application scope and puts that session into the request scope. This plugin will open the current session and begin a transaction at "preEvent" and commit the transaction and close the session (if open) at postEvent. This way, the session is available throughout the duration of the request. This minimizes the number of times a JDBC connection needs to be grabbed and therefore helps to speed up the execution of the business logic in the model.
Posted in Java | ColdFusion | General | Adobe | Mach-II | Hibernate |
2 comments

August 27 2007 by

Andrew Powell
Ever since we've had CFCs, we've had a myriad of Frameworks from which to choose. It has always been assumed that the model in the MVC was going to be made up of value objects, data access objects, data gateways, service objects, etc. that are CFCs. Do they have to be CFCs though? Why not leverage the platform that ColdFusion is delivered on and some exiting technologies to build better models?
Read more...
Posted in Java | ColdFusion | Flex | General | ColdSpring | Adobe | Mach-II | Hibernate |
3 comments