Category: java
-
Desktop Apps made easier, JavaFX and that ESB thing…
Isn’t it always the way, when you want to blog other stuff comes up? I had intended to write up a final post about the last day of Tech Days, but the weather has been great to get the kite out and the holiday is winding down so… Day 3 was pretty cool, as I…
-
My Java ME versus Android Question
Beautiful day in Sydney. I came out of this morning’s Tech Days session on Java ME applications with a whole bunch of questions – they’re much more fun than answers. The latest version of JME now contains heaps of APIs for everything from geolocation to bluetooth and is supported by millions of mobiles, and will…
-
Sun Tech Days Melbourne
After half an hour of walking around trying to determine where exactly the convention centre IS in the Olympic complex (signage would be really nice), I finally managed to make it to the Melbourne satellite event of the Australian leg of Sun Tech Days. I love events like this; the interchange of ideas and pointers…
-
Unit Testing the Database Tier
Unit testing database code is a bit of a funny problem. Most developers can pretty easily get their heads around unit testing a piece of Java code using interfaces and mock objects. When it comes to database code or DAOs, it suddenly becomes particularly difficult. But why, what is so difficult about testing stuff against…
-
Weak, Soft and Phantom References
Bob Lee posted yesterday about one of his sessions at Javapolis (viewable at Parley’s), that covered heaps of good stuff about dependency injection and API design. At the end he mentions weak and soft references. What? Who? Not exactly a language feature that I have come across in the day to day, so I did…
-
Home Cooked vs Open Source. Or, Don’t Build Your Own Workflow.
First thing’s first. I love open source. I think that it’s the best thing since sliced bread. That thing that we were always told about since computer science, that of the open marketplace for components to be shared and reused HAS happened. Just not in the “buy this billing component” kind of way. It’s even…
-
How crap is your code?
Now you can find out with Crap4J. Can wait to run some projects through it. I’m curious as to what the code quality looks like on some of the larger Open Source projects (Dom4J looks pretty good though). I love stats. I don’t know what it is. They’re like horoscopes, or something. Pinch of salt…
-
Unit testing made simpler(!)
What is simpler than writing a JUnit test? Getting someone else to write them for you! The really nice people at Agitar Software have developed a couple of tools as part of their “No Java Class Left Behind” programme, that will write JUnit tests for your existing code to prove that it works as expected.…
-
Rich UI -> Component Based
A client of mine is developing a web application. The framework decision was made up front – Spring Webflow/MVC. I like Webflow. Its state machine based continuations concept is very cool. It lets you easy deal with things like back buttons, switching into a side piece of application flow (think needing to log in before…
-
Thoughts on Mixing EJB3 and Spring
A few weeks ago I blogged about Spring and EJB integration, but something just did not sit well with me. Why would you want to do this at all? I like Spring. Its myriad components make my life simpler. I can write the business code I need to faster without worrying as much about the…