Saturday, May 05, 2007

Where does organic food come from?

For quite some time now, we're getting each week a box delivered that contains organically grown fruit and vegetables. Our supplier is a company called Laisacker from about 30km outside of Stuttgart.
A nice thing about the box is that they put each week fruits and veggies from the current season in, which might be items that we would not buy ourselves, but which will always taste very well :) Laiseacker is growing much of the stuff themselves or buying it at regional partners. In total that organically grown food tastes very good.

Yesterday we made an excurison to the company, as they invited their customers to have a peek. For children there have been various stations to play or to get face painted. The adults could drink a coffe and look at how the boxes are packaged.

SVG resources

Holger and Juliane have a cool repository of SVG related resources, nice drawings in svg and (gui) components done in XML, XSLT and SVG. Among those are e.g. Login-Boxes rendered in SVG or various versions of bar charts processed in SVG.
All this is available at www.treebuilder.de.
Note that for visiting the site, you need a browser that is svg capable like Firefox or a SVG plugin for the browser (as for Apple Safari).

Thursday, May 03, 2007

DTD2SVG reloaded

In a past article I wrote about drawing DTDs in SVG in order to convert them to PDF later.
Recently I found some time to work on this matter again (actually I got inspried to do so as I saw that Batik and FOP are making some progress as well). The code is still somewhat *ehm* ugly, but I think the result is already not bad:


I plan on releasing the code in the open source in the next few weeks, so one can use and adopt it to its own needs. Also one of the more interesting features would be to allow for parsing of XML Schema as well.

Sunday, April 29, 2007

Sleepless in Stuttgart - the first month

Marlene is now one month old. She and her mom are all right. Nights are as expected 'shorter' than before. Currently Marlene wakes up every two hours and wants to drink. But intervals are starting to get longer.
Also during the day she wants to be close to me or her mom. Luckily we have a baby-sling (see e.g. http://www.didymos.de/english/index_e.htm) so the one looking after her can have both hands free (actually while I a writing this, she is in the baby-sling).
Her older brother Orlando is very excited about his baby sister and likes her very much.
Last wednesday her 3th medical examination ("U3") took place and everything is ok with Marlene.

Stay tuned for another month of "Sleepless in Stuttgart" :-)

Thursday, March 15, 2007

Nice new Red Hat videos

Yesterday Red Hat Entreprise Linux 5 was released. And for this release, Red Hat also produced some nice new videos, that you can now find on YouTube: http://www.youtube.com/results?search_query=red+hat+real+technology+lesson&search=Search. The videos are also available on Red Hat website

Friday, February 16, 2007

Wednesday, February 14, 2007

Eclipse 3.2.1 performance patch

I was recently complaining that Eclipse is taking a nap after a right-click before displaying the context menu.
When looking for an updated Findbugs plugin the update manager also offered me an update called
"Eclipse Java Development Tools 3.2.1 performance patch (bug: 159325) 1.0.0", which is related to the this bug :
https://bugs.eclipse.org/bugs/show_bug.cgi?id=159325
After installing the Patch, the context menu appears again directly after a right click without any nap.
So this was no problem with the Mac or the Apple VM, but with Eclipse which I only never saw before in Win* times as I was not using such a big workspace together with Eclipse 3.2.1.
According to the bug notes, this is also fixed in 3.3.M2 and - as I understand it - an upcoming 3.2.2 maintenance release.

Timestamp comparision oddities

Yesterday a colleague of mine ran into a problem where code like this produced a ClassCastException:

.. av.getEndTime().compareTo(someDate);

av is a domain class in JPA with endTime like this

@Temporal(TemporalType.TIMESTAMP)
java.util.Date endTime

and someDate being a java.util.Date.

This just worked on my Mac, but failed for one colleague, while others had no problem.
Looking under the covers turned out that av.getEndTime() actually returned a java.sql.Timestamp, which in java versions between 1.5.0_00 and 1.5.0_06 (including) were suposed to throw a CCE when the argument of compareTo() is a Date. Interstingly before() and after(), which also compare, did not have this restriction.
In Java Version 1.4.x the CCE was also not present and SUN seems to have it changed back to the original behaviour in 1.5.0_07. Unfortunately the manual page was not updated, adding to the confusion.
This blog entry also talks about this problem. Sun has a list of page about incompatibilities where this problem is listed. Unfortunately, the original bug report is not accessible (to me).

Some people argue that one should write own comparators, but I think it is easier to update to a newer version of the JDK. Of course if the software gets shipped to customers, one needs to make sure the customer also has 1.5.0_07 at least.

Tuesday, February 13, 2007

Elvis^Wmarcf has left the building

Now it is official. Marc Fleury, founder of JBoss has retired from his position as SVP JBoss division at Red Hat. Many suspected this when he started to take his paternity leave. There are numerous posts around this like e.g. from Sacha Labourey.

I think it is a pitty, as Marc was a brilliant visionaire. I will aways remember when I was at the Advance Training in Paris in 2003. Juha and Adrian were teaching about various aspects (no pun intended) of the system (it was ealy 3.2 time) when Marc was coming into the room, watching the two for a minute and then running to the front of the room, saying "Forget all the bullshit - now we're doing it the AOP way". And then he started to draw on the flip chart his ideas about interceptors, applying pointcuts etc. Many students in the course have been very irritated, but for me this was really great stuff.

As I am a dad myself I can very well undertand that Marc is now taking care of his kids and his other interests. Some have even seen him as DJ Red Baron. And if you want to know what Marf is up to, you can visit his blog, where he can now freely comment on various things. Also something that he couldn't really do as founder of JBoss or SVP at Red Hat.

Marc, I wish you well - hope we meet again.

Saturday, February 10, 2007

A totally subjective comparision of Eclipse 3.2.1 and IDEA 6.0.4

As most of the project I am working on are using IntelliJ IDEA, I thought to give it a try as well. This was not easy, as I am a long term Eclipse and derivates (Rational XDE) user. But on my MacBook, Eclipse is often taking naps when e.g. right clicking in the navigator or package view. I find this behaviour very annoying. And yes, I already have 2GB Ram in the box and I am giving Eclise half a gig for the heap, which doesn't need according to this memory usage bar. IntelliJ just feels much snappier.
This are the differences I found so far:

Eclipse:

  • Better problem view. It shows all errors in the project if I e.g. break a method signature
  • Only one version of Ctrl-Space for autocomplete. I don't want to remember if I need to press alt-ctrl-space or shift-ctrl-space etc. for a given situation
  • Many more plugins
  • Plugins and features are often based on other huge features (e.g. EMF)
  • More than one main window. This is cool when you e.g. are working on transitioning a project from EJB2 to EJB3 or spring. On one monitor you have an Eclipse window with the old code and on the other monitor you have the new code. And on both monitors you can use Overview-view or Package explorer for the class just shown. It also helps when you just want to see a referenced class for the code you are working on. Splitting the window in more tab groups isn't the same.
  • Quick-fixes seem to do a better work for my typos


