Skip navigation.
Home

Javalobby

Syndicate content
Updated: 20 hours 36 min ago

Spring Security 3 by Packt Publishing - Review

Wed, 08/18/2010 - 12:21
I've just finished reading Spring Security 3, and I can honestly recommend it to any Spring Security user. Peter Mularien's book is well written and easy to follow. I can't say it's the best Spring Security book on the market - simply because it is the only one... so there is no comparison to make. But even without it, it is highly recommended and worth its price. ...

Calling a Static Method From EL

Wed, 08/18/2010 - 12:11
In my previous post I showed how to pass parameters in EL methods. In this post, I will describe how to call static methods from EL. James Sugrue

Daily Dose - Your Passwords Need to be Longer

Wed, 08/18/2010 - 09:30
Due to the increasing performance unlocked by GPUs, password cracking software will soon be able to discover your 7-10 character password without a problem (special symbols won't make a difference).  Richard Boyd, from the Georgia Tech Research Institute, told the BBC that today's GPUs have processing power that equals the supercomputers from ten years ago.  Security researchers recommend that...

A Lightweight Alternative to ApacheMQ or RabbitMQ

Wed, 08/18/2010 - 09:30
ocamlmq is a messaging system written in OCaml (as you might have guessed) but it can be used with virtually any language (a STOMP protocol) implementation is required).  It has a small footprint and it was written using around 1,200 lines of code.  The message broker's author, Mauricio Fernández, says that ocamlmq is especially suitable for creating task queues and communication betwee

OCaml, Where Art Thou?

Tue, 08/17/2010 - 23:22
A new point release for Objective Caml, the main implementation of Caml, has arrived this month with a surprising amount of new features.  OCaml combines functional, imperative, and object-oriented programming under an ML-like type system.  Languages such as F# and Scala were influenced by OCaml. Here are some of the main new features in OCaml 3.12

Geb: Groovy Functional Testing on the Web

Tue, 08/17/2010 - 21:02
Have you ever wanted an automated, cross-browser testing tool for Groovy that also works as a screen scraping and process automation tool?  If you have, then you should consider test-driving Geb (pronounced "jeb").  The open source browser automation solution just made it to version 0.4.  Geb has a strong focus on web testing with first class support for Spock and JUnit.  It can...

The JBossESB-Drools Integration in the JBoss SOA Platform

Tue, 08/17/2010 - 20:09
As I've mentioned in previous posts and articles, one of the great strengths of the JBoss SOA Platform is the large number of integrations that it supports. Some of these integrations take the form of support for JBoss and third-party supplied JMS and UDDI providers or support for multiple JDKs and databases. The SOA Platform also supports an integration to jBPM for business process...

Java Swing Components: Bringing Your Swing UI Back To Life

Tue, 08/17/2010 - 15:57
Last week, I discovered a set of Java Swing Components based on a tweet from Kirill Grouchnikov. It's a long time since I saw something new in the Swing space, so  I took a look at the components and contacted the lead developer for the project, Rhiannon Liebowitz, to find out more about his component set, and his plans for it's future.  DZone: What is your experience with Swing? ...

web-fragment.xml: I Don't Get It

Tue, 08/17/2010 - 15:10
I've been trying to understand web-fragment.xml, which is part of the Servlet 3.0 specification. The confusion comes from the discussion in this issue in NetBeans Issuezilla:http://netbeans.org/bugzilla/show_bug.cgi?id=187548

Discover Java VisualVM 1.3

Tue, 08/17/2010 - 10:51
A while back Java VisualVM 1.3 was released. We’ll see what’s new with this release. At this time, there is no package for Ubuntu, so we’ll install it manually :wget https://visualvm.dev.java.net/files/documents/7163/151728/visualvm_13.zipunzip visualvm_13.zipAnd then we can directly launch it :cd visualvm_13/binsh visualvmYou’ll be asked for the license agreement and after that the tool...

CDI Conversations Part 1

