HomeAbout Mark van HedelContact Mark van Hedel



Log4j in ColdFusion

As I did say last week I was working on a small project to see how log4j could fit in ColdFusion. What I did was create one CFC to talk to log4j and do all the logging. This CFC is finished now and I have it implemented in some small ColdFusion application to see how it works.

The idea about using log4j is that I do want to be more flexible with logging when I create applications. With using it I can define myself what kind of logging I want in application, so for instance on a development machine I do want debug, info, warning, error and fatal to log, when I'm in a production environment I only want to see error and fatal messages in my logfile. And the very good thing is that log4j is already part of the ColdFusion install, so everyone using ColdFusion can just start using it.

[More]

Advanced ColdFusion 8 Training

Last 3 days I've been teaching an Advanced ColdFusion training and I have not had the time I wanted to have to finish my own log4j project but I hope to get there tomorrow and post all information here. So far it's looking good, I just did not get around to a full test and finishing a last few parts.

ColdFusion using log4J

Yesterday I've already decided to start looking into another thing that has been on my mind already for a few years. This is why not use log4j in ColdFusion, I've again checked out some articles on the web and couldn't find as much info as I wanted so I decided to check it out further myself. A long time ago there has been a resource bundle for CF with log4cf in there, this has died away as far as I can see, but I do want to press further and see what I can do with log4j in ColdFusion and see how that can help me in development or make debugging even easier.

For now I'm creating a testcase to see what I can do with it and how it can help me in my development process but I'll keep you all posted here.

Designing ColdFusion Applications for Deployment as EAR Files

I know I already posted about this article and placed a link in there to the Adobe site, but I am planning on adding some additions to this article so decided to copy it in anyway, so I have a point of reference near when I write some additions to the article.

[More]

Using FLEX for input forms in BlogCFC :: Part 6

Seems like we have it all working now, the last part of the working form is done, what I did for my form is set the build folder to a new folder in the webroot. This folder is flexblog. So now all I have to do is instead of pointing my code to the addcomment.cfm I just have to point it to flexblog/Comments.cfm

[More]

Using FLEX for input forms in BlogCFC :: Part 5

Now that we seem to have everything working the way it should we can continue to the next part, this next part is submitting the data to the server and do all server related actions needed to post the comment and notify everyone that needs to be notified of this update. Of course for this we have to change the CFC on the server again and make a call to get this all done.

[More]

ColdFusion 8 Updater 1

Yesterday ColdFusion 8 Updater 1 was released by Adobe and they do ask all customers to update to this version. Big updates in this version are 64 bit support for more different operating system types. This will help companies running on 64 bit operating systems and a lot of fixes in existing tags. Next in the update is that ColdFusion now supports Sun Java SE JDK 6 Update 3, version 1.6.0_03.

This new update can be downloaded at Adobe.com

[More]

Using FLEX for input forms in BlogCFC :: Part 4

Now that we have completed the form we want to do some validation on what the user has entered here. To do this I added a click handler to the post button to add my Validation there. In that handler method I call a private function that is going to do the validation. When validation succeeds I fill yet another Value Object with the values from the form.

[More]

Using FLEX for input forms in BlogCFC :: Part 3

Now that we did the first two parts let's continue. First we created a form in FLEX and retrieved all strings we would need for the application. After that we retrieved the user information in case the user has chosen to remember it's values for the site. Next we want the title for the subject, so we can also display that in the form. We could have done that in Actionscript as well, but in this case I've chosen to retrieve that from the server using a remote object connection again.

[More]

Using FLEX for input forms in BlogCFC :: Part 2

To continue the little project I started the next part was getting all info about the post and user in my application. Starting with the user information and setting up the page that has to run the flex application. To make the changes I just ran my application in FlexBuilder, this would generate the html page for me and give me the swf file.

Now to make changes in that html and make it a cfm I just renamed the resulting file in .cfm and went editing in there.

[More]

More Entries

BlogCFC was created by Raymond Camden. This blog is running version 5.9.002. Contact Blog Owner