A case for non leaky dual abstractions.
A long long time ago, I worked on a fairly complex piece of design.
And like any well behaved designer, I broke it down into a number of
abstractions that made it manageable. I gave the abstractions funny
sounding names. And before long I found those abstractions finding their
way into the user interface. Abstractions which made no sense to the
end user. References
Reference:
...
Categories: Communities
How To: Configuration Instructions for Activiti-5.0.alpha4 to Work With MySQL 5.1.49
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
Categories: Communities
Interesting Java Language Puzzle
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...
Categories: Communities
5 Java powered open source tools for your team
If you're a Java shop and want to ensure you can support your team's toolset, here are some pointers for the must-have tools we modern developers use day-to-day.Wikis
Categories: Communities
Naming Strategy in Hibernate - NamingStrategy
Recently while exploring I Hibernate I came to know a very nice feature of
Hibernate which gives a handle to map naming convention of underlying
tables and columns with the Objects and properties. I found it very
interesting and easy to use functionality.
Problem Scenario:
Generally while using Hibernate either we keep the tables names
corresponding to the POJO names similar for ease of use,...
Categories: Communities
A Case For Non Leaky Dual Abstractions.
A long long time ago, I worked on a fairly complex piece of design.
And like any well behaved designer, I broke it down into a number of
abstractions that made it manageable. I gave the abstractions funny
sounding names. And before long I found those abstractions finding their
way into the user interface. Abstractions which made no sense to the
end user.
...
Categories: Communities
Terracotta's Perspective on the Java GC Problem
Caching is at the core for data management in applications, says Amit Pandey, CEO of Terracotta. Too much time is spent tuning the size of the heap to keep application performance fast and predictable. Garbage collection is to blame for making an application unpredictable for SLAs (Service Level Agreements). When latency reaches unacceptable levels, a lot of work needs to be done that...
Categories: Communities
Daily Dose - Chrome 7 Arrives Bearing NaCl
If you've been waiting to get your hands on Google's Native Client, you can do so now by getting on the Chrome developer channel, which just released Chrome 7. NaCl is enabled by default and it allows native code to run in your browser, which means web apps will be able to directly use your computer's hardware resources to run web application processes. It's a big day for the evolution of the...
Categories: Communities
The Art of Unit Testing in Java - Early Access Book Review
ISBN or ASIN:
9781935182573
Cover Image:
koskela2_cover150.jpg
Book Author(s):
Roy Osherove
Lasse Koskela
Publisher:
...
Categories: Communities
An Open 'Acre' From Google
Acre (stands for "A Crash of Rhinos Evaluating") is Google's server-based JavaScript platform that is used to provide a foundation for Freebase Apps. Freebase Apps is the hosted application environment that lets Freebase users create applications that query the Freebase open data entity graph in various ways. Google has announced that the Acre platform that powers Freebase Apps is...
Categories: Communities
Motorola Acqu-Hires Cappucccino Developers
Several months ago, Motorola decided to cut the entire corporation in two. The organization was beginning to lose its agility because of the wide variety of technologies that it researches and sells. Out of that decision, we will see the handset division spin off into its own company called Motorola Mobility.    Â
Categories: Communities
Android AppInventor: First Impressions
When Google's AppInventor was announced last month, I signed up straight away, and have been really looking forward to seeing what it can do. This weekend, I was granted access to the site (thanks Google!), so I thought I'd share my experiences with you.
Categories: Communities
Java 7 : The New try-with-resources Statement
From build 105, the compiler and runtime of the Java 7 Releases have
support for the new form of try : try-with-resources, also called ARM
(Automatic Resource Management) blocks.This new statement makes
working with streams and all kind of closeable resources easier. For
example, in Java, you can have this kind of code :
James Sugrue
Categories: Communities
Is Scala Complex? Yes ... and?
This article has been inspired by a thread that appeared on the Java Posse mailing list, that in turn was started as a comment to a blog post that tried to demonstrate how Scala could be less complex than Java.
Article Type:
Opinion/Editorial
Categories: Communities
Daily Dose - RabbitMQ 2.0 Upgrades to AMQP 0.9.1
The RabbitMQ messaging system, which was recently be acquired by VMware's SpringSource, has reached version 2.0. The AMQP-based system has a new persister that's only bound by disk capacity and a server that optimizes memory usage - giving RabbitMQ more consistent performance and faster startup. 2.0 now implements version 0.9.1 of the AMQP specification.Perl Heroine Appointed Ubuntu Technical...
Categories: Communities
Test Behavior, Not State
Many developers and testers write automated tests. Sometimes they're unit tests, other times package level, and occasionally integration. There are many different types of tests, but there are a few characteristics of great tests. Today let's look at one specific characteristic: behavior versus state.
Article Type:
How-to
Categories: Communities
Spring Roo and GWT - Simultaneous Releases and Workin' Together
Both Spring Roo 1.1 and Google Web Toolkit 2.1 released Milestone 3 today, showing that the two technologies have been in lock-step since Google I/O, when VMware and Google announced integration plans for the Spring Framework and GWT. As these two technologies, along with other projects like AspectJ and STS become more integrated, the number of real-world applications built with Spring tools...
Categories: Communities
Groovin' on the Testin'
I'm at the point now where I'm writing Groovy code for (virtually)
all my unit and integration tests. Tapestry's testing code is pretty
densely written ... care of all those explicit types and all the
boilerplate EasyMock code.
With Groovy, that code condenses down nicely, and the end result is more readable.
For example, here's an integration test:References
Reference:
...
Categories: Communities
Implementing REST Services with Apache Pivot
Apache Pivot is a platform for building rich Internet applications (RIAs) in Java. While it is geared primarily towards user interface construction, Pivot contains a number of features that make it suitable for non-UI applications as well.
Article Type:
How-to
James Sugrue
Categories: Communities
Introducing NIO.2 (JSR 203) Part 6: Filtering Directory Content and Walking Over a File Tree
In this part we will look at how the directory tree walker and the
directory stream reader works. These two features are another couple of
long requested features which was not included in the core Java before
Java 7.
First, lets see what directory stream reader is, this API
allows us to filter content of a directory on the file system and
extract the file names that matches our filter...
Categories: Communities