Java EE 7 recipes a problem-solution approach
Java EE 7 Recipes takes an example-based approach in showing how to program Enterprise Java applications in many different scenarios. Be it a small-business web application, or an enterprise database application, Java EE 7 Recipes provides effective and proven solutions to accomplish just about any...
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
[Berkeley, Calif.] :
Apress
2013.
|
Edición: | 1st ed. 2013. |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628739306719 |
Tabla de Contenidos:
- Cover; Title Page; Copyright Page; Dedication Page; Contents at a Glance; Table of Contents; About the Author; About the Technical Reviewers; Acknowledgments; Introduction; Who This Book Is For; How This Book Is Structured; Conventions; Downloading the Code; Configuring a Database for the Book Sources; Setting Up a NetBeans Project; CHAPTER 1 Introduction to Servlets; 1-1. Setting Up a Java Enterprise Environment; Problem; Solution; How It Works; 1-2. Developing a Servlet; Problem; Solution; How It Works; 1-3. Packaging, Compiling, and Deploying a Servlet; Problem; Solution; How It Works
- 1-4. Registering Servlets Without WEB-XMLProblem; Solution; How It Works; 1-5. Displaying Dynamic Content with a Servlet; Problem; Solution; How It Works; 1-6. Handling Requests and Responses; Problem; Solution; How It Works; 1-7. Listening for Servlet Container Events; Problem; Solution; How It Works; 1-8. Setting Initialization Parameters; Problem; Solution #1; Solution #2; How It Works; 1-9. Filtering Web Requests; Problem; Solution; How It Works; 1-10. Listening for Attribute Changes; Problem; Solution; How It Works; 1-11. Applying a Listener to a Session; Problem; Solution; How It Works
- 1-12. Managing Session AttributesProblem; Solution; How It Works; 1-13. Downloading a File; Problem; Solution; How It Works; 1-14. Dispatching Requests; Problem; Solution; How It Works; 1-15. Redirecting to a Different Site; Problem; Solution; How It Works; 1-16. Securely Maintaining State Within the Browser; Problem; Solution; How It Works; 1-17. Finalizing Servlet Tasks; Problem; Solution; How It Works; 1-18. Reading and Writing with Nonblocking I/O; Problem; Solution; How It Works; CHAPTER 2 JavaServer Pages; 2-1. Creating a Simple JSP Page; Problem; Solution; How It Works
- 2-2. Embedding Java into a JSP PageProblem; Solution; How It Works; 2-3. Separating Business Logic from View Code; Problem; Solution; How It Works; 2-4. Yielding or Setting Values; Problem; Solution; How It Works; 2-5. Invoking a Function in a Conditional Expression; Problem; Solution; How It Works; 2-6. Creating a JSP Document; Problem; Solution; How It Works; 2-7. Embedding Expressions in EL; Problem; Solution; How It Works; 2-8. Accessing Parameters in Multiple Pages; Problem; Solution; How It Works; 2-9. Creating a Custom JSP Tag; Problem; Solution; How It Works
- 2-10. Including Other JSPs into a PageProblem; Solution; How It Works; 2-11. Creating an Input Form for a Database Record; Problem; Solution; How It Works; 2-12. Looping Through Database Records Within a Page; Problem; Solution; How It Works; 2-13. Handling JSP Errors; Problem; Solution; How It Works; 2-14. Disabling Scriptlets in Pages; Problem; Solution; How It Works; 2-15. Ignoring EL in Pages; Problem; Solution #1; Solution #2; Solution #3; How It Works; CHAPTER 3 The Basics of JavaServer Faces; 3-1. Writing a Simple JSF Application; Problem; Solution #1
- Displaying a JSF Managed Bean Field Value