IDEA:

  • Changelists are an extremely cool feature if you are working at different parts of the project you don't want to commit together
  • Snappier than Eclipse (probably because it does no incremental compilation of the entire code base)
  • cmd-D in Changes View is very handy to see what one has done to a file.
  • Much better code smell detection.
  • Nicer UI look and feel (native Mac, I am not talking about some Motif styles etc.
  • Commit dialog is better arranged (probably due to the changelists). But the "show me the last commit messages" is hidden (cmd-m)
  • If one is programming in an EJB-2 project, Idea is able to follow calls into EJBs, as it knows through ejb-jar.xml which interface classes belong to which EJB. This is extremly helpful. It seems that there is a plugin for Eclipse that can do this as well.
  • The "Scope: Problem" view doesn't really work for me. Probably because IDEA does no incremental compile of the sources. If I change a class in the domain (remove a method) then classes in the GUI that access this method are not displayed as having an error until I open them. Eclipse shows me the GUI-classes directly upon save of the domain class.
  • Struts support is nice
  • Editors for HTML and other 'Web technologies' are better than what you find in a plain eclipse (one can download the WTP stuff to get this as well)


The comparision ends 0:0. If both were free then I'd just change around all the time. Using IDEA for hacking and Eclipse to find errors in the code

What do you think? And yes, there is also NetBeans. But this is not used in our project and I don't want to go through the process of setting up the project structure in it.

EJB3 alpha feature from IBM / Bea compliant

While in the past big blue was not too enthusiastic about EJB3, they now have an alpha version of EJB 3 support online.
It only works with WAS 6.1, but neverthless.

This means that EJB3 support is very widthspread now so that it will definitively become a widely accepted standard.
It is also interesting that vendors that haven't really been on the early adopters radar like SAP have one of the first certified implementations.
[update]
Bea announced that they are now also Java EE 5 compliant. See the post on TheServerSide.com. So Java EE and EJB 3 support by the big vendors is now also coming along. As many others I think this is a good thing even if I would have liked JBossAS to be the first.

Monday, February 05, 2007

Amazon finally has it - or not?

After I have my first copy of the EJB3 book since the 23th and I got my box of author copies, even Amazon now lists it as available :)
Man what a tough time waiting :-)

Another look at the Amazon page and it is listed as non available again. This sucks *sigh*

Tuesday, January 23, 2007

Yippie!

I just got a copy of my EJB3 book in my mailbox. It is again a great feeling to actually have the printed copy in the hands.
One can get sort of a feeling when one print it out on the laser printer, but having the real book is still different.

Amazon still shows it as unavailable, but this should change within the next few days. All those who preordered a copy will also soon get it.

I still need to add a few things to the accompanying web page, but I'll do this in the next few days.

Here is a picture with my copy:




Technorati:

Star imports

When pepole asked me why star imports are bad, I didn't really know what to answer. Usually I was talking about parsing time and so.
And actually IDEs like Eclipse or IntelliJ even offer to reorganize individual imports into star imports (I think IntelliJ does this as default).

Today I was doing a bigger refactoring and was moving packages around.
Eclipse is doing a really good job here.

Unfortunately I was getting compile errors afterwards, because the old packages did no longer exist.
The reason behind this is that a refactoring is a textual replacement and not a semantical. Example:

import foo.*;

public class Bar {
Foo f;
}

Now you move foo.Foo to baz.Foo. Eclipse adds the new import baz.Foo statement, but does not remove
foo.*, as is does basically not know that foo.* no longer exists (it could analyze all statements in the class and
automatically remove unused imports afterwards though).

Monday, January 15, 2007

EJB 3 book, talklets at Stuttgart Java User Group

My EJB 3 book will probably be in stores starting on 26th of this month.

Within the next month, the Java User Group Stuttgart will host two EJB 3 talklets

  • 25.1.06: Sun evening - presentations about Java SE 6 and EJB 3.0 from a Sun computers perspective.
  • 15.2.06: Broader look into EJB 3 - presentation about EJB 3, existing Appserver and some tips and tricks on using EJB 3

As usual, everyone is invited to join those sessions.


Technorati:

Tuesday, January 09, 2007

Using a printer on the mac from Windows

Recently I was struggling with printing from Win*. Samba was set up nicely, but Win users were not able to print. I tried lots of different things, but no success.
Googling around brought me to http://members.cox.net/18james/osx_printer_sharing.html#ipp
Especially the section about IPP near the bottom was very helpful. With it I was able to configure the Win machines within a few seconds.
As all newer Win* version support this, I'd say this is the recommended way to print from Win* on a printer attached to a Mac.

Tuesday, January 02, 2007

Samsonite suitcases can break

Do you remember when you first found out that your dad does not know everything or that Santa Claus does not exist?
I hat the same experience when returning from my trip to Philly and saw that two out of three Samsonite suitcases had cracks on the side as you can see here and here.

Unfortunately those suitcases can not be reparied as it seems that single parts are no longer available and the cost of the repair would be higher than that of new suitcases.

Tuesday, December 05, 2006

EJB 3 book in typesetting phase

It's nearly done .. last night I finished to work in the results of the spell checking.
Now the book is in the typesetting phase after which it will go to the printer.
Expect it to be in a store near you end of January / start of February.

*smile*

Thursday, November 23, 2006

Final cover of my EJB-3-book online

As I wrote before, the final draft of my book is at dpunkt.
They now also have the final cover design online. Unfortunately, Amazon is no yet this fast as you can see here

JBoss World Berlin

I had the luck to be in Berlin at JBossWorld for the last three days. This was a great event. I met many of my colleagues. The party at the eWerk was great and everyone enjoyed the event. The only downside was that I was not able to stay a little longer in Berlin for sightseeing purposes.
There is already some coverage of this event on the net, so I don't duplicate that, but merely link to it:

Friday, November 17, 2006

Parallel desktop for Mac, MacBook and special characters

Parallels Desktop for Mac is a great piece of software. You can run every other operating system for i386 architecture (yes includig vista).
On the MacBook, you usually have no external keyboard with a right alt key, so special characters such as
@, \, |, { , } , ... are on a MacBook with a German keyboard not usable on Rev 1970.
The following steps provided by Parallels support (extremly fast answer) allow you to map the
right enter key (of the emulated numeric keyboard) which sits between space and cursor-left to
AltGr like on ordinary pc keyboards.

  1. Stop any running VMs, close all instances of Parallels Desktop for Mac.
  2. Launch ?Macintosh HD? - ?Applications? ? ?Utilities? ? ?Terminal?.
  3. Type the following commands in Terminal, please mind that the system might ask you for the Administrator password after each command ? type it and hit Enter:
  4. sudo touch /Library/Parallels/.keyboard_config
  5. sudo chmod 666 /Library/Parallels/.keyboard_config
  6. sudo echo "numenterisaltgr" > /Library/Parallels/.keyboard_config
  7. Close the Terminal.
  8. Launch Parallels Desktop for Mac and check Right Enter key behavior in VM ? everything should work as you?ve set.

