29 Aug
In several projects I have been co-developing, we had a webapp as part of the system, which exposed a webservice API as integration end-point to the system. The sole content of that webapp is the webservice, and as such, the web.xml contained only the mount of the webservice servlet (like CXF or Axis) and not [...]
Posted in Programming by: polesen
No Comments
28 Aug
JavaScript is everywhere. And I nearly missed the boat.
I think it started for real with libraries like prototype and script.aculo.us, and then just accellerated from there on into Dojo, MooTools and jQuery. And last, Google published the AJAX Libraries API, to ease loading of JavaScript libraries into your application.
All the cool web applications on the [...]
Posted in Programming by: polesen
5 Comments
28 Aug
At least for the application developer.
Back in the days of Java1, two cool parts of this new platform was the threading apis and the JDBC apis. These APIs have both had immense success. But I think we, as application developers, should forget about them. I know I mostly have.
There are good reasons, that these apis [...]
Posted in Design, Programming by: polesen
14 Comments
27 Aug
A long time ago, I read the first Effective Java book by Joshua Bloch, and, as many others, I loved it. Great book! Not long ago, Joshua Bloch finished a revised second edition of Effective Java, and I just finished reading it.
When I ordered the book, I was unsure if it would be a waste [...]
Posted in Uncategorized by: polesen
1 Comment
25 Aug
The Sun Java applet plugin will cache applets outside the browser cache, in its own cache directory. Clearing the cache in the browser will not clear the applet cache, which can be irritating when you need to be sure, that a fresh copy of a given applet is loaded.
What you need to do, is clear [...]
Posted in Operating Systems by: polesen
No Comments
24 Aug
More often than not, my projects end up as multi-module maven builds, with a top-level pom.xml in the trunk directory and sub pom.xml files in each module. For big projects, I even end up with more that two levels of POM inheritance. All this adds up to how many pom.xml files the project contains, and [...]
Posted in Tools by: polesen
3 Comments
22 Aug
So, it seems JavaFX isn’t dead yet after all.
Now that Sun has released a preview SDK of JavaFX over at javafx.com, they must be thinking that it is soon ready for the world. I have previously talked about javafx as being forever unfinished, and this was my opinion of it still.
But today, I set out [...]
Posted in Rich Internet Applications by: polesen
10 Comments
22 Aug
I installed a new JDK today on my windows box. A Java6update10-RC. When done installing, the installer opens up a web page at Sun, asking me to “register my jdk”. To justify such registration, Sun lists these 4 areas, where this should benefit me:
Notification of new versions, patches, and updates
Special offers on Sun developer products, [...]
Posted in Uncategorized by: polesen
5 Comments
10 Aug
When reading about Robust Java Benchmarking, I came across some things I had not thought about myself. It turns out, that even though System.currentTimeMillis() has the unit of milliseconds, the precision with which the method can return, is quite different on various operating systems.
Brent Boyer explains that Windows XP has a granularity of 15 ms, [...]
Posted in Programming by: polesen
5 Comments
06 Aug
This is a book review post. Apress presented me with the opportunity to review one of their books, and I opted for Google Guice - Agile Lightweight Dependency Injection Framework by Robbie Vanbrabrant, as I could learn something about Guice in the process. And learned something I did.
General Stuff
I read the e-book version (pdf), so [...]
Posted in Programming by: polesen
No Comments