Professional java for web applications : featuring websockets, spring framework, JPA hibernate, and spring security /
The comprehensive Wrox guide for creating Java web applications for the enterprise This guide shows Java software developers and software engineers how to build complex web applications in an enterprise environment. You'll begin with an introduction to the Java Enterprise Edition and the basic...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Indianapolis, Indiana :
Wiley,
2014.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Professional: Java® for Web Applications; Copyright; About the Author; About the Technical Editors; Credits; Acknowledgments; Contents; Introduction; Who This Book Is For; Who This Book Is Not For; What You Will Learn in This Book; Part I: Creating Enterprise Applications; Part II: Adding Spring Framework Into the Mix; Part III: Persisting Data with JPA and Hibernate ORM; Part IV: Securing Your Application with Spring Security; What You Will Not Learn in This Book; What Tools You Will Need; Java Development Kit for Java SE 8; Integrated Development Environment; NetBeans IDE 8.0.
- Eclipse Luna IDE 4.4 for Java EE DevelopersIntelliJ IDEA 13 Ultimate Edition; Java EE 7 Web Container; Conventions Used in This Book; Code Examples; Maven Dependencies; Why Security Is at the End of the Book; Errata; Part 1: Creating Enterprise Applications; Chapter 1: Introducing Java Platform, Enterprise Edition; A Timeline of Java Platforms; In the Beginning; The Birth of Enterprise Java; Java SE and Java EE Evolving Together; Understanding the Most Recent Platform Features; A Continuing Evolution; Understanding the Basic Web Application Structure; Servlets, Filters, Listeners, and JSPs.
- Directory Structure and WAR FilesThe Deployment Descriptor; Class Loader Architecture; Enterprise Archives; Summary; Chapter 2: Using Web Containers; Choosing a Web Container; Apache Tomcat; GlassFish; JBoss and WildFly; Other Containers and Application Servers; Why You'll Use Tomcat in This Book; Installing Tomcat on Your Machine; Installing as a Windows Service; Installing as a Command-Line Application; Configuring a Custom JSP Compiler; Deploying and Undeploying Applications in Tomcat; Performing a Manual Deploy and Undeploy; Using the Tomcat Manager; Debugging Tomcat from Your IDE.
- Using IntelliJ IDEAUsing Eclipse; Summary; Chapter 3: Writing Your First Servlet; Creating a Servlet Class; What to Extend; Using the Initializer and Destroyer; Configuring a Servlet for Deployment; Adding the Servlet to the Descriptor; Mapping the Servlet to a URL; Running and Debugging Your Servlet; Understanding doGet(), doPost(), and Other Methods; What Should Happen during the service Method Execution?; Using HttpServletRequest; Using HttpServletResponse; Using Parameters and Accepting Form Submissions; Configuring your Application Using Init Parameters; Using Context Init Parameters.
- Using Servlet Init ParametersUploading Files from a Form; Introducing the Customer Support Project; Configuring the Servlet for File Uploads; Accepting a File Upload; Making Your Application Safe for Multithreading; Understanding Requests, Threads, and Method Execution; Protecting Shared Resources; Summary; Chapter:4 Using JSPs to Display Content; Is Easier Than output.println(""""); Why JSPs Are Better; What Happens to a JSP at Run Time; Creating Your First JSP; Understanding the File Structure; Directives, Declarations, Scriptlets, and Expressions; Commenting Your Code.