aspose file tools*
The moose likes Struts and the fly likes Struts 2 in Action Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 in Action" Watch "Struts 2 in Action" New topic
Author

Struts 2 in Action

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9622
    
    2

Hi Authors,

I checked the TOC for the book and there is a chapter that talks about integrating Struts 2 with Spring and Hibernate. How brief / deep are those chapters?


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9622
    
    2

Adding to it, does this book talk about integrating Struts 2 with AJAX?
Alaa Nassef
Ranch Hand

Joined: Jan 28, 2008
Posts: 467
Answering your second question, according to the editorial review on amazon
Finally, new topics such as the Ajax tags, Spring Framework integration, and configuration by convention give familiar subjects new depth.


Visit my blog: http://jnassef.blogspot.com/
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9622
    
    2

Just a deviant from the original post...Is there a print copy of the book already available for purchase? If yes, is it available in India?
Alaa Nassef
Ranch Hand

Joined: Jan 28, 2008
Posts: 467
Originally posted by Jothi Shankar Kumar Sankararaj:
Just a deviant from the original post...Is there a print copy of the book already available for purchase? If yes, is it available in India?


The book will be in print in May 5th. I don't know when will it be available in India
chad michael davis
Author
Greenhorn

Joined: Mar 01, 2006
Posts: 27
The chapter on integration with Spring and JPA/Hibernate is, in my opinion, deep enough for people who know those technologies, but not deep enough for someone who is not familiar with those technologies. The Spring integration is basically out of the box, but we walk you through how to declare some spring beans and how to let spring do autowiring and/or manage the creation of your framework components, such as actions and interceptors. We then show how to manage Spring's JPA/Hibernate support to quickly integrate JPA/Hibernate, using annotations, into our sample application.

As for Ajax, we have a great example of how to use Custom results that will return JSON or XML responses to your Ajax clients. You will be quite excited to see that struts 2 actions are so clean that you can re-use the same action for Ajax or classic web aplication request servicing. Just switch the result type, i.e. the language that the action speaks, with some configuration changes.


Chad Davis<br />Co-author of Struts 2 in Action
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9622
    
    2

Sounds good alltogether.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 2 in Action