aspose file tools*
The moose likes Struts and the fly likes Hi Dave Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Hi Dave" Watch "Hi Dave" New topic
Author

Hi Dave

Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1527
First congratulations, on "Apache Struts 2 Web Application Development". I don't have the TOC by the side and just go by the "What you will learn from this book" section from the link by Paul. In a week or two we would be kicking off our new project and have preferred struts for the development, hoping that we stick on struts2.

At the moment i would like to know few things,

1. There is an "indication of rich client behavior", so am I expecting enough ajax in the book? what about tiles? Did I overlook these tlds? or is it a separate project now?

2. I have this notion that struts comes with good taglibs, can i expect anything on sortable/filterable resultsets for my records on jsp? There have been many occasions where i had to plug-in lots of javascript on client side.

3. There is special indication on good exception handling. what is so special about it?
[ November 12, 2008: Message edited by: Akhilesh Trivedi ]

Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

1. There is an "indication of rich client behavior", so am I expecting enough ajax in the book?

I don't know how much is "enough". The book touches on the Dojo-based tags included in Struts 2.1 (although they may not be in the main distribution much longer), covers the REST plugin for generating JSON and XML responses, and has some Ajax examples using jQuery as well.
what about tiles? Did I overlook these tlds? or is it a separate project now?

Tiles is not covered; I used up my allocated pages before I got to it. I may be releasing some short PDFs on Lulu covering these topics, though. Tiles is a separate project now, and the TLDs are included in the distribution.
2. I have this notion that struts comes with good taglibs, can i expect anything on sortable/filterable resultsets for my records on jsp? There have been many occasions where i had to plug-in lots of javascript on client side.

No, that's outside the scope of Struts. Most people use Displaytag for simple usecases or a full-blown client-side framework for more complicated usecases (YUI, EXT, and the like).
3. There is special indication on good exception handling. what is so special about it?

The book has a short chapter on exception handling and logging, including S2's exception handling mechanisms.

Dave
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1527
That was enough on ajax here. Plus REST plugin was a bonus. Thanks.

Last but not least, will you be covering integration to testing framework like JUnit?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

There is an entire chapter on comprehensive testing where I use both JUnit and TestNG for unit testing and functional testing with Selenium.

Dave
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1527
Thanks, selenium was a bonus again. Hope to read you soon.
 
Consider Paul's rocket mass heater.
 
subject: Hi Dave