12 Mai 2008

Even more lecturing

I will start two new courses at the university of applied sciences of Bern this Fall.

One will be database basic course for a MAS in medical technology class and the other is advanced database concepts for a MAS in IT class.

It will be some hard work to prepare but I'm sure to learn a lot of databases for my daily work!

07 April 2008

Again new version of gted

gted 1.3.0 contains two new features:

  • #1848616: Ctrl + Click on references in source editor
  • #1848621: more than one keyword for xgettext
I hope these are usefull!

06 April 2008

gted project rank 192 at SourceForge

Again gted project is a top 200 project at SourceForge!

Today the statistics shows rank 192 for gted.

Thanks a lot for visiting the website and downloading gted.

03 April 2008

gted 1.2.0 released

After two days I released the next version of gted with the following bugfixes:
#1931731: Plural-Form correctly saved
#1844311: All .po files are merged
#1927276: Whitespaces are now untouched

Now all currently know bugs are fixed. If you find some bugs, please let me know!

Java SE 6 ServiceLoader

Today I had a look at the ServiceLoader class in Java SE 6.

The ServiceLoader is a generic factory that can be configured with a simple file located in META-INF/services. The filename must be the full qualified name of the interface and contains a single line with the full qualified name of the implementation ch.simas.impl.MyServiceImpl.

The usage is also very simple:
ServiceLoader loader = ServiceLoader.load(MyService.class);

for (Iterator it = loader.iterator(); it.hasNext();) {
MyService myService = it.next();
}

Try it out!

01 April 2008

gted 1.1.0 released

Today gted 1.1.0 was released.

It contains fixes for these two bugs:
[1889727] no entry if line number is not specified in the .po(t)

[1886392] msgstr not escaped


Thanks to Zoran for his help!
If you have any comments on gted, please let me know!

30 März 2008

qlb project joined!

On Friday I joined Adam Biens qlb project!

qlb is a utility to generate JPQL queries in a more type safe way.
I will use the the experiences made in this project in my JPA courses.

25 März 2008

Quaere == LINQ?

A few weeks ago I discovered LINQ in C# .NET. This is a very nice lean approach to integrate queries into the language. Here's an example:

var emps = from emp in edb.Employees
where emp.name.StartsWith("S")
orderby emp.name
select emp;

foreach (var emp in emps) {
}


Today I found Quaere that seams to be the same:

Iterable groups = from("city").in(cities).
group(
"city").by("city.getContinent()").
into(
"g").select("g");

for (Group group : groups) {
}
Unfortunately it's far from beeing the same, because LINQ in C# is strong typed! emp in the first example is a variable but city in the second is a string!

It needs a lot of integration in the programing language to achieve the functionality of LINQ as it is done in C#.

Maybe Sun will integrate LINQ as well in Java. We'll see ;-)

So the answer of Quaere == LINQ? is FALSE!