• submit to reddit
Cedric Beust01/10/11
3 replies

Value or Reference?

Death and Taxes are not the only two things that are certain in life: the regular resurgence of the “Is Java pass by value or pass by reference?” controversy comes to haunt us regularly as well. This year, it’s brought to us in the LinkedIn Java...

Debasish Ghosh01/10/11
0 replies

Iteration in Scala - effectful yet functional

One of the papers that influenced me a lot in 2010 was The Essence of the Iterator Pattern by Jeremy Gibbons and Bruno C. d. S. Oliveira. It builds upon where McBride and Paterson left in their treatise on Applicative Functors. Gibbons' paper discusses the...

Krishna Kumar01/10/11
2 replies

Writing Good Code

Randall Munroe (of XKCD) has a nice take on writing good code:

David Salter01/08/11
6 replies

Quick Look at EJB 3.1 on JBoss AS 6

Now that JBoss AS 6.0 has been released with full support for the Java EE 6 Web Profile, lets take a quick look at some of the new features of EJB 3.1 that are available. Three of the main features of EJB 3.1 are: EJB’s can be deployed as part of a WAR...

Ken Rimple01/07/11
4 replies

Spring Roo and Web Flow, the Expergated Version...

I've had a number of people ask me recently about how Spring Roo works with Web Flow. Yes, there's the installation command, but what do you do from there? I've been penning a segment of Roo in Action to address this, but because it will take several...

Wille Faler01/07/11
6 replies

Decomposing the View in MVC - What’s In a View?

Model View Controller, it’s a simple concept, where the View is simply the front-end representation of what you want to represent, such as the template (or JSP, God forbid) for the web page you want to render, right? But is it really that simple? Most...

Jay Fields01/07/11
1 replies

Clojure: partial and comp

Clojure provides a few different options for creating functions inline: fn (or the #() reader macro), partial, and comp. When I first got started with Clojure I found I could do everything with fn and #(); and that's a good place to start. However, as I...

David Salter01/07/11
0 replies

JBoss AS 6 Released with support for Java EE 6 Web Profile

In case you missed the announcement last week, JBoss AS 6.0 has been released for General Availability. JBoss AS 6.0 provides an fully certified implementation of the Java EE 6 Web Profile Specification (JSR-316). So, what does this give to Java EE...

Steven Lott01/06/11
5 replies

Java PHP Python -- Which is "Faster In General"?

Sigh. What a difficult question. There are numerous incarnations on StackOverflow. All nearly unanswerable. The worst part is questions where they add the "in general" qualifier. Which is "faster in general" is essentially...

Giorgio Sironi01/06/11
4 replies

A programmer on the cloud

As a programmer, I hate duplication. But moving between different workstations, or even between a netbook and my primary computer, requires me to share data such as documents, code, PDF files and so on.

Jakub Holý01/06/11
0 replies

Tip: Multiple Web Service Implementation Classes Available at the Same Time Under WAS7

If you want to experiment with webservices by providing several alternative implementations of the same webservice (represented by the <wsdl:service> element), each having its own URL, and you’re using Websphere 7 and JAX-WS, then:

Jay Fields01/06/11
0 replies

Clojure: select-keys, select-values, and apply-values

Clojure provides the get and get-in functions for returning values from a map and the select-keys function for returning a new map of only the specified keys. Clojure doesn't provide a function that returns a list of values; however, it's very easy to...

Dmitriy Setrakyan01/06/11
0 replies

Say Hello To GridGain Data Grid

I have been thinking how a HelloWorld example should look for data grid. After checking some other products I have noticed that the most popular approach for a HelloWolrd app on a data grid is creating an example which has two counter parts: client and...

Nicolas Labrot01/05/11
21 replies

How to Cache JSF Beans Getter with Spring AOP

Introduction JSF can call a getter more than once per request.For example in the following JSF file :

Den D.01/05/11
2 replies

MonoDroid in public beta

It was announced by Miguel de Icaza, the project lead for Mono (the open-source implementation of the .NET Framework) that the MonoDroid beta is now open for public access. MonoDroid is an abstraction layer on top of the Android SDK that allows .NET...