Nov
28
2005
2

Spring 1.3 featuring IntelliBean

It seems that Spring 1.3 is going to contain a lot of cool new features. One of those is a pretty small addition increasing the quality of the error messages Spring displays when you have typos in your XML configuration files. Last week Arjen and me added so-called IntelliBean support, using an edit distance algorithm. From now on, you will get suggestions when you mistype the name of a property in your XML file(s). Exceptions from now on will look like this, considering the example given below.

org.springframework.beans.NotWritablePropertyException: Invalid property ‘nam’ of bean class [org.springframework.test.MyBean]: Bean property ‘nam’ is not writable or has an invalid setter method.
Did you mean ‘name’, or ‘names’?

# MyBean.java
public class MyBean {
  public void setName(String name)  { ... }
  public void setNames(String[] names)  { ... }
}
 
<bean class="org.springframework.test.MyBean">
  <property name="nam" value="Alef"/>
</bean>

You can expect other significant features to be added to the 1.3 release as well.

Written by Alef in: Java-related, Spring |
Nov
13
2005
2

Amsterdam Java Meetup – recap

So last Friday we had the first official installment of the Amsterdam Java Meetup. It was nothing really fancy, just a bar in the centre of Amsterdam filled with Java people. There were about 30 to 35 guys, 10 or 15 of which I didn’t meet before, which was nice. The place we went to closes up at about 10 and after that I had dinner with a couple of people.

I hope everybody enjoyed themselves. I did and some other guys I spoke to as well, so I think it definitely worth doing this again. If we’d do this ever quarter, the next meeting should be held somewhere in February.

Keep your eyes on this blog, I’ll try to announce it a bit earlier this time, so more people can reschedule other commitments :) .

Written by Alef in: Other |

Powered by WordPress | Theme: Aeros 2.0 by TheBuckmaker.com