After this you might reach @ on AltGr+q (German PC keyboard) with AltGr being mapped on this additonal enter key.

A feature version of Parallels Desktop might include a Preferences option to select this behaviour directly in the application.
Thanks again to Parallels support for this fast solution.

Wednesday, November 15, 2006

Final draft of my ejb3 book at the publisher

I just sent the final draft of my book to the publisher.
Next steps are professional spell checking, type setting and printing. So I expect it to be in stores end on January 2007.
Stay tuned :)

Wednesday, September 20, 2006

A few helpful java links

Java SE 5 has introduced Annotations, amongst other @SuppressWarnings. This posting on an Eclipse mailing list shows possible values for it.

Joseph Mocker from Sun has collected all the (hidden) options of the Sun Java VM.
Sun has an official page on hotspot VM options as well.

The list of options for the Mac OS X java vm are desribed in the Apple developer resources.

Friday, August 18, 2006

Draft of my next book is at the publisher [updated]

I just submitted the draft of my upcoming next book to the publisher to start the review process.
You might wonder what it is about. Well it is about EJB 3.0 and targeted at readers who are already familiar with EJB 2.x and want to know the changes without repeatedly reading things that they already know about.
As there is no final title or cover etc, I can't give them at the moment. Stay tuned, as I will post some more later on.

Dpunkt.verlag is again my publisher, so you might also check out their page about upcoming titles for the anouncement and a link to the final page.

[Update]: Dpunkt has the book description (with the non-final cover) now online

Friday, August 11, 2006

How to outsmart lazy loading

A customer recently had a problem with his O/R mapping framework(*) that all relations between objects/classes were marked to be loaded lazily. Despite this setting, loading a class (either by direct access or via HQL) caused all related classes to be loaded and their related ones as well until the whole graph of attached objects was in memory. The trace of the generated SQL clearly showed this behaviour without any explanation.

Looking at the mapping files, the queries or the java code for the relations brought not explanation. Also the startup of the mapper did not show any errors. The customer even implemented equals() and hashCode().

After having a closer look at the later two methods, the problem came clear: Hibernate did in deed only load the starting class and not the relations (initially). But when putting the entity into the Session, Hibernate has to call equals() or hashcode() for its internal maps. Those two methods now have been implemented my using (amongst other) some relation fields. So in order to compute the hashCode(), the relation had to be loaded (which in turn loaded the next relations, as the hashCode() method on the other classes were implemented in a similar manner).
So actually Hibernate worked as designed :-)

The use of collections within hashCode()/equals() is problematic anyway: a Map uses it to determine the location of the entry. If the hashcode changes this location is no longer correct, which will lead to strange problems.

As a summary: don't only be careful with externally generated primary keys within equals() and hashCode(), but also with using collections.


(*) Actually this was with Hibernate, but the problem can also arise with JDO, JPA etc.

Tuesday, July 04, 2006

Wednesday, June 28, 2006

Importing Thunderbird mails in Microsoft Outlook and Outlook Express

It might sound strange, but sometime it is necessary to migrate from Thunderbird to Outlook.

Robert Ploschek explains in his blog how this can be done:

Robert Peloschek aka Unic0der: Importing Mozilla Thunderbird mails in Microsoft Outlook and Outlook Express

This actually works, but is somewhat cumbersome.

I guess if one has access to an imap server, it is easier to move everything onto the imap account and pull it over to outlook from there.

Saturday, May 27, 2006

[mac] OmniGraffle - Diagram successor?

Some of you probably remember the drawing software Diagram on the NeXT computer. Years ago I used that to draw all the graphics for my diploma thesis. Since then I have never found such a good drawing program. Now I stumbled over
OmniGraffle and it looks like this is the successor of diagram. I downloaded the professional version to try it out and the very first steps already look familiar. When you add a few shapes on screen, it just looks good. PDF export works also like a charm and it has a SVG export as well. The latter two are very important for me, as I want the best quality of the drawings when writing a book or an article.

So if you need a drawing program on the mac you should check out OmniGraffle - this is definitively a good option.

Sunday, May 21, 2006

2 cache presentations upcoming at SIG-JBoss

SIG-JBoss of Java User Group Stuttgart will soon have two presentations about caching technologies:
19. Juni, Cameron Purdy: Distributed Caching ... Lessons Learned
13. Juli, Bela Ban: JBossCache

Both presentations will start at 6:30pm and will be hosted at the
VRS building at Kronenstr. 25, Stuttgart.

There will be separate invitations to those events, but: keep an open slot for them in your calendar.

JAVA:JAVA-CAMP2006 - Rootserver

A few guys from Sachsen-Anhalt are doing a Java-Bootcamp.
Check out their webpage.

This sucks

Andy writes in his blog that the mentionned webmail client doesn't suck.
But then
- it is written in Flash!
- is is written in a version of Flash that Andy can not even use on his Linux computer.

I don't get it...

Thursday, May 04, 2006

JBoss 4.0.x plugin for Eclipse WTP [updated]

The Eclipse WTP 1.0 only has a server definition for JBoss 3.2.3 which is quite old (3.2.x is at x=8.sp1 and 4.0.x is at x=4).
The webseite at the following link gives an explanation on how to build a definition for 3.2.5
How to build a JBOSS 3.2.5 Server Definition for Eclipse Web Tools Platform
If you want a definition for 4.0.x, you can just follow the document - it is quite detailed.
I have also provided a org.eclipse.jst.server.generic.serverdefinitions_1.0.0.zip that contains a definition for 4.0.3sp1 as well.

Don't forget to run eclipse -clean or you won't see the fruit of your work.
[Update]
The config is still not yet complete. There are a few libraries missing that are needed for starting the server from within eclipse.
When those are included, there is still a problem with parsing of login-config.xml

org.jboss.security.auth.login.ParseException: Encountered "Was expecting one of:
<EOF>
<IDENTIFIER> ...


As the server starts nicely standalone, this seems to be a eclipse related problem.

Tuesday, May 02, 2006

Hacking JBoss snmp-adaptor

I'v been hacking JBoss snmp-adaptor in the last few days, providing support for
get and set operations. The code currently is only available in cvs head, as it still needs some tweaking. Dimitris set up a forum to discuss the adaptor and a possible mib. Please contribute to the discussion. Tell me / us your needs.

Thursday, April 13, 2006

JBossXB - X/O-Mapping made easy

JBossXB is part of the JBoss application server, but will also be used in other projects. As far as I understand, it will be moved to a "common" paltform, so that it can be used separately. Currently you can find it in jboss-common-client.jar.

If you have a simple structure like
<list-of-foo>
<foo>
<bar>
<baz>
</foo>
<foo>
...
</list-of-foo>

You basically need a POJO for <foo> and a few lines of code to get things parsed into a list with all Foo-objects.

Alexey has quite some documenation on the wiki page for it.

Monday, April 10, 2006

Is it still April 1st?

Wow, I am confused by the announcement that RedHat is buying JBoss. Does anyone have a clue what this means (other that some VCs get a good bonus on their invested money)?

Sunday, February 26, 2006

Two day course at FHT Esslingen

On March 7th and 8th I'll give a two day course at the University of Applied Science Esslingen (FH Esslingen). Title is "J2EE mit JBoss".
Planned agenda is:

  • Software layers and views on them
  • Architektur JBoss
  • Install, Directories and files
  • Lab 1
  • Services of a J2EE-Server
  • Lab 2
  • Intro into EJB 3
  • Lab 3

Monday, February 20, 2006

Outdated/incorrect docu is worse than no documentation

I was struggling with this How to use JDBC and transactions in Tomcat with JOTM. JOTM was always throwing java:comp away after the first request (the first lookup went through nicely). Thanks to a bug report from Matt Raible, I found out that carol now needs more options in the property file:

carol.protocols=jrmp

# do not use CAROL JNDI wrapper
carol.start.jndi=false

# do not start a name server
carol.start.ns=false

# use the apache naming factory
carol.jndi.java.naming.factory.url.pkgs=org.apache.naming


While browsing more tracker items, more and more things come clear.
Please: update the documentation if you make such big changes in a project. Wrong documentation is worse than none.

Saturday, January 28, 2006

EJB3 session visibility

EJB3 started with the claim to reduce the artefacts needed to program with EJBs. Unfortunately if you want to expose a SessionBean locally *and* remotely, you start to either list all business methods in a POJI for the local interface and the same again in an interface for the remote view. If you update the session bean class by a new method, you need to remember to update both interface files (this calls again for generators like Xdoclet ...)

Another variant to acheive the same result is by using the following view pattern:



In this case you only list the business methods in the "Business" interface. IRemote and ILocal are only marker interfaces that just extend the "Business" interface and which carry the respective annotation:


package foo;

import javax.ejb.Local;

@Local
public interface ILocal extends Business {
// empty
}


This way extending the session bean by new methods just means to update one additional file. Unfortunately this yields again four artefacts for this task, which is far from simple.

Are there better ways to do this?

Tuesday, January 24, 2006

LaTeX on Rail

Ever wondered how to graphically represent EBNF?

There are some packages out there that can produce so called Railroad diagrams.

Phillips has a package called Elegant (you can see some examples in this document)

Then there is LaTeX-style rail.sty online, where the results are quite ok as well (the png image is scaled to 600pt in width, so the real quality is better) :



So, how does one read the diagram? For the start form left to right :-) Words in rounded boxes are terminals (i.e. words that you put literally in your code) Words in normal boxes are non-terminals that refer to other diagrams. A construct like in the start with "AVG", "MAX", ... is a switch statement, where you can choose one ot the options. You will see that above "DISTINCT" is a line without a box. This means that "DISTINCT" is optional.
And this is basically all about reading those diagrams.

Unfortunately, this package does not directly know about the 'ususal' EBNF syntax ( AggreagateExpression ::= ....), but uses its own, which looks like the following for the above example


AggregateExpression : ("AVG" |"MAX" |"MIN" |"SUM")
(
(
'DISTINCT' ? StateFieldPathExpression
) | 'COUNT'
(
'DISTINCT' ? IdentificationVariable
| StateFieldPathExpression
| SingleValuedAssociationPathExpression
)
)
;


Perhaps I am going to write some translator between the formats in Perl ...

Thursday, January 12, 2006

Tuesday, January 03, 2006

Presentation at Hochschule Heilbronn

On 25th of january I will give a presentation at Hochschule Heilbronn. From their website:
Heiko W. Rupp, Autor des ersten deutschsprachigen JBoss-Buches, wird einen Gastvortrag bei uns halten. Thema seines Vortrages im Studiengang Software Engineering: Die interne Architektur von JBoss.
Start 25-01-2006 14:00
End 25-01-2006 15:30
Where A311 - Hochschule Heilbronn

Tuesday, December 27, 2005

I just left project Xdoclet

I just left project Xdoclet. The basic reason for this is that I just lack the time to contribute any more to this. I try to update my JBoss book, write a new book (this is still a secret :-) and I also have to take care some more of my son, who currently is in a somewhat exhausting age. And then I have a day job as well.
In fact I did not contribute anything to the project within the last half year. Also from current employments etc. the need for Xdoclet is somewhat vanishing with with the new Java 5 annotations.
I still think Xdoclet is a very fine thing and it did help me a lot in the past.
So everyone still involved with it: keep up the good work.

Wednesday, December 21, 2005

Thursday, November 24, 2005

iX-Conference on Better Software is over

I spent the last two days on the iX-conference on better software in cologne.
This conference had a different target audience than W-Jax where I have been last week.
Two highlights definitively have been the keynotes by Tom de Marco and Nilaus Wirth. De Marco was talking about why some companies are faster than others. Reasons are (amongst others) meetings that are held like ceremonies, intra company email spam or presentations that convey no information at all. He also identified the addiction to status reports as one of the retarding factors. All in all a very good presentation.
Niklaus Wirth, who became professor of computer science a year before I was even born, gave a retrospective of that time and about some values that have been lost. He clearly indicated that a (very) good formation is one of the ways to better sofware.

I my self had the luck to talk about tools that can help building better software, why this fails and what you can do about it. My boss was giving a talk about agile quality management and AspectQ.

One of the results of the many presentations is for me that the human factor is getting more and more important.

Nearly all tracks of the conference have been of high quality. Also the catering was good this time as oposed to last week. I am definitively looking forward to the next iX-Conference.

Wednesday, November 16, 2005

W-Jax is over

I've been the last two days at W-Jax conference in Munich. I only took a few sessions as I did quite some talking with conference participants. Overall it was quite interesting and I am sure that I will go to one of the next (W-)Jax conferences as well. In fact I just submitted some proposals for sessions on upcoming Jax in May 2006.

The sessions I participated in were

