An Architect's View

CFML, Clojure, Software Design, Frameworks and more...

An Architect's View

Entries Tagged as j2ee

Some thoughts on Java 8

June 14, 2014 · No Comments

Since I try to keep this blog mostly related to either Clojure or CFML, I've posted my thoughts on Java 8 over on Google Plus. I'm using Google Plus for my more philosophical musings on technology.

No CommentsTags: j2ee

When Java was young!

January 04, 2013 · 7 Comments

I just happened across this quote about Java:

We've also seen a new light in the OO world. A language that promises portability and simplicity, a faster way to build tomorrow's application: the distributed application. Of course, I'm talking about Java. Is it all hype? Is it the new saviour? Hopefully, you'll all be convinced that it is neither. It is, however, an extremely important development and provides us with yet another tool with which to solve the problems around us.

Although early days yet, Java too will need standardisation in order to "facilitate commerce" as they say in the standards' world. That effort is expected to begin shortly but we do not know yet how it will progress.

Can you guess when that was written? Or who wrote it?

[Read more →]

7 CommentsTags: j2ee · programming

Java, CFML and Frameworks

January 25, 2012 · 6 Comments

I get a lot of emails asking questions. Some of them come in directly to me, some via the Contact page on my blog. With the latter, developers have to provide an email address. Most developers seem capable of doing this, but every now and then someone fills out the form with a bunch of "demands" and fails to provide a correct email address.

[Read more →]

6 CommentsTags: architecture · coldfusion · j2ee

Installing Fonts on Linux

November 07, 2009 · No Comments

I'm posting this as a reminder to myself since I've had to do this twice in the last few weeks and have to Google it each time... To install TrueType Fonts on Linux so that Java can access them ought to be as simple as copying them to $JAVA_HOME/lib/fonts/ but it isn't. You (also) have to go through the following process to make them valid system fonts: Installing fonts on Linux I don't think the xfs restart is needed (since both of the servers I've installed fonts on lately have not had xfs running in the first place). This process was required to make the fonts visible to the Alagad Image Component (which is now free open source!). Your mileage may vary of course.

No CommentsTags: coldfusion · j2ee · oss

Three Years to overhaul a website - a failure?

November 03, 2009 · 12 Comments

TechCrunch ran a story yesterday about MFG.com's site overhaul. The new site uses Java and took three years for their team to complete, during which time the team felt "hand-cuffed" and the "great ideas" the company had couldn't be executed. To me, that whole story sounds like an expensive failure. Of course, the fact that it was a ColdFusion to Java transition has drawn a lot of comments from the CF community but most of those comments focus on the CF side of things and the suspicion that MFG.com didn't do its research (I personally suspect they got hooked in by an "enterprise" consulting group who started them down the Java tracks). Whilst we can all sing the praises of CFML and criticize MFG.com for many things, I think we all need to look at the business aspects of a three year project to relaunch a web site in this fast-paced world. Yes, I'm sure it was a massive project and involved a lot of integration work but even so, macromedia.com was completely rebuilt from the ground up in less than that - and Macromedia's complete ERP replacement project (with 38 integration points!) was also completed in substantially less than three years...

12 CommentsTags: coldfusion · j2ee

My cf.Objective() 2009 Schedule

May 11, 2009 · 2 Comments

In the absence of a printable schedule - sorry, Joe Rinehart says it's a problem with the Media3 hosting and he's been trying to get them to fix it for months! - here is my schedule for cf.Objective() 2009:

[Read more →]

2 CommentsTags: adobe · air · architecture · cfobjective · coldbox · coldfusion · coldspring · flex · iphone · j2ee · jquery · machii · orm · oss · ria · saas · swiz · tdd

Java 6 and ColdFusion 8

January 14, 2009 · 49 Comments

Update: The Java 6 class loader bug mentioned in this post was fixed in Update 10. I just upgraded a 64-bit Red Hat Linux server to Java 6 Update 11 and changed the jvm.config file to specify the new JDK's jre directory for java.home. After restarting the server, it was able to serve up the first page of a complex Model-Glue / ColdSpring / Transfer application in just a few seconds. With the default JDK installed by ColdFusion 8 (1.6.0_04), it took between 30 and 60 seconds to serve that first page. I have updated this blog post accordingly. Thanx to Charlie Arehart for prodding me earlier today on this issue.
Some people have been noticing dramatically slower application startup times on ColdFusion 8 compared to ColdFusion MX 7. I've seen a lot of complaints about shared hosting systems where applications timeout. Since CF8 is so much faster than CFMX7, you might wonder why application startup times can be so much worse.

[Read more →]

49 CommentsTags: coldfusion · j2ee

Hibernate and Inheritance

September 07, 2008 · No Comments

I'm already used to the magic that is Transfer and I can't imagine building a ColdFusion application without it. Adobe have said they're looking at integrating Hibernate into "Centaur" and showed some simple examples of how it might work in their keynote at CFUNITED (I expect we'll see more at MAX - you are going to MAX, right?). Hibernate is the de facto standard ORM for the Java world and it is very robust, scalable and feature-rich. We've been using Hibernate for a while to manage the persistence of our business objects and that has driven us toward Groovy for those business objects since, right now, you cannot use Hibernate with ColdFusion Components in any meaningful way and we didn't want to write all the verbose code that Java would require. A recent discussion on the Transfer mailing list has focused on how to model one-to-one relationships and why Transfer doesn't support them directly. This is one area in which Hibernate's features go far beyond what Transfer offers - and part of the reason for us to "switch" to Hibernate for future product development. Another modeling quandary when it comes to persistence is how to handle inheritance.

[Read more →]

No CommentsTags: grails · j2ee · orm

Help! Encryption Question

August 12, 2008 · 20 Comments

Since I have a fairly large body of very smart readers, I figured I could ask you a question and have you help me for a change :) I have a bunch of data in a database encrypted via ColdFusion and I need to figure out the exact Java equivalent so that I can encrypt / decrypt across application boundaries. The ColdFusion code uses encrypt() / decrypt() with DESEDE and a hex encoding. I know the key value (duh!) but I can't figure out the exact same Java equivalent code. Anyone know?

20 CommentsTags: coldfusion · j2ee

Open BlueDragon at cf.Objective()

May 03, 2008 · 11 Comments

Vince Bonfanti hosted a Birds of a Feather session this evening where he officially unveiled the Open BlueDragon project.

[Read more →]

11 CommentsTags: bluedragon · cfobjective · coldfusion · j2ee · openbd · oss