Frameworks

Writing Your Own JUnit Extensions Using @Rule

I was surprised to see how many hidden and undocumented features Junit has. In the new release (4.7) you have access to a lot of interesting stuff (still in...

1 replies - 1184 views - 11/06/09 by Mathieu Carbou in Articles

Testing GWT Libraries With Selenium and Maven

On Tuesday, I wrote about Running Hosted Mode in GWT Libraries. Today I added an additional module to our project to run Selenium tests against our GWT...

0 replies - 862 views - 11/05/09 by Matt Raible in Articles

Writing a RESTful and Comet Based PubSub Application Using Atmosphere in Less Than 10 Lines

Writing a publisher/subscriber (PubSub) is quite simple with Atmosphere using the atmosphere-jersey module. The main idea here is to use Comet for suspending...

0 replies - 1247 views - 11/04/09 by Jean-Francois Arcand in Articles

Running Hosted Mode in GWT Libraries (When Using Maven)

Earlier this year, I wrote about Modularizing GWT Applications with GWT-Maven. Fast forward 8 months and I'm still working with GWT and using this same...

0 replies - 838 views - 11/04/09 by Matt Raible in Articles

Fluent Navigation in JSF 2

In this article, the third in a series covering JavaServer Faces (JSF) 2.0 features contributed by Red Hat, or which Red Hat participated in extensively,...

0 replies - 2942 views - 11/02/09 by Dan Allen in Articles

Simple Templating Solution With SiteMesh

In this article, I will show you how to use SiteMesh in your JEE web sites in order to bring a sense of unity to them.When talking about templating, the method...

0 replies - 1508 views - 10/29/09 by nfrankel in Articles

JSF 2 GETs Bookmarkable URLs

JSR-314: JavaServer Faces (JSF) 2.0 demonstrates a strong evolution of the JSF framework driven by de facto standards that emerged out of the JSF community...

0 replies - 3933 views - 10/29/09 by Dan Allen in Articles

JSF 2 - Seam's Other Avenue to Standardization

JSR-314: JavaServer Faces (JSF) 2.0 is the third major revision of the JSF specification. It delivers a strong evolution of the framework driven by de facto...

0 replies - 5216 views - 10/28/09 by Dan Allen in Articles

Java Goes Everywhere With JavaCard 3

James Gosling has written that development of JavaCard 3.0 is almost complete, building on the popular JavaCard 2 API. The API comes in two flavours - Classic...

0 replies - 2105 views - 10/28/09 by James Sugrue in News

JBoss MQ and Hibernate Lazy Loading

Today I will present a recent problem which I have faced in enterprise applications with an architecture that is based on DMZ and communications between...

2 replies - 1655 views - 10/27/09 by slim.ouertani in News

Java Hashing

Every Java object has two very important methods i.e. hashCode() and an equals() method. These methods are designed to be overridden according to their...

10 replies - 4400 views - 10/27/09 by m_muhammadali in Articles

Remote Access to Your Services: EJB vs Spring/Hessian

The other day, I got to come up with a design solution for a small website. Small enough to fit on a single physical server. Nothing fancy, I had a pretty good...

7 replies - 2474 views - 10/26/09 by alex.m in Articles

JPA Join Table With Additional State

JPA has its puzzles and from time to time it is useful to write down that tricky solution for our mapping needs.This entry describes a ManyToMany relationship...

0 replies - 1608 views - 10/26/09 by Felipe in Articles

OSGi Survey Results

Last week, I opened the 2nd Annual OSGi Survey. The survey concluded early Tuesday, with more than 250 developers taking the survey (last year, 64 took the...

1 replies - 1786 views - 10/23/09 by Kirk Knoernschild in Articles

Hibernate Validator 4: Model Validation Made Easy

Version 4.0 of Hibernate Validator has been released recently, which is now the reference implementation for JSR 303: Bean Validation. The real benefit to this...

6 replies - 3138 views - 10/22/09 by James Sugrue in Articles