Java Lobby Announcements

Subscribe to Java Lobby Announcements feed
Updated: 8 hours 29 min ago

How To: Install graylog2 on CentOS 5 with RVM + Passenger

Sun, 2012-02-05 08:00
Graylog2 is an open-source self-hosted centralized log management tool. Think of it as a do-it-yourself version of loggly.com, or perhaps a simpler alternative to Splunk. Logs are stored in a MongoDB database. I won’t go into too much detail, so if you want more info check out graylog2.org Preview Text:  I decided to see if RVM – Ruby Version...
Categories: Java

The Best Default Setting is not to Have a Setting

Sun, 2012-02-05 07:40
It is easy to think that letting users change all aspects of an app UI makes the UI better. We've all heard the "if they don't like it they can change it" argument. It is also very easy to come up with theoretical scenarios where users would actually want to change any one aspects of the UI.  Preview Text:  It is easy to think...
Categories: Java

jOOX and XSLT. An XML love story, continued

Sun, 2012-02-05 07:38
The somewhat functional way of thinking involved with jOOX’s XML manipulation cries for an additional API enhancement simply supporting XSLT. XSL transformation has become quite a standard way of transforming large amounts of XML into other structures, where normal DOM manipulation (or jOOX manipulation) becomes too tedious. Let’s have a look at how things are done in standard Java ...
Categories: Java

Getting started with the Sensu monitoring framework

Sun, 2012-02-05 00:42
I’m excited about Sensu, a new open source monitoring framework, and I’d like to help others get started with it as well. So, after observing the frequent questions from new visitors to #sensu on Freenode I thought perhaps the best way to do that is to write a blog article to help folks get started. If you still have questions after reading this, feel free to come by #sensu on...
Categories: Java

Using the Android Parcel

Sun, 2012-02-05 00:36
A short definition of an Android Parcel would be that of a message container for lightweight, high-performance Inter-process communication (IPC). On Android,  a "process" is a standard Linux one, and one process cannot normally access the memory of another process, so with Parcels, the Android system decomposes objects into primitives that can be marshaled/unmarshaled across process...
Categories: Java

Master/worker or P2P Grid? How about You choose?

Sun, 2012-02-05 00:35
What is possible? Simple master/worker topology In its initial design, JPPF is a distributed parallel processing framework based on a master/worker architecture. A JPPF grid is made of 3 sorts of components that communicate with each other: clients which submit the work to the grid, nodes which execute the work, and servers which receive the work from clients and distribute it to the nodes in...
Categories: Java

I don't like NullPointerExceptions

Sun, 2012-02-05 00:35
I don't like NullPointerExceptions. Actually I don't like the message of NullPointer Exceptions, i. e. "null". Such a message is usually not very helpful. I created a few rules for myself how to avoid certain exceptions and actually define pre- and post-conditions for methods. Let me please give you a few examples. In the beginning of a non-private method I usually check all method...
Categories: Java

Why does my Maven build suddenly fail?

Sun, 2012-02-05 00:19
I want to share something a software developer or operations guy every now and then encounters. And which I did yesterday. It all started with our nightly Maven build failing last Saturday Jan 28 on a java.lang.NoClassDefFoundError: javax/xml/bind/ValidationEventLocator The interesting snippet from the concole output from this build looked like this: Preview Text:  ...
Categories: Java

Control your software application with C³

Sun, 2012-02-05 00:15
C³ is a Java library providing a component abstraction capacity, as its main feature. The use of components and a component model is highly recommended to structure your software. Before defining your software’s component structure, you need to define what the users of your application will be able to do and how they will be able to do it. Article Type:  ...
Categories: Java

Kotlin + Guice example

Sat, 2012-02-04 15:10
While Kotlin programming language prepares to public early access program I want to share with you one of examples how easy it can be used with existing Java codebase.This short note does not intend to teach reader how to use Kotlin but only to make it interstedto learn.
Categories: Java

CSS selectors in Java

Sat, 2012-02-04 07:36
CSS selectors are a nice and intuitive alternative to XPath for DOM navigation. While XPath is more complete and has more functionality, CSS selectors were tailored for HTML DOM, where the document content is usually less structured than in XML. Here are some examples of CSS selector and equivalent XPath expressions: Preview Text:  CSS...
Categories: Java

Tapestry Advantages

Sat, 2012-02-04 07:34
A summary of a discussion about the advantages of Tapestry over Struts: Preview Text:  A summary of the advantages of Tapestry over Struts. James Sugrue
Categories: Java

DZone's Different!

Fri, 2012-02-03 20:00
Hello DZoners!My name is Austin Kowitz and I’m DZone’s lead designer. And you can mostly blame (praise?) me and lead DZone.com developer Ross Jernigan for what you see currently at DZone. We still have tons of ideas we haven't implemented yet -- but we're doing the agile thing, releasing early, releasing often. So we'd love hear your feedback, whatever it may be. I’m bracing myself for the...
Categories: Java

Source Code is an Asset, Not a Liability

Fri, 2012-02-03 15:58
Some people have tried to argue that source code is a liability, not an asset. Apparently this “is now widely accepted” and... “this is a very strong idea that has a lot of impact across the IT industry and in the way developers view and perform their day-to-day work”.Really? Preview Text:  Many have argued that Source Code is a...
Categories: Java

The Java 7 - Lucene Bug Controversy: The Story Behind the Story

Fri, 2012-02-03 15:29
Learn about the controversy that emerged in the early days of the Java 7 GA release because of the effect it had on Apache Lucene - from the perspective of Uwe Schindler who blogged about the bug. Embed Tag:  <object width="651" height="366"><param name="allowfullscreen" value="true" /><param...
Categories: Java

Moving from Google App Engine to Jelastic

Fri, 2012-02-03 12:01
If you have have used Jelastic, chances are, you have also tried one of our competitors. There are a number of them out there. One of the biggest ones is Google App Engine. Article Type:  Opinion/Editorial
Categories: Java

Sneak peak at Java EE 7 - Multitenant Examples with EclipseLink

Fri, 2012-02-03 07:25
The Aquarium is a great source of inspiration and most recent information about Java EE progress across all relevant specifications and reference implementations. They picked up a presentation by Oracle's Shaun Smith (blog/twitter) about the status and future of EclipseLink as an open source project. He covers all the new features which are going to be in EclipseLink 2.4 which will be...
Categories: Java

Testing asynchronous applications with WebDriverWait

Fri, 2012-02-03 07:18
If you’re testing a web application, you can’t go far wrong with Selenium WebDriver. But in this web 2.0 world of ajax-y goodness, it can be a pain dealing with the asynchronous nature of modern sites. Back when all we had was web 1.0 you clicked a button and eventually you got a new page, or if you were unlucky: an error message. But now when you click links all sorts of funky things...
Categories: Java

What’s New In Java 7: Copy and Move Files and Directories

Fri, 2012-02-03 07:09
This post is a continuation of my series on the Java 7 java.nio.file package, this time covering the copying and moving of files and complete directory trees. If you have ever been frustrated by Java’s lack of copy and move methods, then read on, for relief is at hand. Included in the coverage is the very useful Files.walkFileTree method. Before we dive into the main content however,...
Categories: Java

NoSQL: An Analysis of the Strengths and Weaknesses

Fri, 2012-02-03 07:06
What is NoSQL, how is it different from RDBMS? In computing, NoSQL (sometimes expanded to “not only SQL”) is a broad class of database management systems that differ from the classic model of the relational database management system (RDBMS) in some significant ways, most important being they do not use S Preview Text:  If you're new to...
Categories: Java