Archive for category Java

ColdFusion and Java Integration: Let Me Count the Ways


…Using CFML to create HTML is also a great replacement for JSP.  You don’t have to give up your back-end (EJB, Spring, Hibernate) to use CF.

Adam Lehman is the Senior Product Manager for ColdFusion.  He says a lot of ColdFusion use cases are within a Java development cycle.  It’s a Java application, so it deploys as an .EAR or .WAR file.

Watch the video on Dzone website.

Bookmark and Share

Tags: , , , ,

Facial Recognition in 14 Lines Of ColdFusion


I was doing a bit of research on a potential project when I stumbled across faint, a Java facial recognition library and decided to give it a quick try.

The bad news is that the documentation is literally non-existent. So I did a bit of poking around the Jar and quickly found an ‘OpenCVDetection’ class. I dropped the faint Jar in my class path, restarted CF and about 5 minutes and 14 lines of code later I got the following result…

by Todd Sharp

See the complete post here.

Bookmark and Share

Intro to Java EE and Servlet Containers for ColdFusion


For those who missed the MeetUp presentation on “Introduction to Java EE and Servlet Containers for ColdFusion” by Jamie Krug, here is the link to the recorded presentation:

https://admin.na3.acrobat.com/_a204547676/p51126187/

Bookmark and Share

ColdFusion Job Opportunity in Tampa, FL


Kforce

Requirements:

  • Bachelor’s Degree and 4-6 years of experience in Application Development or equivalent combination of education and experience
  • Solid Flex experience
  • Knowledge of system development methodologies, application development tools, system architecture, and design principals
  • Experience at a minimum with CF v. 7 as well as Flex 3
  • SQL Sever 2000-2005 with stored procedures experience

Plusses:

  • ColdFusion v. 8
  • Mach II
  • SWiZ (framework for Flex III)
  • Web Services
  • Knowledge of Object-Oriented and Rapid Application Development (RAD) methodologies

Here is the link.

Bookmark and Share

Tags: , , , , , , , , , ,

Facial Recognition in 14 Lines Of ColdFusion


Amazing article by Todd Sharp.

With a few lines of code and a java library, you can produce faces images from a photo.

Guys, ColdFusion is not only the best language, it has amazing Gurus.

Here is the link.

Bookmark and Share

Tags: , ,

ColdFusion Job Opportunity in Austin, TX


We are seeking a ColdFusion Developer who has 5+ years experience with ColdFusion MX7 for a project with a government client of ours. The project is expected to last about 90 days but there is a possibility for an extension.

Required:

  • ColdFusion Development experience (MX7)
  • Experience working projects full life cycle from inception to completion
  • Excellent communication skills and ability to work with end customers and other team members

Preferred:

  • Experience with custom applications and performance management applications a plus
  • Java experience a plus

Here is the link.

Bookmark and Share

Tags: , , , ,

Concatenating Strings in ColdFusion with Java


Jason Delmore posted an interesting article comparing string concatenation using ColdFusion and Java.

stringbldr = createObject("java", "java.lang.StringBuilder").init();
for (i=1;i<=iterations;i++) {
stringbldr = stringbldr.append(appendstring);
}

Here the complete article.

Bookmark and Share

Tags: , , , ,

Parsing Large XML File Into ColdFusion XML Object


Last week I had a big headache trying to import a 165MB XML file. I couldn’t even open it with any browse and reading it with ColdFusion gave me 500 errors, exceeded heap size, JRun closed connection, etc…

The solution I found was to read the file line-by-line using Java and creating blocks of XML code that allowed me to parse into objects and process them individually. Remembering, we use CF7 yet.

So I wrote this piece of code where I set my start tag and it will grab everything between my start and end tag, and assemble a XML object from there. I know the CF Gurus would suggest a much better solution, but that’s what i could accomplish with my humble knowledge and give a quick solution for the problem.
Read the rest of this entry »

Bookmark and Share

Tags: , , ,

Check If File Is Available (revisited)


In my post Check If File Is Available I showed a code using the Java method canWrite() to check if the file was available to be worked (read/write). Our colleague Marco Antonio commented that it could cause a race condition, so it is not a good idea to use it for that purpose.

Here is a link to a discussion where you can find more information: StockOverflow

Bookmark and Share

Tags: , , ,

Check If File Is Available To Write/Rename/Move Part II


I mentioned in my previous post with the same title that I used a renaming function to check if the file was finished and unlocked by the FTP transfer, so I could work with it. Well, after several tests using the renaming test, I was still getting lock up errors and my process was stopping.

After some research, I realized that our FTP server (WS_FTP) did not lock the file when writing to it, so I was able to rename it, and it would continue to upload to the same renamed file. Even when I moved the renamed file to a work directory, the file size was still being increased. So none of my test functions would work.

Instead of changing the FTP server settings – it is an old one installed in 2002 – I decided to install Filezilla Server. Wonderful, it locks the file and my test function now works. Read the rest of this entry »

Bookmark and Share

Tags: , , , ,

Get Adobe Flash playerPlugin by wpburn.com wordpress themes