• submit to reddit
Gurkan Erdogdu04/22/11
0 replies

Siwpas, More than Apache Tomcat

Java™ EE 6 Web Profile specification defines the Java™ EE Web Profile (“Web Profile”), a profile of the Java™ Platform, Enterprise Edition specifically targeted at web applications. Siwpas™, (Simple Web Profile Application Server) is an...

Rob Williams04/21/11
1 replies

Setting Up Arquillian to Run in Eclipse

Here is a super quick path to seeing *Arquillian* in action, inside *eclipse*. Do New Project (command-N), pick Maven Project (assuming you have *m2Eclipse* installed). On the 3rd page, the archetype catalog comes up, I have typed in Weld to filter to those...

Frederic Simon04/21/11
0 replies

The First Continuous Integration Summit - Video Available!

On April 7th, we held the First Continuous Integration Summit at LinkedIn HQ in the Silicon Valley.We were overbooked a week from opening the event registration page! This enthusiastic response, in addition to the feedback we received (and still getting)...

Constantin Alin04/21/11
0 replies

When to use a CDI producer field or method

 Conforming to the official specification, a producer field can be used: • instead of a simple getter method • for declaring Java EE resourcesMoreover, a producer method can be used – producer methods acts as sources of bean instances: • to inject...

Yonik Seeley04/21/11
2 replies

Solr relevancy function queries

Lucene’s default ranking function uses factors such as tf, idf, and norm to help calculate relevancy scores. Solr has now exposed these factors as function queries.

Ben Kepes04/21/11
2 replies

Cloud Foundry–A Beautiful Thing for Users, Questions for Vendors

This week’s announcement by VMware of its CloudFoundry PaaS product was an exceptionally refreshing surprise. Other have commented that it’s a rare thing for a big company to really do things right – but with CloudFoundry, VMware have ticked every...

Adam Presley04/21/11
0 replies

Merging Two ColdFusion Structs

Here’s a quick little tidbit. My coworker Steve Good asked me if I knew of a quick way to merge two ColdFusion structures together, kind of like how jQuery has the $.extend() method. Well there is in fact a way to do this! And it’s super easy. Let’s...

Jim Liu04/21/11
0 replies

Eclipse Extension Point Information Search and Java Source Search

Eclipse Resource Search Summary You may need an example since you encounter some problems with writing the code of eclipse. It's easier for you to follow the example. The source code of eclipse itself is one of the best example, The problem is how to find...

Constantin Alin04/21/11
0 replies

The built-in qualifiers @Default and @Any

• @Default - Whenever a bean or injection point does not explicitly declare a qualifier, the container assumes the qualifier @Default. • @Any – When you need to declare an injection point without specifying a qualifier, is useful to know that all...

Gordon Dickens04/21/11
4 replies

Don't Use JmsTemplate in Spring!

JmsTemplate is easy for simple message sending. What if we want to add headers, intercept or transform the message? Then we have to write more code. So, how do we solve this common task with more configurability in lieu of more code? First, lets review...

Dmitriy Setrakyan04/21/11
2 replies

Asynchronous Functional APIs in Java

The major limitation of java.util.concurrent.Future class is lack of a good way to listen to future completion asynchronously. Even though Java futures are asynchronous in nature and meant to eliminate synchronous waits when not needed, the only way to...

Steven Lott04/20/11
1 replies

Test-Driven Reverse Engineering (TDRE)

Another case study on TDRE. Provided: 2,938 lines of Python code which process a handful of large files to create a number of outputs. [Details can't be disclosed.] Objective: Refactor to distinguish between the overall sequence of transformational steps...

Krishna Kumar04/20/11
0 replies

Refactoring is Not About Reducing Code

The first introduction to refactoring for many programmers comes when a senior developer on the team takes a look at what they have written, yells some expletives and starts deleting blocks of code that has probably taken them days to write. After a few...

Gordon Dickens04/20/11
0 replies

What’s in my Spring Context?

When we are learning Spring, there are times we are not sure which beans are in the Spring context. Especially when we use convenient features of Spring 3 such as <context:annotation-driven/> or <context:component-scan/>. As developers, we...

Andres Almiray04/20/11
0 replies

DZone interviews: Ken Kousen on Making Java Groovy

Welcome to another installment of DZone Interviews here at Groovy Zone. On this occassion we interviewed Kenneth Kousen, a name that should be familiar to people browsing the Groovy User mailing lists as Ken is quite active there. I won't spoil the contents...