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
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
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
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
09 Jul
A couple of weeks ago, while I had a fun day with a bunch of my colleagues, showing them the wonders of flex development, another two of my bright colleagues used that same day, to uncover how far JavaFX is now, and what could be done with the technology today. And the answer was horrifying. [...]
Posted in Programming, Rich Internet Applications by: polesen
7 Comments
08 Jun
Are you a Java developer with the thought: “What the f*** is up with all the flex hype here in the Java camp? Is flex not just the same old closed flash world like always?”. If so, then this post is for you.
In my recent post Flex Leads to Clash Between Java and Flex [...]
Posted in Programming, Rich Internet Applications by: polesen
13 Comments
17 May
This is a post, that requires your input I want to harvest the information in your brains, on how your favourite web framework is best at not cluttering the view pages, when you need to show them differently for each user or state of the application.
Definition: Conditional Views
I have no better name, than “conditional [...]
Posted in Design, Programming by: polesen
8 Comments
05 May
So, Spring Source has been able to keep a secret from us Secretly, they have been developing what looks a lot like a new application server, not like the JEE market, but with the springframework at its core. A well kept secret, which I did not see coming, even though we might have been [...]
Posted in Tools by: polesen
1 Comment
11 Apr
Today I was battling an issue for some of my colleagues. They were getting this exception from JBoss/Mysql ConnectorJ driver:
java.sql.SQLException: Ping failed: java.lang.IllegalArgumentException: object is not an instance of declaring class
in the JBoss console.
A look at the stacktrace told me, that it was coming from inside the method com.mysql.jdbc.integration.jboss.MysqlValidConnectionChecker.isValidConnection, so naturally, I dived into the [...]
Posted in Uncategorized by: polesen
6 Comments
09 Mar
I just took log5j for a spin. For those who does not know, log5j is a Java5 enhancement of the log4j api. It provides two new features on top of log4j, where one is made possible by Java5:
Feature 1: Obtain a logger without giving the logger name (which is bad, I think)
Feature 2: Using printf-style [...]
Posted in Programming by: polesen
2 Comments