Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Does you book make any forays into using Hibernate/OSIV with Struts 2?

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Dave.
Hibernate OSIV / Struts 2 interceptor errors...
I think this is probably a thread you'll remember, since I see you responded over on Nabble and was wondering if it the book covers some of the issues being discussed in these related threads. I found it difficult to visualise some of the stuff being discussed without having an example to work from...

Struts 2: Is Model Driven fundamentally flawed in most uses?

https://coderanch.com/t/58423/Struts/Struts-Model-Driven-fundamentally-flawed

You commented here:
http://www.nabble.com/ModelDriven-CRUD-validation-failure-still-causes-JPA-update-td12987242.html

Also related:
http://mail-archives.apache.org/mod_mbox/struts-dev/200804.mbox/%3c20080424114307.ipiiqer2bxsswwkw@webmail.mit.edu%3e

Regards, Jeremy
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Because of the variety of ways people implement back-end storage we decided not to address that. Plus I was running out of my allocated pages :/

Personally OSIV has always made me nervous, the primary reason being that na�vely-written JSP pages could end up performing a huge number of back-end queries leading to very slow performance.

If you're the only one programming the app this isn't as much of a concern, but it can lead to headaches when multiple people are banging on (potentially) lazy-loaded collections.

It's one of those double-edged swords that's really hard to "get right". I don't recall what the end result of that original thread was, either.

Dave
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic