Back on Tapestry & Hibernate

I’m so glad to be working in Tapestry again-it’s fun! I can’t say that about any other Java Web framework I’ve used. Two of the projects I’m working on now use Hibernate, which I haven’t used before. It’s interesting to get into the persistence layer-I enjoy it—but the all the xml configuration between the web app, Spring and Hibernate makes me want to vomit. I spent several hours trying to understand what was there and make the app work with some new domain objects. In Rails it would have taken me almost no time at all.

Advertisements

4 Responses to “Back on Tapestry & Hibernate”


  1. 1 Mel September 15, 2005 at 12:45 pm

    Remember: Convention over Configuration. Repeat it with me – Convention…over…Configuration. I feel better – how ’bout you?

    🙂

    –Mel

  2. 2 Jason September 15, 2005 at 12:45 pm

    Jamie:

    Try replacing both Spring AND Hibernate with Cayenne. It was like Cayenne and Tapestry were made for each other. There ARE XML files, but Cayenne handles it for you. The author of Cayenne has great examples of working with Tapestry and Cayenne.

    I hope this helps. I tried Hibernate once. NEVER again!!! Especially with Tapestry.

    Jason

  3. 3 jamie September 15, 2005 at 12:45 pm

    Mel: yes, it’s a good mantra!

    Jason: If I were starting my own project, I’d likeyly go for Cayenne, but since it’s a project for a client whose already settled on Tapestry/Spring/Hibernate as the main development platform, I’m stuck with it! I think that Erik and I battered them enough to finally chuck Struts for Tapestry. Now I’m working on convincing them to look at Ruby on Rails. <grin>

  4. 4 Jason September 15, 2005 at 12:45 pm

    Sorry, Jamie. I did not realize you were locked in and I am sure my comments did not help. I understand that it is EXTREMLY difficult to change a customer’s mind and it’s unfortunate that Spring/Hibernate gets all the press. Every time I get an opportunity to type about Cayenne and Tapestry, I try and I am just a user of each framework. Good luck with the customer and although I have not had the opportunity to work with Ruby on Rails, I have read good things about it.


Comments are currently closed.



Pages

Categories

Copyright ©2008-2013 James E Orchard-Hays, All Rights Reserved

%d bloggers like this: