Fri - August 31, 2007

Using the Yahoo! Mail SOAP API 1.1 from Java's JAX-WS 2.1


On YDN they have samples and documentation on how to use the Yahoo! Mail SOAP API from Axis2. I'm not a big fan of that method so I went ahead and used JAX-WS to do my dirty work. As an example, I will build an RSS feed of the users unread messages.

Posted at 01:22 PM     Read More     |

Sat - March 17, 2007

Java Performance Optimization


Last night I decided to revive my poker hand evaluator library and look at it from a performance perspective and do some optimizations if need be. Some of my findings give insight into what kinds of things are optimized in JDK 1.6 vs JDK 1.5 and how things vary between Mac OS X, Windows, and Linux.

Posted at 11:11 AM     Read More     |

Sun - April 30, 2006

Simple and efficient XML parsing using JAXB 2.0


My new default workflow for parsing an XML document type takes about 5 minutes to go from seeing the new document to generating a parser that can efficiently parse it with JAXB 2.0 at its base.

Posted at 08:38 AM     Read More     |

Mon - December 26, 2005

Java annotations + AspectJ5 version of the command line parser


Dion Almaer had an interesting comment where he asked about marrying AspectJ5 to this to get rid of the ugly reflection stuff. I was hesitant at first because there isn't really good support in AspectJ to do stuff like this but I eventually figured out a way to do it.

Posted at 10:57 AM     Read More     |

Sat - December 24, 2005

Java annotations make declarative programming easy


Someone on java.net just recently had some terrible XML format for command line arguments and someone suggested in the comments that maybe they should be using annotations instead. This is a really good application for them actually...

Posted at 10:59 AM     Read More     |

Tue - November 8, 2005

Response to Ted Neward's - Anonymous Generic Methods making things "just work"


I saw Ted Neward's message and answered the call. I think this is what he wants, but who knows, I don't really care for C#. But it took 10 minutes in IntelliJ to cook up what I think is the equivalent in Java code.

Posted at 09:38 PM     Read More     |

Mon - August 8, 2005

AOP in the VM


JRockit now has AOP in the JVM. As I said at ASOD and since AOP appeared (hope you're reading this Gregor), this is the way to do it.

Posted at 11:33 PM     Read More     |

Sun - July 10, 2005

What should a domain specific language workbench look like?


I just got done looking at the Hello, world! tutorial of JetBrains MPS. It shows in disgusting detail how incredibly ridiculous this tool is. Not since JINI's Hello, world! tutorial have I seen something that is such an anti-advertisement for a product.

Posted at 04:54 PM     Read More     |

Wed - July 6, 2005

Terracotta Virtualization Server released


I went and downloaded their release today to try it out.

Posted at 11:03 PM     Read More     |

Fri - May 6, 2005

Writing a web-based poker game in Java


In this entry I'm going to decompose an application I have written using Java 5, JSP 2.0, and a little bit of Hibernate. I'll try and track all the work done including the changes as I went along by using my trusty source control system.

Posted at 08:27 PM     Read More     |

Wed - April 6, 2005

Groovy JSR-1 released


Groovy JSR-1 has finally been released with the new grammar. Though there are a bunch of things I still don't like about it, I still use it because it is the best thing going right now for Java scripting.

Posted at 12:00 PM     Read More     |

Sat - March 5, 2005

TSSS - XQuery and XQJ


As you might have noticed I am pretty bullish on XQuery as a good solution to XML problems. XQJ is a new API to use it from Java.

Posted at 04:12 PM     Read More     |

Fri - March 4, 2005

TSSS - Advanced Spring Framework


Rod shilling his framework some more.

Posted at 03:36 PM     Read More     |

Thu - March 3, 2005

TSSS - Offline Webapps with HTML & JS


There is a lot of interest lately in using JS to make web applications more interactive, even a new acronym: AJaX

Posted at 11:45 AM     Read More     |

TSSS - Cliff Schmidt on Beehive


Formerly a BEA technology, Beehive is now an Apache incubator project designed to allow developers to easily build enterprise applications.

Posted at 10:13 AM     Read More     |

















©