- EJB 3.0 by Oliver Ihns. At least parts of the presentation seemed to be based on the early draft and not of the public review version. So this might be confusing to some listeners.
- News in JBoss 5 (my own presentation)
- a few keynotes. In one of those, given by a tool vendor, there was the comparision between the software industry and the car industry with its assembly lines. 'd say, that this part of the development process has been solved in it as well. It just means putting software on cd and putting the cd into a nice little card box.
- a session on "why developers can't listen and domain guys can't develop" by two OOse gyus. This was a very good presentation about the needed soft skills in projets. Many projects don't fail because of technical reasons but e.g. because the developer is running in short through a bank where everyone is wearing a suit.
- (partially) in model driven software development by Markus Völter. Markus really has a clue about how to give good presentations. Also the content was very interesting. Unfortunately I had to run off to meet a client offsite.
- "How reliably is WS-reliability" by Marcel Tilly of Innoq. Well, this was hard stuff, but nevertheless interesting. The baseline was that if you want to use an upcoming standard in webservices, use it only if it is supported by IBM and/or Microsoft.

In total the atmosphere of the conference was good and there were intersting sessions and good food :-) The only real bad thing was that the hotel where the conference took place was not able to provide enough stuff to drink. And we are not talking about alcoholic beverages, but about soda water and coke etc.

Sunday, November 13, 2005

Friday, November 11, 2005

Upcoming speaking engagements

Hi,
I'll give presentations

Wednesday, October 26, 2005

JSE 5 and UML

As Java EE 5.0 is upcoming and Java SE 5 even out for quite some while, I was looking into UML-Tools that would help in reverse engineering those new language features as well. Older Tools from the Pre JSE 5 aera just insist that annotations and generics are errors :)
So I came over Omondo EclipseUML This is nicely integrated into Eclipse 3.1 and builds on GEF and EMF.
And best of all: it is able to export UML-Diagrams as SVG! This is something the good old Together6 was able to do and which Rose and XDE were not able to.

So if you 're looking into UML and Java SE 5, you really should have a look at Omondo EclipseUML

Friday, September 23, 2005

Introduction to JBoss Seam

JBoss guys - as I understand mostly Gavin King and Thomas Heute have written an Introduction to JBoss Seam. From a first glance at it this is a real neat document.
It looks like JBoss Seam has a good future to become a de facto standard for webapp development.

The funny part about JBoss Seam is that with it, there will be no more seamless development and integration. Nice marketing trick. Hey, who hat the idea to this name?

Wednesday, September 14, 2005

iPod dropout killer

Lately after the Stuttgart-Lauf, I started again with jogging. I thought that it might be a good idea to have my iPod with me. I had it in my trouser pocket on the backside, as I don't like carrying things in my hand when jogging. After about half an hour, the iPod had some drop-outs which led it into a state where a soft reset was needed or a soft reset did no help and I had to wait until home to plug it into the power supply to do a hard reset.
Since then I bought a sports wrap to attach the iPod to my upper arm. Since I have the sports wrap, I had no more drop-outs on the iPod.
Of course, the iPod shuffle and iPod nano don't need this as they flash based and do not need to access a hard disk to load the songs into memory.

Thursday, September 01, 2005

JBoss rock solid under load

In the last days, I was able to run some syntetical load tests on a Sparc V490 with 4 dual-core cpus, having 16GB or RAM and running Solaris 9. As the target system will be JBoss 3.2.6, we tested against this one.

Tests were conducted with JDK 1.4 and JDK 5.0, having a separate machine firing http requests at the JBoss.

JBoss was rock solid, even when the test app first had an error, not removing stateful session beans, thus passivating thousands of beans.
As expected, garbage collector settings have a huge impact on the overall performance. With bad settings we were only able to saturate two cpus, while with the right ones we kept all 8 cores busy.

Also JDK 5.0 performs a lot better than JDK 1.4 (which was expected anyway).
We also found out, that top on solaris has a bug, only displaying at most 999 lwp, even if a process has much more of them.

For someone usually only having one to two cpus at his hands, this was a nice occasion to play with a "big iron" (yeah, I know that this still is a small box).

Tuesday, August 23, 2005

Job opportunities @ syngenio

My employer, syngenio AG, currently has several job openings in it four branch offices.
Most offerings are around J2EE but also around Lotus Notes/Domino.
So if you know Java, EJB, JBoss, Websphere, portals etc. then come and join us.

The offerings are described on the job page.

We also have an offering for a student worker to support us in project KOMPASS. This is a research project around service oriented architectures and webservices.

Sunday, August 21, 2005

Webservices in JBoss5

In my book I complained that setting up webservices in JBoss4 (and not only there) is soft of a PITA.

Thomas Diesler recently posted about the new Webservices stack for JBoss.

With JBoss5 from CVS (not yet released as alpha) it really is as simple as Thomas described it. Just put a few JSR-181 annotations in your SessionBean, deploy them and you are done.

Thomas: keep up the good work!

Wednesday, August 17, 2005

Next SIG-JBoss meeting

The next SIG-JBoss meeting will take place on 1st september at Alte Scheuer, Stuttgart-Degerloch. The following link lists the aganda:
Java User Group Stuttgart e.V. - Veranstaltungen

Friday, July 22, 2005

Two days in Nürnberg

The last two days I have been in Nürnberg, doing JBoss consulting for my employer, syngenio.

I have (besides changeing tracks at the main station) never been in Nürnberg before and I am really impressed by their old city centre. Most of it has been rebuilt after WWII, as 90% of it was destroyed in the last months before the end of the war. At the northern end of the city center sits the old emperor castle on the top of a hill. Parts of it are always opened and from up there one has a splendid view on the city centre.
When rebuilding the city, they luckily did not commit too much sins by deconstructing good substance and replacing it by faceless 70th buildings. This propbably is also the reason that you can see many tourists from all over the world.

On the Hauptmarkt there currently is the big football by André Heller. This ball is a marketing instrument for the upcoming soccer world championchips next year in Germany.
The ball is supposed to be shown in twelve German cities until then.
Unfortunately, I can't tell what is in there, as it is only open from 10am to 6pm - business hours :-/

Saturday, July 16, 2005

[svg] Inkscape

Inkscape is another svg drawing program. First impressions are quite good. Actually it is a spin-off from Sodipodi, which tries to be more SVG-centric.
Unfortunately it seems to have the same text placement code as Sodipodi, which results in the same svg as described in an earlier blog entry.

Friday, July 15, 2005

Press release about myself

This press release is probably the first one about myself :-) It has been issued by my new employer, syngenio AG, where I am working on JBoss related things like trainings and consulting. The press release can also be found on the press releases page on the syngenio website.

Saturday, July 02, 2005

syngenio summer event

As some already know, I recently joined syngenio AG in Stuttgart after having left Cellent. At syngenio I will work in areas like JBoss training, consulting and support.

This weekend we had a summer event in Imst, Austria, where all syngenio workers came together. Besides eating, drinking, some workshops and talks by members of the board, the main attraction was rafting of the Inn river, which was organized by Lemming Tours.
This raftig tour took about one and a half hours and took us around 14 km by water. This was great fun. On one side the group feeling and on the other side that one safely made it to the finishing point (there was no danger, but I guess everyone was a little bit afraid, as rafting on wild water isn't really a consultants daily job).
So as summary of the summary: great! :-)

