Skip navigation.
Home

Javalobby

Syndicate content
Updated: 20 hours 31 min ago

Clojure: Using Sets and Maps as Functions

Tue, 08/31/2010 - 10:50
Clojure sets and maps are functions. Since they are functions, you don't need functions to get values out of them. You can use the map or set as the example below shows. James Sugrue

Five Things You Should Know About ...Java Generics

Tue, 08/31/2010 - 10:48
Generics are one of the most controversial Java language features. Generics allows a type or method to operate on objects of various types while providing compile-time type safety, making Java a fully statically typed language. In this article, I am going to talk about five things that every Java developer should know about Generics.Generics are implemented using Type Erasure In Java a class or...

How to Clean Your Java Functions and Arguments

Tue, 08/31/2010 - 09:30
Have you ever been significantly impeded by bad code?  (Uncle) Bob Martin, the CEO of Object Mentor, asked this question at the NDC 2010 conference this year in his first of two major presentations on the subjects of testing and code cleanliness.  If you, or some developer you know is throwing bad code over the wall or passing it off to you, these two presentations will be a blessing to those...

Daily Dose - The Emotion Markup Language

Tue, 08/31/2010 - 09:30
The W3C is working to formalize a language of emotional states for computers.  This would include more complex emoticons for human-to-human interaction as well as more human-like interaction capabilities for computers.  Hopefully this means that some day our computers may be more friendly, literally.Ruby on Rails 3 Pulls Into the Station

Waste #3: Relearning

Tue, 08/31/2010 - 07:58
Welcome to episode three of our series "The Seven Wastes of Software Development." In episode one, we introduced the concept of eliminating waste from our software development efforts. Waste elimination can be traced all the way back to the the mid-1900's, the birth of lean manufacturing, and the Toyota Production System (TPS). This is how Taiichi Ohno, the father of the TPS, described...

Effective Road Mapping: Driving Change in Your Team

Tue, 08/31/2010 - 06:17
There are two things you must know in order to effectively create a roadmap. Although we'll be dealing with a technical roadmap, this applies to anyone wanting to drive change for yourself or a team.Where you are now (current location)Where you want to go (destination) Article Type:  How-to

Hudson's in the Cloud

Mon, 08/30/2010 - 21:39
Fresh out of stealth-mode, the developers of CloudBees have announced their Java cloud platform to the world.  The best part about this is PaaS, now in beta, is the inclusion of Hudson-based continuous integration.  The service is built with ISVs in mind and it strives to be a true cloud-native infrastructure, not just a packaging of existing products with a cloud stamp on it.  The CloudBees...

James Gosling Launches Java T-Shirt Campaign

Mon, 08/30/2010 - 16:14
James Gosling has just launched a few t-shirt designs to hold Oracle to their pledge to free Java. The CafePress store has a number of different tshirts all with the tagline "Just Free It. Hold Oracle to their Pledge", along with some mugs, buttons and magnets.

Persistent State Machine with Apache SCXML

Mon, 08/30/2010 - 15:15
I'm bored of reinventing the wheel. Everytime I need a state machine to ensure my states traverse only valid transitions, I find myself either not bothering, because I trust my coding (and write all the necessary unit tests of course), or writing very similar code over again. James Sugrue

Random Thoughts on Clojure Protocols

Mon, 08/30/2010 - 12:44
Great languages are those that offer orthogonality in design. Stated simply it means that the language core offers a minimal set of non-overlapping ways to compose abstractions. In an earlier article A Case for Orthogonality in Design I discussed some features from languages like Haskell, C++ and Scala that help you compose higher order abstractions from smaller ones using techniques offered...

Can You Be Too Old For Software Development?

Mon, 08/30/2010 - 12:40
It has been a while since a good bitchmeme came about, so it is with great pleasure that I participate in this one. Actually, is it not with great pleasure as the issue hits close to home. The issue at hand is regarding age in the software development profession. This is important to me because I am 38 years old and have been in software development for about 16 years.

Clojure Plugin For Grails

Mon, 08/30/2010 - 09:30
According to a post from XML co-creator Tim Bray from awhile back, Clojure is considered "the new hotness among people who think the JVM is an interesting platform" for other languages to build on, for people who think that "there's still life in that ol' Lisp beast," and for "people who worry about concurrency and state in the context of the multicore future."  In...

Daily Dose - Do More with the Less Framework 2.0

Mon, 08/30/2010 - 09:30
The CSS3-based framework for dynamically resizing text columns on various form factors just got better.  The Less Framework will resize columns in a browser from 2 columns on a smartphone, to 5 columns in a tablet or netbook, and up to 8 columns in a desktop.  This framework will build sites that perform perfectly on all modern browsers (plus Android phones and iOS devices).  For IE8 and...

True Art Of Functional Cloud Recursion with GridGain 3.0

Sat, 08/28/2010 - 15:35
  James Sugrue

A Case for Feature Branches

Sat, 08/28/2010 - 03:44
How and when to create branches within a project's source control system can be a very touchy subject among software developers. Some folks branch like crazy, and others avoid branching altogether. Today I'd like to make a case for feature branches based on my team's experience using them to enable our development process.While branching practice does vary quite a bit, there's a typical set of...

Daily Dose - Google Boycotts JavaOne

Sat, 08/28/2010 - 00:54
Google's Chief Java Architect Joshua Bloch just announced on the Google Code Blog that he and Google would not be at JavaOne this year due to the Oracle lawsuit.  According to another blog entry by another Googler, all sessions with a presenter from Google will be cancelled.  Apparently, no Google employees will attend the conference.  There were at least six sessions that I found with...

Red Hat Makes a Bid for Standard Cloud API

Fri, 08/27/2010 - 21:45
This week, Red Hat announced that it had submitted the Deltacloud API to the DMTF (Distributed Management Task Force), a body that oversees standards such as CDM (the Common Diagnostic Model), DASH (the Desktop and Mobile Architecture For System Hardware), and OVF (the Open Virtualization Format).  Red Hat believes that Deltacloud has the potential to become a standard for cloud interoperability...

The fear tax

Fri, 08/27/2010 - 17:36
Seth Godin recently wrote a post about 'the fear tax' which he describes as a 'tax' that we pay when we do something in order to try and calm our fear about something else but don't necessarily end up calming those fears. We pay the fear tax every time we spend time or money seeking reassurance. We pay it twice when the act of seeking that reassurance actually makes us more anxious, not...

How To: Configuration Instructions for Activiti-5.0.alpha4 to Work With MySQL 5.1.49

Fri, 08/27/2010 - 15:28
The following tutorial will help you configure activiti-5.0.alpha4 to work with MySQL 5.x, and let you have a correct setup configuration and a startup execution without any problems. You may think that Activiti's documentation already has the instructions for configuration and installation. Article Type:  How-to

Interesting Java Language Puzzle

Fri, 08/27/2010 - 15:19
We ran into an unexpected result as part of Java's auto boxing feature. At least I think it is related to auto boxing. See the following code snippet package com.foo; public class AutoBoxTest { public static void main(String[] args) { Boolean abc = new Boolean(false); setMe(getThisValue() || abc == null? false: abc); } static public Boolean getThisValue() { return new...