This book guides you through the process of building a browser-independent Internet application using VB. Along the way, Kurniawan provides real-world code examples and detailed explanations of exactly what is occurring at each step in the development process. He also offers thorough coverage of IIS objects and concepts used by both WebClasses and ASP applications. You'll learn how IIS applications compare with other technologies, such as ASP, and why IIS applications are much faster and more scalable.
The first part of the book begins by reviewing and comparing the performance of the major Microsoft Internet technologies, including IIS applications. Kurniawan introduces the concept of IIS applications, shows how they're built, and provides related coverage of WebClasses, WebItems, and virtual directories. He also explains the role of ASP objects in IIS, the concept of ODBC and how to set up a Data Source Name connection, and the bases of Microsoft's Universal Data Access and MDAC strategies. In the second part of the book, Kurniawan discusses database optimization techniques, client-side processing, and how to manage state using the URLData property, Session object, database, cookies, and hidden fields. Finally, he addresses the crucial issues of security and successful deployment.
More importantly, this book is a tutorial designed to make the reader truly understand the concepts. It explains not only how to use Struts' features, but also how a certain feature works under the hood and which to choose if similar features exist. Examples are relevant and based on real-world applications. Several important topics rarely mentioned in other books--such as file upload, paging, object caching--are given detailed treatment.
The first part is for beginners and Struts developers who don't feel they have a complete grasp of Struts. It explains the following and many more:
- The Model-View-Controller design pattern
- Action forms
- User input validation
- The Validator Plug-in
- JavaServer Pages Standard Tag Library (JSTL)
- The JSP 2.0 Expression Language (EL)
- HTML, Bean, Logic, Nested Tag Libraries
- Application configuration
- The Custom SelectLabel Tag
- Tiles - Message handling and internationalization
- Struts-JSF Plug-in
- The open source DisplayTag Library
- File upload and programmable file download
- Jakarta Commons BeanUtil Class
In addition, this book deals with many design topics such as
- Data persistence
- Transfer objects
- Configuration information sharing
- Object caching
- Application security
- Paging and sorting
- HttpServletRequest wrapping
- Early session invalidation
The last chapter, "How Struts Works", dissects Struts' source code and explains the components that together make Struts tick. This chapter is particularly interesting to readers who want to know how Struts works in the background and how to extend Struts. Understanding it helps you design and develop more effective Struts applications. This book is for you if you need one written with clarity and readability in mind.
Covering Servlet 3.1 and JSP 2.3, this book explains the important programming concepts and design models in Java web development as well as related technologies and new features in the latest versions of Servlet and JSP. With comprehensive coverage and a lot of examples, this book is a guide to building real-world applications.