• 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
  • Tim Cooke
  • Jeanne Boyarsky
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Liutauras Vilda
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Piet Souris

Spring Persistence with Hibernate: Advanced Topics

 
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Good Luck with the book Paul and Simon.

Paul just quoting you from your reply to Christophe Verré about the hibernate content which I was also wondering about

Another area that we cover that I feel is not discussed enough is handling concurrency in a Spring Hibernate application. Many people are not familiar with the different locking strategies, and when to use pessimistic vs optimistic locking (and what these strategies actually entail). We also discuss some of the Hibernate events, and how to use them in your application.



Will you include code examples for these more advanced topics in the book and will there maybe be a sample application that covers these advanced areas?

Thank Kevin.
 
author
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Our book includes many code samples, most of them based on a sample application that is illustrated over the course of the book. We also include a few variations of the application to offer some contrast on different strategies you can use for building an application. For example, we include Grails and Roo versions that provide a good point of comparison to the more classic Spring 3 and Hibernate approach.

So to answer your question, yes, we do include code samples and there are several chapters dedicated to more advanced topics, such as caching strategies, concurrency techniques, testing, serialization, integration with other frameworks, etc.

Thanks again for your questions!

Best Regards,

Paul
 
blacksmith
Posts: 979
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Paul,

...following Kevin's question...what kind of application
is the sample application?

Does it cover every aspect you wanted to describe,
or what would you have liked it to include more?

Cheers,

Gian
 
Paul Fisher
author
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Gian,

Our application is an image gallery application, and it covers a good portion of core Spring 3 and Hibernate best practices. Of course, we couldn't cover every aspect we wanted to discuss (we would have needed 5000 pages!). But we do cover those concepts and techniques that we believe are most crucial for succeeding with these two frameworks. As I mentioned in a different post, our primary focus is on developing scalable applications, and we tried to include those strategies we felt were most important. We also tried to highlight potential pitfalls that we have come across ourselves, so that readers of our book can learn from some of our experiences.

Additionally, we included a grails and roo version of our sample application, as well as additional code samples to help illustrate very specific concepts that weren't effectively addressed by the sample application.

Thanks again for your interest in the book!

Best Regards,

Paul Tepper Fisher, author of Spring Persistence with Hibernate
 
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Paul Fisher wrote:We also tried to highlight potential pitfalls that we have come across ourselves, so that readers of our book can learn from some of our experiences.



Looks like this book is for Advanced developers assuming they already know basic Spring and Hibernate.

Paul Fisher wrote:
Additionally, we included a grails and roo version of our sample application, as well as additional code samples to help illustrate very specific concepts that weren't effectively addressed by the sample application.



Good to see Roo (code generator framework) in your book, not many books out there.
 
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
what is Roo used for ?
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Book is good. I did not notice anywhere in book about details of the gallery application and how to run it. I used maven tomcat plugin to run this application from the cource code downloaded, and lauched it with http://localhost:8080/gallery. I see the application opens up, but when I click on GALLERIES, it seems to be blank page. I am a starter and it would have been helpfull for me to explain in book about how to add some items in gallery in database. Otherwise I am stuck.
 
dskjh jkhjk
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I tried to run this image gallery application on tomcat plugin provided in its tomcat plugin in the maven pom. I ran it using command "mvn tomcat:run", I was able to see the application up and running with url http://localhost:8080/gallery/. But when I click on gallery its all empty with no categories and stuff. May be the book has insctuctions about this in grails and roo from 10th chapter, but it would be nice to have a single page somewhere before chapter 10 about how to polulate the data in H2 database and explain what this application does. I am basically stuck with this application without knowing what are the prerequisites for this application to run.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
dskjh jkhjk,

Please check your private messages for an important message from us here at JavaRanch.

Thanks

Mark
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Been reading through the book and while I have found it very useful for explaining concepts I really wanted to see the working example. Unfortunately I'm having the same problem as dskjh jkhjk, has anyone solved his problem?

Thanks
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic