aspose file tools*
The moose likes Spring and the fly likes Spring Persistence with Hibernate: Advanced Topics Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring Persistence with Hibernate: Advanced Topics" Watch "Spring Persistence with Hibernate: Advanced Topics" New topic
Author

Spring Persistence with Hibernate: Advanced Topics

Kevin Florish
Ranch Hand

Joined: Jan 06, 2009
Posts: 176
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.


Java5 Tutorials | Java6 Tutorials | HTML/CSS Tutorials | JavaScript and jQuery Tutorials
Paul Fisher
author
Greenhorn

Joined: Jul 06, 2010
Posts: 23
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
Gian Franco
blacksmith
Ranch Hand

Joined: Dec 16, 2003
Posts: 977
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


"Eppur si muove!"
Paul Fisher
author
Greenhorn

Joined: Jul 06, 2010
Posts: 23
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
Anil Vupputuri
Ranch Hand

Joined: Oct 31, 2000
Posts: 527
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.


SCJP 1.5, SCEA, ICED (287,484,486)
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

what is Roo used for ?


Groovy
dskjh jkhjk
Greenhorn

Joined: Jun 19, 2011
Posts: 2
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

Joined: Jun 19, 2011
Posts: 2
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.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17259
    
    6

dskjh jkhjk,

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

Thanks

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Roo Gregg
Greenhorn

Joined: Jul 27, 2011
Posts: 1
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring Persistence with Hibernate: Advanced Topics