Tue, 08/17/2010 - 10:44
This is the first in a series of articles looking at the conversation scope introduced in CDI as part of Java EE 6. We’ll start by looking at existing scopes and how they introduce limitations for developers and how CDI conversations get around these limitations. Why we need a CDI Conversation scope Scopes limit the lifespan of a piece of data and the ability for different users to access...

First Look at Concurrency Support in Commons Lang 3.0

Tue, 08/17/2010 - 10:39
In the first part of the series I talked about some of the new and improved features in Commons Lang 3.0. In this article I will talk about concurrent utilities provided by Commons Lang 3.0. A new package 'org.apache.commons.lang3.concurrent' has been added which provides support classes for multi-threaded programming and makes use of Java 5 java.util.concurrent.* classes. Article...

Growing Faith in Open Source, But Few Give Back

Tue, 08/17/2010 - 09:30
The days of enterprises fearing what they don't have to pay for are coming to an end.  Two recent surveys on open source adoption show that open source solutions are trusted and utilized by a large number of enterprises.  One survey found that a majority of its respondents used OSS in some form, while the other indicates that many enterprises are choosing open source because of the quality, not...

Daily Dose - Vim Increases Vigor

Tue, 08/17/2010 - 09:30
Two years have passed since the release of Vim 7.2, and today version 7.3 is here with a few improvements, but nothing major.  Vim has remained a consistently solid editor with little need for more features.  However, this release does feature new interfaces for Lua, Python 3, and conceal text.  There is also a new persistent undo, an undo for reload, and Blowfish encryption.HTML5 Rocks On

eXtreme Programming in Practice

Mon, 08/16/2010 - 20:48
Extreme programming sounds a little too "ESPN2" for most managers, but there is a lot of sound engineering behind its principles. In this presentation, recorded at Oredev 2009, Neal Ford talks about the parts of XP that are absolutely vital and the ones that you can introduce a little more slowly (pair programming, only a 40 hour work week). He also talks about political battles...

Oracle vs Google: Hoping For A Happy Ending

Mon, 08/16/2010 - 19:23
Like most Java developers, I feel disappointed in the lawsuit that Oracle has brought up against Google.  With Android, Java had become a key technology for mobile application development. Contrasting Android to JavaME makes you appreciate what Google had done for Java developers. JavaME may have been installed on a lot of phones, but it wasn't nearly as accessible or feature rich as Android is....

YAML, the Forgotten Victim of the Format Wars

Mon, 08/16/2010 - 12:22
I have been thinking about providing an additional way of specifying test suites for TestNG for a while. The current format is XML, which has quite a few benefits, but no matter how hard you try to specify an XML file to make it as concise as possible, the end result will always end up being more verbose than you’d really like, especially if that format grows organically throughout the...

JavaBeans to XML, With No Libraries

Mon, 08/16/2010 - 12:16
Converting JavaBeans to XML and viceversa is quite a common task, and there are tons of libraries around for this purpose. But I always like to use what is already available in the JRE, avoiding dependencies as much as possible. In the past I and Simone developed a rest API using the JSR57 serialization, that was already available in the Java 5. James Sugrue...

Writing Unit Tests Is Your Job, So Quit Making Excuses

Mon, 08/16/2010 - 12:03
For whatever reason, I have seen the topic of unit tests appear in my daily reading frequently the past few days. Because I am in that kind of mood, I wanted to rant on unit testing. First, let’s look at some of the articles that caught my attention. One article talks more about the psychology of unit testing and starts with an interesting paragraph: ...

Daily Dose - Google to Oracle: 'Bring it'

Mon, 08/16/2010 - 09:30
In a statement sent out to the media late last week, Google announced its intentions to defend open source and protect Android (and the Dalvik JVM) against the "baseless" suit that Oracle has brought against it.  Google has called Oracle's infringement case an "attack" against both themselves, and the open source Java community.  Google says it will "strongly defend...