Saturday, April 30, 2005

Some thoughts on SWT

Why I choose SWT against Swing
Swing is a well known, already tested option while SWT stands there as a sparkling, brand new toolkit, which has been the building blocks of Eclipse. I always knew that it would be a hard choice.

A nice, brief comparison of SWT and Swing. Well, I guess I gotta check it out some time.

Friday, April 29, 2005

Java Terminology

JavaServer Pages, JDBC, RMI, JDK--Java technology names and acronyms can be confusing for newcomers and experienced developers. This article defines the most common Java terminology in easy-to-scan, alphabetical order, and provides links for more information and downloads. This list is not a complete list of Sun's products for the Java platform, and is subject to change and updates..

Thursday, April 28, 2005

Java Security

Don't wait until runtime to discover that there's a syntax error in java.policy. Use a simple utility to check java.policy at build time to avoid unexpected runtime failures.
rating comment: This article gives a brief overview of the Java security implementation. But it's simply too brief to be really good.

Tuesday, April 26, 2005

Java Extension Mechanism

Java has a huge collection of classes, but many projects need to call upon code outside of core Java, which leads to the question of where to store and how to load this code. Thomas Künneth shows how Java's Extension Mechanism allows you to make new code available to all Java applications.
rating comment: Very interesting article, similar to the "ClassLoaders and Jar Dependencies" article I wrote about last week.

Sunday, April 24, 2005

Test Driven Development

Test-driven development turns traditional software development processes around by promoting writing tests before writing the functional code. Find out what test-driven development is all about and how to effectively use it within a project.
rating comment: Interesting article. It provides a brief, but useful overview of test-driven development!

Bugfix

Heute hab ich endlich mal Zeit gefunden, den Bug in der Suchfunktion zu fixen. Bis heute war es nicht möglich, nach Auswahl einer Kategorie, eine Suchanfrage zu starten. Die Suchanfrage führte zu einer inkorrekten URL. Ich hab die URL der Suchanfrage geändert, und jetzt ist auch eine Suche aus Kategorien möglich.

Saturday, April 23, 2005

Jakarta Commons Lang

Harshad Oak provides an overview of the Jakarta Commons Lang project and shows how the components in this project can simplify and accelerate development.

rating comment: Nice introduction to Jakarta Common's Lang project. The article provides examples of manipulating Strings, handling time and dates, implementing the toString() and compareTo() method.

Wednesday, April 20, 2005

Logging@Google

Google hat eine neue Finesse der Suchmaschine als Betaversion ins Netz gestellt. Mit "Google Search History" kann man nach einer Anmeldung seine Suchabfragen und die Seiten, die aus den Suchergebnissen heraus angeklickt wurden, automatisch speichern, so dass sie zu einem späteren Zeitpunkt wieder aufgerufen werden können.

Mal sehen ob es nützlich ist. Bin bereits fleißig beim Testen!

Tuesday, April 19, 2005

Swing Threading

In this excerpt from SourceBeat's Java Desktop Live, Scott Delap begins by giving you an up-close look at the event dispatch thread (EDT), which is responsible for dispatching events to the appropriate Swing component and for performing the paint operations of Swing components. It doesn't take long for even experienced programmers to lock up the user interface or dramatically slow down the responsiveness of a Swing application. This excerpt takes a close look at the Swing threading model and provides advice and examples for getting the most out of your Swing application.
I haven't read it myself yet, but it seems to be very good. A great reference with a lot of examples.

Saturday, April 16, 2005

Ant Best Practices

Nearly every open source Java project now uses Ant. The widespread use of Ant in these projects has naturally led to an increased need for a set of well-established best practices. Eric M. Burke, coauthor of Java Extreme Programming Cookbook and Ant: The Definitive Guide, offers his 15 best practices for using Ant and for writing well-crafted Ant buildfiles. These tips were inspired by his own mistakes on previous projects, or from horror stories relayed to him from other developers.

rating comment: Nothing new, but a reasonable article.

Thursday, April 14, 2005

ClassLoaders and Jar Dependencies

Use of the Class-Path entry within a JAR file's manifest can help you manage external dependencies--to a point. Once you start using multiple JARs that need incompatible versions of external JARs, problems quickly ensue. As Don Schwarz shows, you can get out of this problem by using your own class loader to manage the dependencies.

rating comment: Great article about java class loading and jar dependencies. I've read a couple of articles about class loading in general, writing your own class loader and class loading in J2EE. This is one of the best articles, cause it provides exactly the information I need, illustrated using a practical approach!

Breaking the Last Dependency

All of the factory patterns "encapsulate" the instantiation of concrete classes and help to minimize (as well as localize) the dependencies your code has on those concrete classes. This articles explains what "breaking the last dependency" means, how it relates to the Factory pattern, and why you should care.

rating comment: Very detailed, step by step illustration of eliminating all dependencies on concrete classes in your code. With a lot of example code, used in this article, it's easy to understand the advantages of using the factory pattern.

Breaking the Last Dependency

All of the factory patterns "encapsulate" the instantiation of concrete classes and help to minimize (as well as localize) the dependencies your code has on those concrete classes. This articles explains what "breaking the last dependency" means, how it relates to the Factory pattern, and why you should care.

rating comment: Very detailed, step by step illustration of eliminating all dependencies on concrete classes in your code. With a lot of example code, used in this article, it's easy to understand the advantages of using the factory pattern.

Wednesday, April 13, 2005

JDO Architectures

In this excerpt from Java Data Objects, authors David Jordan and Craig Russell provide a high-level overview of the architectural aspects of JDO, as well as examples of environments in which JDO can be used.
rating comment: Nice overview of architectures and environments applying JDO.

