JavaFX – A Forever Unfinished RIA Technology
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. [...]
July 9, 2008
·
polesen ·
7 Comments
Tags: Java, javafx · Posted in: Programming, Rich Internet Applications
What Is The Big Deal With Flex?
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 [...]
June 8, 2008
·
polesen ·
13 Comments
Tags: flex, Java · Posted in: Programming, Rich Internet Applications
Conditional Page Rendering in Java Web Frameworks – Best Practices?
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 [...]
May 17, 2008
·
polesen ·
8 Comments
Tags: Java, jsp · Posted in: Design, Programming
SpringSource Application Platform
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 able [...]
May 5, 2008
·
polesen ·
2 Comments
Tags: Java, JSR-277, JSR-294, OSGi, spring · Posted in: Tools
Ping failed in MysqlValidConnectionChecker in JBoss/MySQL-ConnectorJ Combination
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 [...]
April 11, 2008
·
polesen ·
7 Comments
Tags: exception, Java, mysql · Posted in: Uncategorized
Log5j and The State of Log4j Version 2
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: [...]
March 9, 2008
·
polesen ·
2 Comments
Tags: Java, log4j, log5j · Posted in: Programming
Kudos To JetBrains and Open Source
It is absolutely great, that JetBrains has open sourced a great deal of their plugins! Today, I installed the latest and greatest Selena EAP (early access) version of IntelliJ IDEA, to get some of the latest flex plugin features. Sadly, my ruby plugin then got turned off, as it was not built for the latest [...]
February 29, 2008
·
polesen ·
2 Comments
Tags: IDEA, Java, ruby · Posted in: Tools
Making CXF Log RuntimeExceptions From Server Implementations
Here is a bit more on CXF logging. If you are using CXF to host web-service implementations (as opposed to using CXF as a client to consume web services with), you might wanna know about any un-caught RuntimeExceptions, your server-side implementation is throwing. CXF already catches and logs this for you, before sending them back [...]
February 28, 2008
·
polesen ·
No Comments
Tags: cxf, Java, log4j · Posted in: Programming
4 Ways To Stream Pdf and Some Tips
When it comes to streaming pdf content to a browser, suprisingly enough, a good how-to or reference on how to do this properly, is hard to find. It turns out, that there are numerous ways to do this, each with its own pros and cons. In this post, I show 4 different ways to stream [...]
February 27, 2008
·
polesen ·
10 Comments
Tags: html, Java, pdf · Posted in: Programming
Java5: From Ordinal Value To Enum Instance
The enum type introduced in Java5 is quite powerful, but I miss a factory method to get an enum instance from its ordinal value. The existing factory method in Enum.valueOf(Class, String) lets you get an enum instance from its type and name, but there is no valueOf which lets you get it from the ordinal [...]
February 5, 2008
·
polesen ·
2 Comments
Tags: enum, Java · Posted in: Programming
