Stripes by example
By: by Brent Watson
Series: Expert's Voice in Java; Expert's voice in Java
Publisher: Apress
Published: 2015
Place of publication: [Berkeley, CA]
Language: eng
Number of pages: 140
ISBN-13: 9781484209806; 9781484209813
Subjects: Application software; Development; Java (Computer program language); Logiciels d'application; Développement; Java (Langage de programmation); Programming & scripting languages: general; COMPUTERS/Programming/Open Source; COMPUTERS/Software Development & Engineering/Tools; COMPUTERS/Software Development & Engineering/ General
Description: In this 100-page book, you will find that Stripes provides a very simple learning path, where you do not need to understand the entire framework in order to use it. The concept of this book is exactly that? to get you using the framework and writing code immediately. You will be off and running in no time, and adding to your skill set as we progress. This book is written with exactly that learning method in mind. No filler, no empty explanations ... just code. You won't be driving solo, however. Each code example is heavily annotated with comments and tips, so that you not only understand each snippet, but can also dive deeper if you so choose. Stripes is a web framework for the Java programming language. It was initially released in 2005 by Tim Fennell. Despite its growth and maturity, Stripes has always focused on two key principles: simplicity and ease of development. Stripes has also remained a solution for a single application tier: the web-layer. Its purpose is to handle the interaction between a web browser and server-side java code. To tie these concepts together Stripes makes heavy use of Java annotations, which we will see as we learn the various features of Stripes.
Notes: Includes index.
Table of contents: title: At a Glance; Contents; About the Author; About the Technical Reviewer; Acknowledgments; Preface; Chapter 1: Introduction to Stripes; Stripes Development; ActionBeans; Stripes Tag Library; Additional Features; Where to Go If You Need Help; Review; Chapter 2: Getting Started; Download Java; Start a New Project; Adding Stripes to Your Project; Option 1: Manual File Downloads; Option 2: Maven Setup; Stripes web.xml Setup; Option 1: Manual web.xml Setup; Option 2: Maven Setup; If All Else Fails; Review; Chapter 3: ActionBeans; An Introduction to ActionBeans.; title: Refactoring to Remove DuplicationReview; Chapter 4: Mapping URLs to Methods; Using @HandlesEvent and @UrlBinding; Linking to ActionBeans; Review; Chapter 5: JSP Pages; Using JSP Pages with Stripes; Stripes Tags; Stripes Form Tags; Review; Chapter 6: Forms; An Example Application; Using Data Transfer Objects and Nested Properties; Complex Objects; Review; Chapter 7: Working with Data; Database Setup; JDBC DAO; ActionBean-DAO Interaction; Review; Chapter 8: Interaction Between ActionBeans; Login; Application Pages; Review; Chapter 9: Validation; @Validate Annotation.; title: @ValidateNestedProperties AnnotationReview; Chapter 10: Resolutions; Starting the Resolution Examples; RedirectResolution; ErrorResolution; StreamingResolution; Review; Chapter 11: Other Annotations; @SessionScope Annotation; @Before and @After Annotations; @SpringBean Annotation; Review; Chapter 12: Internationalization; Internationalization in Stripes; Internationalization Setup and Configuration; Using Internationalization Values; Supporting Multiple Languages; JSP Internationalization Value Lookups; Review; Chapter 13: Interceptors; Introduction to Interceptors; Interceptor Configuration.; title: Using Interceptor DataReview; Chapter 14: File Uploads; Uploading Files; Uploading Multiple Files; COS vs. Apache Commons FileUpload; Review; Chapter 15: Good Design; Use BaseActionBean.java; Use a base.jsp; Balance Your ActionBeans; Returning Resolutions via Method Calls; Remember Your Tiers; Review; Chapter 16: Next Steps; Index.