GMail_de

Google hat dem E-Mail-Dienst Gmail eine deutschsprachige Oberfläche verpasst, so dass sich alle Funktionen und Einstellungen nun auf Wunsch in deutscher Sprache präsentieren. Mit der Lokalisierung von Gmail könnte das Ende des Beta-Tests von Gmail in greifbare Nähe rücken und der Dienst bald für jedermann zur Verfügung stehen.
Leider steht der Spellchecker nur in der englischen Version zur Verfügung, ich hoffe das kommt noch!

Monday, April 11, 2005

Workflow in Spring

Spring is a framework that promotes a relatively new programming paradigm known as Inversion of Control. This article deploys Spring in a more general-purpose role as a simplistic workflow engine. A straightforward investigation into workflow is followed by the presentation of a Spring-based workflow API usable in basic workflow scenarios.
rating comment: Nice article, giving another idea of how to use the Spring framework. It gives a basic introduction to workflow as a programming topic, but most of the article is about implementing a workflow with Spring.

Sunday, April 10, 2005

Wasser marsch!

0_1020_457303_00_1.jpg
In Bangkok laufen die Vorbereitungen für das Songkran-Festival. Das Ereignis läutet das Neue Jahr ein, das am 13. April beginnt. Als Attraktivität dienen Elefanten, mit denen sich die Bevölkerung eine Wasserschlacht liefern kann.

Da sag ich: "Wasser marsch!"

Thursday, April 7, 2005

Wicket

Wicket is a Java web application framework that takes simplicity, separation of concerns and ease of development to a whole new level. Wicket pages can be mocked up, previewed and later revised using standard WYSIWYG HTML design tools. Dynamic content processing and form handling is all handled in Java code using a first-class component model backed by POJO data beans that can easily be persisted using your favourite technology.
Looks like a really cool framework, I'm definitely gonna check it out sometime!

Wednesday, April 6, 2005

CodeZoo

CodeZoo nennt sich der neue Treffpunkt für Software-Entwickler, den der O'Reilly-Verlag aus der Taufe gehoben hat. Ziel der Plattform ist es, den Programmierern viel von der Last des Schreibens einer lauffähigen Anwendung zu nehmen.
Die Idee ist nicht neu, es gibt ja schließlich auch koders.com oder jexamples.com. Allerdings finde ich den Namen CodeZoo echt scharf, naja nicht ganz unpassend...

Tuesday, April 5, 2005

Google-Suche per Satellit

Google bindet ab sofort Satellitenbilder in die lokale Suche sowie in Google Maps ein, so dass man in den USA die Umgebung einer bestimmten Adresse oder eines bestimmten Ortes einsehen kann. Wie von Google Maps bekannt kann man auch in den Satellitenfotos sehr komfortabel navigieren, weil sich der Bildausschnitt nach Belieben verschieben sowie vergrößern oder verkleinern lässt.
Bin froh, dass es den Dienst noch nicht in Deutschland gibt, sonst müsste ich meine Sauerei ums Haus aufräumen! :-)

Monday, April 4, 2005

Annotation-based testing framework

Everyone knows JUnit, the Java unit-testing framework. JUnit has some annoying specificities that make it unsuitable for complex unit testing involving grouping, asynchronous, and parallel testing. This article introduces TestNG, an alternative testing framework targeted at J2SE 5.0.

rating comment: Solid article, very straight forward using a practical approach.

Sunday, April 3, 2005

WP Plugin 'suggest' version 0.5

Today I released a new version of the suggest wordpress plug-in. It contains to minor bug fixes, so nothing big actually! Thank you all for your feedback and your help, especially Marcin Zduniak who pointed out a bug.

The new version is available through bittorrent and my download site!


Friday, April 1, 2005

Google's Plan

Google's Plan to take over the world!

infinity.gif

Google Day

Es gab heute so viele News über Google, dass ich sie nicht alle aufzählen werde. Teilweise ging es um neue Features wie z.B. bei GMail, um neue Services wie z.b. Ride Finder oder es ging um Skurrilitäten wie z.B. Google Gulp.

In den USA hat Google mit Ride Finder einen Taxi-Suchdienst gestartet, der sich in den Dienst Google Local einbindet. Über Google Ride Finder hat man die Möglichkeit, sich in der Nähe befindliche Taxis oder Shuttle-Busse auf einem Stadtplan anzeigen zu lassen.

Auf der Gmail-Startseite läuft derzeit ein Zähler, der anzeigt, wie hoch die derzeit verfügbare Speicherkapazität für alle Gmail-Konten ist. Nach Abschluss der Aufrüstarbeit spendiert Google allen Gmail-Nutzern E-Mail-Postfächer mit einer Kapazität von 2 GByte. Zudem wurde Gmail kürzlich mit einem verbesserten Browser-Support versehen und E-Mails lassen sich nun umfangreich formatieren.

Nachdem Google bereits im Februar 2005 die Google Toolbar 3 als Beta-Version in englischer Sprache angeboten hat, gibt es die Internet-Explorer-Erweiterung nun auch in deutscher Sprache. Die Toolbar verfügt über eine Rechtschreibkorrektur sowie eine automatische Übersetzungsfunktion, die beide in deutscher Sprache verfügbar sind. Außerdem gibt es eine direkte Anbindung an Landkartendienste, um darüber sehr bequem Adressen nachzuschlagen oder anhand von ISBN-Nummern auf die passenden Seiten von Amazon.com zu gelangen.
Weiteres findet sich bei den vielen related Links!