TCJUG – JPA Presentation

by Bob McCune on March 23, 2007

I’d like to say thanks to everyone who attended my JPA presentation at last night’s TCJUG meeting. It was a full house and there was a lot of good conversation during and after the presentation. As always, Jeff Jensen at Intertech is a great host and I had a fun time. I hope the info was useful to you. I’ll post the slides and demo application as soon as I finish making some Maven tweaks. Look for it early next week.

Thanks again!


[ Comments on this entry are closed ]

Unit Testing Best Practices

by Bob McCune on December 9, 2006

I was recently compiling a list of Test-driven Development (TDD) “Best Practices” for my client project’s wiki site and thought this would probably be useful to the community at large. I’ve been an avid practitioner and proponent of test-driven development for a few years now and have found it to be one of the most important practices I’ve adopted. If practiced correctly, it will have a significantly positive impact on the design and quality of your code.

Read More

[ Comments on this entry are closed ]


by Bob McCune on November 22, 2006

I recently came across a new Eclipse plugin you should definitely check out if you’re doing test-driven development (TDD). It’s called EclEmma and is based on Emma, the open source code coverage tool. Code coverage reporting tools like Emma or Cobertura are a must if you are doing TDD, but the one downside these tools have is it’s not easy to run them against an individual class while you’re writing your test. EclEmma solves this problem by nicely integrating with Eclipse which makes getting coverage feedback as easy as firing up the IDE’s JUnit test runner. It’s still an early release, so you may find some rough edges here and there, however, I’ve been quite impressed with what I’ve seen so far. It definitely looks promising.

EclEmma Homepage

[ Comments on this entry are closed ]

Twin Cities Code Camp – Fall 2006

by Bob McCune on November 11, 2006

I just finished giving a presentation on Hibernate 3.2 at the first Twin Cities Code Camp event in Edina, MN. You can grab a copy of the presentation and source code examples below.

As I was attempting to get set up I realized I had forgotten to bring my DVI to VGA adapter for my MacBook Pro. Once I recovered from the mini stroke I was having, I asked one of the organizers if they could help me track down someone with a Mac laptop. Thankfully they did and things were able to move forward. I don’t know the anonymous Mac user whose adapter I borrowed, but thank you very much!!

I’d like to say thanks to everyone who attended. I hope you found the presentation useful.

Hibernate Presentation

[ Comments on this entry are closed ]

Java Persistence with Hibernate

by Bob McCune on November 11, 2006

The long awaited update to Hibernate in Action has been released! HiA was the definitive guide on all things Hibernate, but unfortunately was written for version 2.x. The new version has been updated for version 3.x and additionally covers using Hibernate as the persistence provider for JPA and EJB3. I’ve been reading the preview release of this book for the past few weeks and am enjoying the updated and new content. It’s a must have book if you’re working with Hibernate.

The eBook is available now and the print version will be available in a couple of weeks. You can get a copy from Manning’s website. You can also pre-order the book from Amazon.

[ Comments on this entry are closed ]