Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Apache Struts 2 Web Application Development

 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Long before I've read Struts 2 in Action. How is this book different from the other ones? Who is the audience that this book targets?
 
Paul Michael
Ranch Hand
Posts: 697
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Like Jothi I'm curious why there's a need for another Struts book.

How does it stand out from the rest?

Anyway, excited to hear your thoughts and hopefully get the chance to win what would be my first ever Struts book.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This book, rather than being a re-hashing of Struts 2 documentation, is intended to show how Struts 2 can be used as part of the *complete* web application development process (including things like clean JavaScript, generating documentation, and so on).
 
Paul Michael
Ranch Hand
Posts: 697
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ah got that thanks!

All the best to your new book.
 
Mourouganandame Arunachalam
Ranch Hand
Posts: 396
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by David Newton:
This book, rather than being a re-hashing of Struts 2 documentation, is intended to show how Struts 2 can be used as part of the *complete* web application development process (including things like clean JavaScript, generating documentation, and so on).


When you say *complete*, which means including the database access along with ORM layer as well is it?

Thanks.
Mourougan
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The DB chapter is probably being dropped due to page number restrictions (not really my choice), so it's somewhat less complete than I'd prefer.

That said, however, because of the number of DB/ORM/etc. choices available I was pretty uncomfortable with the chapter anyway, and it didn't use Hibernate, because there are already a million resources for it.

Dave
 
Jorge Bendahan
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm a noob in web development but have some java knowledge, is this book for me?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Possibly (how's that for a helpful answer?!

The book doesn't try to be an introduction to the Java web application development process and everything associated with it. Despite that I do believe that someone new to web app development that has some Java knowledge and an internet connection would find most of the material very accessible, and the stuff that isn't immediately understood is probably okay to ignore during the first read.

(For example, the JavaScript chapters are *not* an "Introductory JavaScript", they're an introduction to the best parts of JavaScript and assume some minimal previous exposure.)

Dave
 
Nikos Pougounias
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by David Newton:
The DB chapter is probably being dropped due to page number restrictions (not really my choice), so it's somewhat less complete than I'd prefer.


Will this chapter be available as a free download?

Originally posted by David Newton:
I was pretty uncomfortable with the chapter anyway, and it didn't use Hibernate, because there are already a million resources for it.


Did it use JDBC or a specific ORM?

Thanks
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't plan on making the excluded chapter available--it used iBatis (although I might end up re-doing it with Cayenne) but was little more than the typical information found freely on the web anyway, and ultimately added little value.

Dave
 
Raghuveer Rawat
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Dave,
How you doing? Congrats for book and good luck for success.
I am using Strut2 from last 6 months and found it very good framework However I was missing a good book on Struts2 and hope your this book will fill gap. I definitely would like to read your book.
Have you covered enough examples? Specially examples on writing interceptors, struts2 skinning, Json examples, struts2 tiles2 integration, Struts2 spring integration, struts2 best practices, struts2 security, struts2 ajax support etc..
 
Raghuveer Rawat
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One more thing how about creating own theme? Is there any mention of it?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a chapter discussing themes and templates that takes the existing xhtml theme and modifies some of the form elements to allow better CSS control.

In practice it's unusual to create a new theme from scratch due to the effort involved.

Dave
 
Raghuveer Rawat
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dave, Did you look on my other post there were few queries on your book?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dave, Did you look on my other post there were few queries on your book


AFAIK I've answered every single questioned that's been asked.

Dave
 
Raghuveer Rawat
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you covered enough examples? especially examples on writing interceptors, struts2 skinning, Json examples, struts2 tiles2 integration, Struts2 spring integration, struts2 best practices, struts2 security, struts2 ajax support etc..
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you covered enough examples? especially examples on writing interceptors, struts2 skinning, Json examples, struts2 tiles2 integration, Struts2 spring integration, struts2 best practices, struts2 security, struts2 ajax support etc..

How many is "enough"? That's an impossible question to answer.

The book doesn't cover Tiles integration, Spring is covered in regards to testing/dependency injection, it doesn't cover security or Acegi etc.

Dave
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic