It's not a secret anymore!*
The moose likes Struts and the fly likes Apache Struts 2 Web Application Development Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Apache Struts 2 Web Application Development" Watch "Apache Struts 2 Web Application Development" New topic
Author

Apache Struts 2 Web Application Development

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

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?


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!
Paul Michael
Ranch Hand

Joined: Jul 02, 2001
Posts: 697
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.


SCJP 1.2 (89%), SCWCD 1.3 (94%), IBM 486 (90%), SCJA Beta (96%), SCEA (91% / 77%), SCEA 5 P1 (77%), SCBCD 5 (85%)
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

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

Joined: Jul 02, 2001
Posts: 697
Ah got that thanks!

All the best to your new book.
Mourouganandame Arunachalam
Ranch Hand

Joined: Oct 29, 2008
Posts: 396
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


Mourougan
Open Source leads to Open Mind
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

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

Joined: Apr 11, 2008
Posts: 82
i'm a noob in web development but have some java knowledge, is this book for me?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

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

Joined: Jan 16, 2008
Posts: 110
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


Nikos' Java blog
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

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

Joined: Apr 03, 2003
Posts: 102
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<br />SCJP2
Raghuveer Rawat
Ranch Hand

Joined: Apr 03, 2003
Posts: 102
One more thing how about creating own theme? Is there any mention of it?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

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

Joined: Apr 03, 2003
Posts: 102
Dave, Did you look on my other post there were few queries on your book?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

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

Joined: Apr 03, 2003
Posts: 102
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

Joined: Sep 29, 2008
Posts: 12617

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
 
Consider Paul's rocket mass heater.
 
subject: Apache Struts 2 Web Application Development
 
Similar Threads
Struts Design and Programming by Budi Kurniawan
Suggest a book
struts book
Struts Beginner's Question
which book to refer for struts