We have a long-time client that has been running in JDK 1.3 since the enterprise app was written and I was wanting to have the benefits of the newer versions of Java both in terms of language features and runtime speed improvements. So I upgraded the app to JDK 6 (aka 1.6) last week when [...]
Archive for the ‘Java’ Category
Java 7 has some smaller syntactic changes that look like they’ll be helpful for your everyday dev
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 [...]
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 [...]
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. [...]
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 [...]
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 [...]
I’m finally getting around to posting some notes from my second day at the Google I/O conference.
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, [...]
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, [...]