An Architect's View

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

An Architect's View

Entries Tagged as j2ee

Java 6 just arrived on Leopard

April 30, 2008 ·

The latest software update for Mac OS X 10.5.2 adds Java 1.6.0_05 but does not change your default setup. See this tech note for more details. I haven't yet switched to Java 6 as my default JRE but I will shortly. Happy to hear any early feedback from folks.

Tags: coldfusion · j2ee · osx

Transfer Cache Synchronization in a Cluster

April 14, 2008 ·

If you use Mark Mandel's awesome Transfer ORM in a cluster, you've probably wondered what to do about keeping the cache in sync across servers in the cluster. I've had to solve this problem a couple of times now and I figured I should publish an example of how to do this.

[Read more →]

Tags: architecture · cfobjective · coldfusion · coldspring · j2ee · orm · oss

cf.Objective() 2008 Session Focus - Enterprise Class MVC with ColdFusion and Java

March 30, 2008 ·

Andrew Powell - Enterprise Class MVC with ColdFusion and Java - Saturday 11:25am We hear a lot of talk about using individual Java objects within ColdFusion but the reality of enterprise development is that entire subsystems tend to built entirely in Java. Software teams that serve the enterprise often build large, complex systems using Spring and Hibernate. How do you go about using ColdFusion with such systems? I haven't seen any presentations on this subject so I was pleasantly surprised when I started reviewing Andrew Powell's slide deck to find that he was focusing on how ColdFusion can provide the web front end to enterprise class Java systems. He introduces Spring (the Java version) with a demo and then introduces Hibernate (the industry standard ORM for Java), again with a demo. After that, he will walk you through solutions to the problem of connecting ColdFusion on the front end to Spring on the backend and, using Mach-II as an example, he then shows how to create an MVC web application that allows you to leverage the entire Spring-powered, Hibernate-persisted Java backend. If you work along a Java team - or you are considering using more Java for your backend systems - this talk will provide you with a lot of good information about how well ColdFusion plays in this space.

Tags: architecture · cfobjective · coldfusion · j2ee · machii

History Repeats?

October 19, 2007 ·

So I was gave a design patterns presentation at both MAXs... I figured I'd Google to see if I could find any coverage of it (no, I couldn't) and what turned up was my own blog post from four years ago! Along with the observation that CF lets you implement certain patterns more easily I said "The bottom line is that it's useful to be aware of the J2EE patterns but beware of slavishly applying them to ColdFusion - some of them were designed to solve problems that are specific to the Java technology and you can often find a more elegant form of the solution in ColdFusion." As folks who attended my session in Chicago and/or Barcelona heard, I'm still offering that caveat today and people still think it's news...

Tags: adobemax07 · architecture · coldfusion · j2ee

Benefits of running on Java

August 06, 2007 ·

These days, ColdFusion developers generally understand the benefits gained in the rewrite from C++ to Java that happened with the shift from ColdFusion 5 to ColdFusion MX and we're continuing to see an uptick in interest for running scripting languages on top of Java (hence my Scripting for ColdFusion 8 project). Given that one of the scripting languages I showed working on Java inside a ColdFusion page was Java, I was pleased to see this article - Java: One Platform To Rule Them All? - which discusses the Quercus PHP engine being used to improve the scalability of Drupal, by leveraging the underlying Java platform. A quote jumped out at me from that article, however: "It's possible now to run ... .NET applications under Java. And ... the applications generally perform better running under the JVM than they do in their own native environment." The first comment on the article reaffirms this assertion: "There is a cross compiler that converts CLR bytecode into Java bytecode, and reportedly this makes applications run faster than of .NET (where they are developed)." A quick Google search did not turn up any articles that back up these comments but it's an intriguing thought...

Tags: coldfusion · j2ee

Java and Shared Hosting

July 31, 2007 ·

I'd never really given much thought to running Java on a shared environment (because I'd never write a web app in JSP when there are more productive options). Turns out that most Java frameworks won't run on most shared hosts! Given the discussions in our own community about the security of shared hosting (or lack thereof, for the most part), I thought it was interesting that most Java frameworks require a security policy that Sun's own documentation says is a security vulnerability. Anyone have any experience of trying to run Struts or Velocity or something similar on a shared host?

Tags: coldfusion · j2ee

Adobe JRun - Beta Program

May 02, 2006 ·

The JRun team asked me to post an invitation to join the beta program for the next version of JRun:
The beta release of the next version of the JRun appserver, code named Cheetah, is available. The Adobe JRun Team is inviting serious evaluators to give feedback on this beta release. Contact Vijayan Reddy - vrreddy (at) adobe (dot) com - to be included in the beta program. We believe the beta of JRun Cheetah is reasonably stable and reliable, and we plan to reward those who prove otherwise. We intend to give away fully functional JRun licenses to the users who report highest quality issues during the beta. And there's more... We are throwing open a JRun Sample Apps Challenge. We invite the beta users to develop sample applications exploiting the new JRun Cheetah feature sets. The best apps developed by you will be rewarded, and on qualification, will be featured as part JRun releases in samples section. Write code, find bugs! Help us serve you better. Regards,
Vijayan Reddy,
Adobe JRun Team.
So there you have it - contact Vijayan and get your hands on JRun Cheetah!

Tags: adobe · j2ee

JRun Survey for next release

October 10, 2005 ·

TheServerSide notes that the JRun team are running a survey for information about your current usage and what you'd like to see in the next release. If you're using JRun for Java development / deployment, it'll only take five minutes to complete the survey!

Tags: j2ee

CFCProxy - Some Documentation

September 30, 2005 ·

Ben Forta has posted some documentation about CFCProxy that should get you up and running.

Tags: coldfusion · j2ee

BEA Considers Support For Scripting Languages

August 21, 2005 ·

A C|net story a couple of weeks back covers BEA's evaluation of scripting languages and the possibility of adding support directly into their tools and application server frameworks. Bill Roth, VP Product Marketing is quoted:
Roth said that BEA has already incorporated support for the Jython language in its WebLogic application server in a limited way. The Cold Fusion Markup Language is also under review, he said.

Tags: coldfusion · j2ee