Archive for the ‘Java’ Category

Java 7: New Language Features

Wednesday, November 25th, 2009

Java 7 has some smaller syntactic changes that look like they’ll be helpful for your everyday dev

System Architecture for Communicating Between Applications

Friday, June 19th, 2009

Today I watched an interview from QCON London with two ThoughtWorks employees who are involved in designing large scalable and cooperative applications.  The basis for the communication that they use was simple web protocols over the HTTP 1.1 transport layer.

Some of the things I took away from the interview include:

It is always a pleasure listening [...]

Tech News Highlights: May

Wednesday, May 13th, 2009

For those whose interests bend more toward web application development, some recent movements in the industry.

MySQL + Oracle = ?
MySQL, the open source database used by a huge number of websites (including ones we’ve developed) is now owned by database industry gorilla Oracle as a result of Oracle’s purchase of Sun Microsystems. Sun bought [...]

Google Analytics opens up API… got an interesting app in mind?

Tuesday, April 21st, 2009

Google Analytics is now opening up its API to developers:

Large organizations and agencies now have a standardized platform for integrating Analytics data with their own business data. Developers can integrate Google Analytics into their existing products and create standalone applications that they sell. Users could see snapshots of their Analytics data in developer created dashboards [...]

Google App Engine – now supporting Java

Wednesday, April 8th, 2009

http://m.news.com/2166-12_3-10214663-2.html

Prior to this they have only supported Python, a language with a far more limited following. Here’s the rundown:

Supports JDK 1.6.
Free for limited use, no ability to pay for heavier use yet
Can access data behind the firewall through Secure Data Connect
Supports cron and data import ability
Uses BigTable (key/value pairs) for storage, so can’t use JDBC. [...]

Why?s my ?text? look like this??: MySQL and Character Encodings

Wednesday, September 10th, 2008

Have you ever seen funny characters showing on-screen?

Users copying from Word and pasting their curly quotes, em-dashes, and accented characters into your text fields?

There are a number of settings that need to be in place in order to guarantee that extended character set characters that get input [...]

Java volatile field modifier

Friday, June 27th, 2008

Ever used Java’s “volatile” field modifier? Here’s a good explanation of what it’s good for:

What does volatile do?

The takeaway for me was that for performance reasons, each thread has a local cached copy of the variables stored “main” memory.  If you don’t use volatile, a given thread will look at its local cached copy [...]

Google I/O: Day 2 Notes

Thursday, June 12th, 2008

I’m finally getting around to posting some notes from my second day at the Google I/O conference.

Keynote

The keynote speaker was Marissa Mayer, who was more interesting for me because she talked a lot about how Google does statistical research for everything they release. They’ll release two or three versions of, say, the search results page, [...]

Some Live Templates for IDEA for Managers and Struts

Friday, January 18th, 2008

Writing Java code is often repetitive and tedious. IDEA can make parts of it easier with Live Templates. I think most people use the built-in ones regularly, but we don’t often write our own Live Templates. Here are a few templates that I have created, while writing a bunch of Struts Actions, [...]

Old regex in java example

Friday, January 18th, 2008

I routed an article on RegEx earlier, and I thought I’d follow it up with a simple usage of RegEx in Java. The attached file will grab a web page from the web and print the title and all the links on the page. Give it a look. It [...]