The Scala Experiment

I have a relatively good background in functional programming and being a Java programmer I really miss some of the features that can be found in functional programming languages, like SML and Scheme. Scala is a unique language for me, not only because it combines features from object oriented languages (classes, inheritance, mixins) and functional […]

continue reading The Scala Experiment

SUN open sources Java

SUN licenses Java SE, Java ME and Java EE implementations under GPL v2. For more info: sun.com: SUN opens Java Tim Bray: Java Is Free Peter Ahé: The Compiler is Open Sourced InfoQ: Sun open sources Java SE, ME, and Glassfish under GPLv2 OpenJDK @ java.net

continue reading SUN open sources Java

Thinking in Code

Bruce Eckel has a podcast with 12 interviews of various software luminaries. All the interviews took place in 2003 but Eckel only recently released them. You can find interviews of Anders Hejlsberg, Guido Van Rossum, Joshua Bloch, Martin Fowler, Ron Jeffries and others.

continue reading Thinking in Code

Using java.util.Date values in Spring bean definitions

In a Spring bean definition you can set value properties to a bean by using the value attribute in the property element. For example below I set the value of the firstName property of a bean with id spiros of type com.tzavelas.beans.Person to Spiros. <bean id=”spiros” class=”com.tzavellas.beans.Person”> <property name=”firstName” value=”Spiros”/> </bean> In Spring XML, by […]

continue reading Using java.util.Date values in Spring bean definitions

Testing Spring AOP code

In Using the Spring AOP Framework with EJB Components, Eugene Kuleshov presents a really nice way to test Spring AOP configuration code and advices. When you use Spring AOP use can easily test your target objects with unit tests, but how do you test the weaved code? In the above article Eugene Kuleshov uses unit […]

continue reading Testing Spring AOP code