Wednesday, June 29, 2005

Eclipse 3.1 is out -- and unavailable

Eclipse 3.1 finally has been released. So far for the good news.
The bad news is that the eclipse download page is unavailable (no obvious mirrors). Searching through mirrors like the German one at fht-esslingen do not yet have the complete download as they seem to compete with downloaders around the world for the sparse capacity out of the main eclipse download page.
Perhaps the eclipse foundation should have asked the NetBSD guys how they do it. At NetBSD, when a release is finished, it will be published on the ftp server where only mirrors can pick it up. Later (after a day or two) the directory is opened for the whole public. This worked for years now.
Perhaps with eclipse 3.2 ...

Friday, June 24, 2005

1. JUGS SIG JBoss Meeting

Yesterday was the first meeting of the SIG Eclipse within the Java User Group Stuttgart (JUGS).

Thomas Diesler of JBoss, Webservices lead and the person responsible for J2EE 1.4 certification, gave a presentation about the upcoming EJB3 standard and some JBoss specific additions to it (like e.g. Annotations for MBean definitions). He also talked about the upcoming POJO-container that Adrian is currently working on.
After his presentation, we had Pizza, sponsored by Janine Eastwood of JBoss and a Q & A session afterwards.
Later on we talked about the future of the SIG and the interests of the individual SIG members. Next SIG meetings will be on 1.9.2005 and 3.11.2005 again at the Alte Scheuer in Degerloch.
Last but not least there was a vodka tasting organized by the three russian guys from iMedic.

It was a good first meeting with about 50 attendees.

Of course I had a printed copy of my JBoss book with me for attendees to glance at it.

Monday, June 20, 2005

Schumi is our hero.

Now, as Ferrari no longer dominates Formula 1, they can only win when fourteen other drivers just don't start, as (amongst others) reported by La Times in Grand Prix Is Where Rubber Meets Road.
So Michael Schumacher only had to compete against the underpowered teams like Minardi and he was even able to win then.

Lets celebrate Schumi and his victory!


NOT!

Sunday, June 19, 2005

iX-Eclipse-Conference

Tuesday and Wednesday I have been on the iX-Eclipse-Conference in Heidelberg. Besides giving a talk myself on plugin development, I met some nice people, had fun and did learn quite some new things on Eclipse.
Erich Gamma did a keynote presentation on Eclipse 3.1 news. One of the things I remembered, was his description on how the team made sure that Eclipse 3.1 got faster in respect to 3.0. Basically, they set up a series of unit tests, which measured the runtime of some code and compared it to some reference timing (pseudocode):

public void testFoo()
{
startTimer();
runSomeCode();
endTimer();
commitTimingResultToDatabase();
assertFaster();
}

So this fitted in the framework, one is used to.
More important, they did learn a lesson: It is not enough to measure things, but to have someone (e.g. the community) to kick ass if there is too much red in the results.

Tuesday, June 07, 2005

Apple - Intel deal

In addition to my comment at Otaku, Cedric's weblog: What Steve isn't telling us

Universal binaries are available for Mac OS X for the last 10 years. Ok, it was called NeXTStep at that time though :-)
So go and google for 'fat binaries' and 'NeXT' to see what is available.
No one prevents you from supplying an app in three flavours:
- fat
- ppc
- intel

I guess, for Apple this is one of the few ways to survive. With the nice centrino chpisets, even Win* notebooks are not too bad these days. And they are way cheaper anyway.

The porting bit is not too hard if you ever contributed to an OSS like NetBSD. So I beleive that the Mathematica port only took two hours.

I think that Apple just needs some more time to e.g. offer new iBooks that are at least that performant than the average Centrino one, but still consume less energy.

By the way: when do you really need to care about byte ordering anyway? It is mostly only relevant when you want to access hardware directly (i.e. device drivers) or you want to use some assembler code to speed up compilation or when you design a new lower level networking protocol where you want some well known 'on the wire ordering'.
If you just write normal apps in C, Objective C or Java you don't care at all.
And for the other apps it is not that hard as for example NetBSD or mcntp prove.

Sunday, June 05, 2005

Stuttgart-Lauf

Like last year I participated in the Stuttgart-Lauf. This time - again without practicing - I was over two minutes faster on the 7,6km run (which lead to hand measured 44:19).
The event again was great fun, so I will try to participate next year again.

Friday, June 03, 2005

Eclipse plugin versions

While preparing my presentation for the upcoming iX-Eclipse-Conference, I also tried 3.1rc1 and thought to switch my example plugin to Java 5.
There currently is a problem when one of the plugins uses Java 2, the export wizard of eclipse doesn't work (See my comment on bug 84767).
But worse than this: there is no environment option to tell a user "this plugin needs Java 5" (98269). There are options for the OS or the windowing system used though.
So the recommendation is either to use a custom build with the right environment set or to restrict plugins to Java 2/JDK 1.4.

Tuesday, May 31, 2005

Book chapters online

My publisher, dpunkt.verlag has now two chapters of my book online as well as the table of contents. The chapters are

Chapter 2: installation

Chapter 8: AOP

But before checking those out, buy the book and read them there :-)

Friday, May 13, 2005

Why do minor versions have to have radical changes?

Lateley I got mail from a reader of my book saying "I did follow all steps, but the example you provided just doesn't work. Whenever I try to add or search it will bomb." The guy appended the stacktrace saying that this is on JBoss 4.0.2 (which was out a few days earlier) and JDK 5. I asked him to try on JBoss 4.0.1(sp1) and he confirmed that it worked there. Actually it worked from 3.2.3 over 4.0.0 to 4.0.1.

In 4.0.2 the classloading defaults of the web container changed from UseJBossWebloader=true to false, which leads to a class cast exception if the war has the stub classes of the enterprise beans in it, which are also in the ejb.jar.

There are good exmplanations for this change. But still this does not follow the principle of least surprise. End users will be pissed, saying that if they have a bigger app, they can't afford chasing those surprises for weeks until migrating an application to a newer version, which even has valuable fixes for them.

A plea (actually to every developer, not only JBoss-ones): if such radical changes are made in the future, not only mention the issue-tracking number in the change log, but also write two or three sentences about it.

Friday, May 06, 2005

Book release party (updated)

Next Tuesday (10th) there will be a book release party in Stuttgart with cocktails.
Marc even mentioned it in his newsletter:
JBoss Book Offered in German ? Sacha Labourey, European GM of JBoss, will be present at the book launch of Heiko Rupp's JBoss Server-Handbuch für J2EE-Entwickler und Administratoren, 10 May 2005. To purchase this book, please visit http://www.dpunkt.de/buch/3-89864-318-2.html.

