Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

JavaWorld Daily Brew

Mobile for the masses: Words and gestures with Overheard Word

The fourth article in IBM developerWorks’ series Mobile for the Masses has been published! This copasetic article shows you how to take the Overheard Word demo app up a level with a JSON-based word engine and some prebaked, swipe-gesture functionality.

As the article summary states:

Read more ...

 

Android tip: ListView becomes black when scrolling

One of my Android apps recently suffered from a nefariously ugly UI glitch that, embarrassingly, a user reported to me. Strangely, this phenomenon did not surface itself in local testing on either emulators or devices when I first wrote the app; nevertheless, I was able to reproduce the error after the bug report came in. I suspect that recent updates in the Android platform might have exacerbated the issue for my app as I’m fairly certain I never saw it before.



Read more ...

 

MongoDB primary keys are your friend

All documents in a MongoDB collection have a primary key dubbed _id. This field is automatically assigned to a document upon insert, so there’s rarely a need to provide it. What’s interesting about the _id field is that it is time based. That is, the underlying type of _id, which is ObjectId, is a 12-byte BSON type, and 4 of those bytes represent the seconds since Unix epoch.



Read more ...

 

Lickety-split custom validations in Rails

Have a highly specific, yet custom validation for a particular field on one of your Rails model objects? Don’t want to create a ActiveModel::Validator type? Not a problem!

Read more ...

 

Backgrounding tasks in Heroku with Delayed Job

Long running web requests are bad.

Read more ...

 

Backgrounding tasks in Heroku with Delayed Job

Long running web requests are bad.

Read more ...

 

MongoDB to CSV

Every once in a while, I need to give a non-technical user (like a business analyst) data residing in MongoDB; consequently, I export the target data as a CSV file (which they can presumably slice and dice once they import it into Excel or some similar tool).

Read more ...

 

MongoDB to CSV

Every once in a while, I need to give a non-technical user (like a business analyst) data residing in MongoDB; consequently, I export the target data as a CSV file (which they can presumably slice and dice once they import it into Excel or some similar tool).

Read more ...

 

Callbacks in Appcelerator Titanium modules

I recently found myself implementing both an Android and iOS Appcelerator module for App47’s respective Agent libraries.

Read more ...

 

Callbacks in Appcelerator Titanium modules

I recently found myself implementing both an Android and iOS Appcelerator module for App47’s respective Agent libraries.

Read more ...

 

Mobile for the Masses: Activities and icons in your Android application lifecycle

My third article in IBM developerWorks’ series Mobile for the Masses is now out!

Read more ...

 

Mobile for the Masses: Activities and icons in your Android application lifecycle

My third article in IBM developerWorks’ series Mobile for the Masses is now out!

Read more ...

 

ElasticSearch on EC2 in less than 60 seconds

Curious to see what all the ElasticSearch hubbub is about? Wanna see it in action without a lot of elbow grease? Then look no further, friend – in less than 60 seconds, I’ll show you how to install ElasticSearch on an AWS AMI.

Read more ...

 

ElasticSearch on EC2 in less than 60 seconds

Curious to see what all the ElasticSearch hubbub is about? Wanna see it in action without a lot of elbow grease? Then look no further, friend – in less than 60 seconds, I’ll show you how to install ElasticSearch on an AWS AMI.

Read more ...

 

Mobile-isticly optimized in 10 seconds

Anyone ever told you that your website isn’t mobile optimized? Or have you ever seen a lilliputian-looking website on your device? You know, one that renders so small you are forced to squint as you enlarge various parts of the site with your fingers just to read it?

Read more ...

 
Syndicate content