• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Jeremy Flowers
Posts: 11
  • Mark post as helpful
  • send pies
  • 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?


You commented here:

Also related:

Regards, Jeremy
David Newton
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • 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.

What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!