The party is hosted by JUGS, the local Java user group in conjunction with bwcon:

The party is free of charge. If you want to join in, please send a registration email to jboss-party-anmeldung@bsd.de

UPDATE!!
The start time is nom 18:30.
See http://www.jugs.org/veranstaltung-10-05-05.html
for details.

Monday, May 02, 2005

Now I am ex-cellent :-)

Friday was my last day at Cellent Finance Solutions. When former Bancotec morphed into Cellent FS, the joke always was that when you leave now, that you are excellent :-)
The former colleagues also provided me a sign of excellence - pictures will follow.

Wednesday, April 27, 2005

It is out!

Today I got the first copy of my JBboss book from the publisher. Really neat.
Within the next days the printing plant will supply more copies to the
distributors and stores, so it will be available until around the start
of next week in stores.
The accompanying web site also has the examples plus some errata online. I plan to also publish some additional material there, which is/will not be in the book.

Sunday, April 17, 2005

2raumwohnung concert

On saturday we have been in the concert of 2raumwohnung. This probably was the first (non-classic) concert together with Elke and definitively the first one since the birth of Orlando.

Thursday, April 14, 2005

iPod, Win XP, USB and Firewire

Recently I moved my iTunes music collection from my business laptop onto my private desktop pc. This pc running XP SP 2 has a USB 2.0 card. The iPod did connect and directly disconnect again. Googling around showed me that a quite some folks had problems, but there was no definite answer to solve the issue.
Yesterday I bought a cheap FireWire card with VIA chipset. Installed it, connected the iPod and it just worked :-)

Monday, April 04, 2005

News from my book (updated)

My JBoss-book is currently in the last steps of being typeset. Expected in-store date is 28th of April (Amazon.de will have it a few days later).
We also changed the subtitle from "Konfiguration und Programmierung" to "Serverhandbuch für J2EE-Entwickler und Administratoren".

Unfortunately, the updated cover does not yet show up at the publisher site or at amazon.

[ update ]

The new cover is now online at the publishers site and looks like this:

Cover German JBoss book by Heiko W. Rupp

Do you see the nice little JBoss-logo on the bottom left?
The book has been reviewd by Thomas Diesler and is officially entitled to have the logo on it. The book also has a preface by Marc Fleury :-)

The book is currently on its way to printing plant and thus will be in stores on 28th of April.

Printserver

Last week I bought a print server (Edimax PS 1205 Um). It has one USB and one ethernet port and fits nicely in my home network. It supports nearly everythign from lpd, over Windows printint to Novell and AppleTalk.
The web based configuration is a bit obscure (I could not figure out how the password fits in all of this), but there is no big need of configuration anyway. As there is a Windows based configuration utility as well, I took the bitter pill of installing this.
The print server can obtain its IP address over bootp, dhcp, rarp and can also server as dhcp server.
From the experience I have with it so far, I can only recommend it.

Wednesday, March 30, 2005

Some monitor resolutions

I was just looking through some sales material ...
XGA = 1024 x 768
WXGA = 1280 x 800
SXGA+ = 1400 x 1050
WXGA+ = 1440 x 900
WSXGA+ = 1680 x 1050
WUXGA = 1920 x 1200

Currently I am working with a SXGA+ Laptop - this is so great when you want to have a look at a double-sided PDF or to compare two PDFs next to each other at a reasonable size.
If it isn't for battery runtime, I'd definitively choose at least WXGA for the next laptop...

Wednesday, March 23, 2005

The Rasterbator

The Rasterbator is a tool to produce large rasterized images from a source like a jpg. It will return a multipage pdf, that you can print out, assemble it and hang it then on your wall.
The website has an online version and there is a standalone version of it as well - very cool!

Sunday, March 20, 2005

XPlanner

At work we currently take an Excel-based approach on development time tracking and for workload estimations. Recently I stumbled over XPlanner, which could be a nice approach to get rid of the Excel sheets and have some centraized statistics and panning help. Looks like this tools needs some follow up.

Thursday, March 17, 2005

JBossMQ, Oracle and IO-Exception (updated)

Lately I got a lot of those when trying to send messages via JBossMQ
java.sql.SQLException: E/A-Exception: Connection reset

After quite some searching around I found a posting that another user had other problems and they went away with the 10g driver. I tried this one with success as well.
The driver is 1352918 bytes in size and named ojdbc14.jar.
[update]
This specific problem that I was having was fixed, but other problems arised using the 10g driver in other areas of our JBoss 3.2.3 + CMP + Hibernate 2.1.6 application. We will investigate this.
So make sure to run extensive tests when changing the jdbc driver.

Tuesday, March 08, 2005

JBoss: Konfguration und Programmierung: preview at CeBit

The nice folks of German JBoss partner Objectone will exhibit a preview version of my book "JBoss - Konfiguration und Programmierung" at CeBit fair. Their stand is 4 B 58.

[update]
Heise Verlag will also have a copy at their stand (5 D 38).

So be sure not to miss it.

Friday, March 04, 2005

Good service example

In the past when shopping at our (best) local hardware dealer Arlt one often had to wait a long time even if one knew what to buy as some f*ckwit was discussing with the clerk if his new computer should be in dark black or real dark black.
Now they have a new service: you can order your stuff at home over internet at their webshop (which is not new) and you can order the stuff to the town local shop. They send you an email when your items are ready and you can go there to pick them up. Now the really good part: they have a separate lane only for those pick ups. This is a real time saver. In the past sometimes you had to wait half an hour for a small cheap item. Now you just go to the counter tell who you are, get the items, pay and your done. Super!

Parcel delivery sometimes sucks

Last Saturday I was expecting a parcel that was posted last Friday and it did not arrive.
You say: hey, that's normal that they don't arrive
But: the parcel was only posted one town away
and: it was posted with express delivery with an additional fee
and: it was posted with "next day delivery" option for an additional fee
and: a parcel from northern Germany posted on Friday did arrive on Saturday
and: this said parcel was even free of charge as the German Post had a "post one parcel for free" day.

The parcel arrived on Monday ...

The reason was that the clerk forgot to select the "also Saturday delivery" option :-(

This just sucks

Monday, February 14, 2005

Mutt, pgp and enigmail

Recently I am getting more and more mails from Mozilla/Thunderbird users that use the enigmail plugin to support digital signature / encryption via pgp/gpg.
Unfortunately, mutt does not flag them as being encrypted / signed by default. With the default settings, it does not even recognize them as pgp mails. I used to pipe those mails to gpg, but when replying, this gets ugly with saving into a temp file, editing this one etc.
The following message hook fixes this (partly):

message-hook '!(~g|~G) ~b"^-----BEGIN\ PGP\ (SIGNED\ )?MESSAGE"' "exec check-traditional-pgp"
If you don't want to use this hook, it is still possible by pressing ESC P to flag those mails as being pgp mails. After this manual signing, mutt will also call pgp to display them.

On the other side: engimal users should set their preferences to use pgp/mime, so that outgoing mails get the right headers. Mutt will then be able to signal them as pgp mails even if the above hook is not used.

Sunday, February 13, 2005

End of Week end

A good weekend is over. After beeing sick for a week, I feel better again.
My book is now at the copy editor and spell checker, so I am confident that it will be in stores in April latest.
I also started to set up a home page for the book at Begleitseite zum Buch: JBoss - Konfiguration und Programmierung where I will put the source code of the examples and also errata.

Sunday, February 06, 2005

The best about Montignac diet

Michel Montignac, a french business man has developed some 20 years ago a new diet basing on just eating the right thing at the right time (this involves knowing the glycemic index of food and of eating the right combinations).
The best thing about that diet is not that it
- actuall works well
- you can eat as much as you want (there is no need to eat less)
- you can even eat chocolate
but
that you can actually go out eating with your colleagues, following the diet rules and nobody will actually find out that you are on a diet. That is much better than those "you are only allowed to eat salad" or "only grapes" diets.

Ticket application filed

Yesterday I filed my the application to participate in the lottery for FIFA soccer world championship 2006. Even as there are six matches here in Stuttgart, I did not intend to go. But my dad asked me if we want to go together, so I field the application.
Now I am waiting what will happen next ...

Blogger profile stats bogus

Blogger.com also shows some statistics and last posts on the "view my complete profile page". This has not been updated since October last year. They should probably better remove those statistics if they don't want to update them.

Wednesday, February 02, 2005

Heise.de has been ddosed

The probably most popular German speaking IT new site has been mostly offline the last two days. www.heise.de has been victim of a distributed denial of service attack.

JOnAS - has passed the J2EE 1.4 CTS.

After JBoss in July 2004, the second open source J2EE server has passed the Sun J2EE 1.4 testsuite:

1st February 2005: JOnAS has passed the J2EE 1.4 CTS

The JOnAS open source application server has successfully passed the Sun J2EE 1.4 Certification Test Suite. The official Sun acknowledgement is expected in the coming days. This is the result of a 9 months effort. The corresponding JOnAS version is 4.3.1, which is first provided as candidate release.

It is interesting that two French entities (Marc Fleury and the Objectweb consortium) dominate the open source J2EE market.

Sunday, January 30, 2005

RSS 2.0 Specification -- why RFC 822 date?

Harvard has the RSS 2.0 Specification online. Lately I was trying to convert atom feeds from blogger into rss with the help of xslt. Everything is relatively easy except the rfc822 date. While the month is easy to convert via

<xsl:value-of select='substring("JanFebMarAprMayJunJulAugSepOctNovDec",$num*3-2, 3)'/>

where $num is the number of the month, starting at 1=Jan, this is not so easy with the day of week. Others obviously have/had the same problem. Mostly this is solved by some xslt processor specific external libraries.
Without the day of week name, the date entry is not valid. Luckily do rss readers like FeedDemon still recognice the feed.

Saturday, January 29, 2005

NetBSD Online Store -- Help Fund NetBSD | CafePress

Finally, NetBSD items are available at CafePress NetBSD Online Store -- Help Fund NetBSD | CafePress and not only at good will from some NetBSD enthusiasts.

Amazon.de finally shows the cover art

Amazon.de finally also shows the cover art of my book Amazon.de: Bücher: JBoss.

It doesn't make a big difference, as the book did not change and the comment stays the same etc., but when you look at the book list, it directly makes a better impression when the cover art is shown as well.

Sunday, January 23, 2005

The power of perl

The LaTeX-style of my publisher has some special definitions for environements. When starting to write my JBoss book, I started to use just the normal LaTeX figure environement. Today I thought that it is time to convert those about 230 occurences of

\begin{figure}
... some text
\caption{bla}
\label{foo} % only sometimes set
\end{figure}

into

\begin{fighere}{always a label}{the caption text}
... some text
\end{fighere}

I decided to take perl for the task. Ok, it took me some time to get into perl again after not having it used for years. But at the end the complete task took me 3 hours.

I am sure, doing it by hand, I would sit there the whole week. The pattern matching ability of perl and the associative arrays just make it a pleasure job.

Monday, January 17, 2005

How many books / items does Amazon have in their catalogue?

Since my JBoss book is listed @ Amazon.de, I am looking at its sales rank. First there was no rank given. Then I ordered a copy and after a while the rank climbed to around 1.400.000. Then I cancelled the copy again and now there is again no rank given.

Does a rank of 1.400.000 for one copy ordered/sold mean that Amazon has around one and a half million articles in their catalogue? Probably they have more, as not ordered items can be found and there are ~ 1.400.000 items that got sold at least once.

Anyone has a clue?

Sunday, January 16, 2005

Finally some time to work on OS again

Now that I am waiting with my JBoss book on an external event, I did not work on it this weekend, but was again able to work on Xdoclet and to help Andy to test the second milestone of JBossMail.
It really feels good to do a little patching here, a little debugging there without someone in your back with a MS project plan tracking your mouse moves.

Tuesday, January 11, 2005

Apple store not reachable

The apple online store is no longe reachable after todays keynote from Steve Jobs at MacWorld expo. It seems that everyone ran out of the store do directly order a new Mac mini :-)

Saturday, January 08, 2005

JBMail back from stasis

Andy Oliver is now back on JBMail, the mailserver project that he started. The first preview that I got in hands wasn't that useful, as it made some wrong assumptions about DNS servers.

In contrary to the last release, this preview is a binary one, including the whole ant 1.6.1 distribution (30 MB unzipped) :-( That at least explains why the package is now so fat.

But after this, the install runs fine if no TLS is used.

Running the mail service is still a little problem for me, as the name resolution doesn't quite work, but here on my Windows box, I am not able to tell if this is a problem with JBMail or Windows itself.

Friday, December 24, 2004

Xmas gift from Amazon

This year, Amazon made me a special gift. Instead of sending yet another coffee mug, they finally listed my JBoss book. Unfortunately, the nice cover graphics that you can see at the publishers page is not yet shown.
I am really looking forward to hold the real printed issues in my hand. Until then there is still some work to do.

Tuesday, December 14, 2004

Busy time

It's now over a month since my last post. I was just too busy to even read the Xdoclet and JBoss mailing list or even work on those projects. We had an important release at work which ate quite some time.

The other day I was asking are fop and batik dead? Meanwhile there is a new Apache subproject Xmlgraphics that seems to be the new umbrella for the new projects. But currently its mostly an empty shell.

With the release at work I am also not able to attend Javapolis conference in Antwerp and am so jealous about all the lucky ones that were ablt to go there.