Javalobby

Syndicate content
Updated: 1 hour 35 min ago

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

Fri, 08/27/2010 - 09:58
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: Java News

Interesting Java Language Puzzle

Fri, 08/27/2010 - 09:49
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: Java News

5 Java powered open source tools for your team

Fri, 08/27/2010 - 07:51
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: Java News

Naming Strategy in Hibernate - NamingStrategy

Fri, 08/27/2010 - 07:36
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: Java News

A Case For Non Leaky Dual Abstractions.

Fri, 08/27/2010 - 07:30
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: Java News

Terracotta's Perspective on the Java GC Problem

Fri, 08/27/2010 - 04:00
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: Java News

Daily Dose - Chrome 7 Arrives Bearing NaCl

Fri, 08/27/2010 - 04:00
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: Java News

The Art of Unit Testing in Java - Early Access Book Review

Thu, 08/26/2010 - 17:57
ISBN or ASIN:  9781935182573 Cover Image:  koskela2_cover150.jpg Book Author(s):  Roy Osherove Lasse Koskela Publisher:  ...
Categories: Java News

An Open 'Acre' From Google

Thu, 08/26/2010 - 16:01
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: Java News

Motorola Acqu-Hires Cappucccino Developers

Thu, 08/26/2010 - 12:03
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: Java News

Android AppInventor: First Impressions

Thu, 08/26/2010 - 06:03
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: Java News

Java 7 : The New try-with-resources Statement

Thu, 08/26/2010 - 06:01
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: Java News

Is Scala Complex? Yes ... and?

Thu, 08/26/2010 - 05:58
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: Java News

Daily Dose - RabbitMQ 2.0 Upgrades to AMQP 0.9.1

Thu, 08/26/2010 - 04:00
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: Java News

Test Behavior, Not State

Thu, 08/26/2010 - 03:26
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: Java News

Spring Roo and GWT - Simultaneous Releases and Workin' Together

Wed, 08/25/2010 - 17:46
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: Java News

Groovin' on the Testin'

Wed, 08/25/2010 - 11:52
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: Java News

Implementing REST Services with Apache Pivot

Wed, 08/25/2010 - 06:43
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: Java News

Introducing NIO.2 (JSR 203) Part 6: Filtering Directory Content and Walking Over a File Tree

Wed, 08/25/2010 - 06:38
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: Java News

How to Migrate from Ant to Maven: Project Structure

Wed, 08/25/2010 - 06:34
I’ve seen my fair share of projects migrating from Ant to Maven, and, for a complex project, this migration path can take some time. You have to worry about dependency management, project structure, and retraining an existing team to use Maven and understand the core concepts behind the tool. When you make the shift, you are often affecting development infrastructure for an existing...
Categories: Java News