Skip navigation.
Home

Javalobby

Syndicate content
Updated: 20 hours 40 min ago

5 Java powered open source tools for your team

Fri, 08/27/2010 - 13:21
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

Naming Strategy in Hibernate - NamingStrategy

Fri, 08/27/2010 - 13:06
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,...

A Case For Non Leaky Dual Abstractions.

Fri, 08/27/2010 - 13:00
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. ...

Terracotta's Perspective on the Java GC Problem

Fri, 08/27/2010 - 09:30
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...

Daily Dose - Chrome 7 Arrives Bearing NaCl

Fri, 08/27/2010 - 09:30
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...

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

Thu, 08/26/2010 - 23:27
ISBN or ASIN:  9781935182573 Cover Image:  koskela2_cover150.jpg Book Author(s):  Roy Osherove Lasse Koskela Publisher:  ...

An Open 'Acre' From Google

Thu, 08/26/2010 - 21:31
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...

Motorola Acqu-Hires Cappucccino Developers

Thu, 08/26/2010 - 17:33
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.     

Android AppInventor: First Impressions

Thu, 08/26/2010 - 11:33
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.

Java 7 : The New try-with-resources Statement

Thu, 08/26/2010 - 11:31
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

Is Scala Complex? Yes ... and?

Thu, 08/26/2010 - 11:28
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

Daily Dose - RabbitMQ 2.0 Upgrades to AMQP 0.9.1

Thu, 08/26/2010 - 09:30
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...

Test Behavior, Not State

Thu, 08/26/2010 - 08:56
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

Spring Roo and GWT - Simultaneous Releases and Workin' Together

Wed, 08/25/2010 - 23:16
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...

Groovin' on the Testin'

Wed, 08/25/2010 - 17:22
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:  ...

Implementing REST Services with Apache Pivot

Wed, 08/25/2010 - 12:13
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

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

Wed, 08/25/2010 - 12:08
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...

How to Migrate from Ant to Maven: Project Structure

Wed, 08/25/2010 - 12:04
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...

Demo Application Using JSF, JPA, CDI with Jetty

Wed, 08/25/2010 - 11:55
The previous version of the Knappsack Maven Archetypes included archetypes for creating projects using JSF, JPA, CDI and Bean Validation that can run in a servlet container such as Jetty or Tomcat. In order to put it through its paces I decided to create a little test social bookmarking application that lets users create accounts, and when logged in, add bookmarks and tag them. Users that...

Jonathan Lindo on Agile Architecture, DevOps, and Patents

Wed, 08/25/2010 - 09:30
The software industry is constantly trying to find the next-generation tools and methods that can make development, testing, and production more efficient.  It's a core part of the developer's inner drive to try and envision how things could be better.  At ReplaySolutions, CEO Jonathan Lindo has watched the industry struggle with testing infrastructure and developer/operations...