Java EE 6 Cookbook for Securing, Tuning, and Extending Enterprise Applications


Java EE 6 Cookbook for Securing, Tuning, and Extending Enterprise Applications
eBook: $23.99
Formats: PDF, PacktLib, ePub and Mobi formats
$20.39
save 15%!
Print + free eBook + free PacktLib access to the book: $63.98    Print cover: $39.99
$39.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Reviews
Support
Sample Chapters
  • Secure your Java applications using Java EE built-in features as well as the well-known Spring Security framework
  • Utilize related recipes for testing various Java EE technologies including JPA, EJB, JSF, and Web services
  • Explore various ways to extend a Java EE environment with the use of additional dynamic languages as well as frameworks
  • A learn-by-example based approach that focuses on key concepts to provide the foundation to solve real world problems

Book Details

Language : English
Paperback : 356 pages [ 235mm x 191mm ]
Release Date : June 2012
ISBN : 1849683166
ISBN 13 : 9781849683166
Author(s) : Mick Knutson
Topics and Technologies : All Books, Application Development, Cookbooks, Enterprise, Java

Table of Contents

Preface
Chapter 1: Out with the Old, In with the New
Chapter 2: Enterprise Persistence
Chapter 3: Security
Chapter 4: Enterprise Testing Strategies
Chapter 5: Extending Enterprise Applications
Chapter 6: Enterprise Mobile Device Integration
Chapter 7: Deployment and Configuration
Chapter 8: Performance and Debugging
Index
  • Chapter 1: Out with the Old, In with the New
    • Introduction
    • Pruning old APIs
    • In with the new
    • Implementing Java Contexts and Dependency Injection (CDI)
    • Understanding the EJB 3.1 specification
    • Understanding the JPA 2.0 specification
    • Understanding the JAX-RS 1.1 specification
    • Understanding the Servlet 3.0 specification
    • Understanding the WebBeans 1.0 specification
    • Understanding the JSF 2.0 specification
    • Understanding Bean Validation
    • Understanding profiles
    • Chapter 2: Enterprise Persistence
      • Introduction
      • Understanding @CollectionTable
      • Auditing previous JPA Operations
      • Auditing historical JPA Operations
      • Profiling and testing JPA Operations
      • Chapter 3: Security
        • Introduction
        • Performing authentication in Java EE
        • Authorization in Java EE
        • Enforcing security in Enterprise Applications
        • Programmatic security and annotations in Java EE
        • Securely signing JAR artefacts
        • Configuring Linux firewall rules
        • Securely obfuscating Java byte-code
        • Minification and obfuscation of web resources
        • Chapter 4: Enterprise Testing Strategies
          • Introduction
          • Remote debugging of Java EE applications
          • Testing JPA with DBUnit
          • Using Mock objects for testing
          • Testing HTTP endpoints with Selenium
          • Testing JAX-WS and JAX-RS with soapUI
          • Chapter 5: Extending Enterprise Applications
            • Introduction
            • Integrating Groovy into Enterprise Applications
            • Integrating Jython into Enterprise Applications
            • Integrating Scala into Enterprise Applications
            • Weaving AspectJ advice into Enterprise Applications
            • Weaving AspectJ advice into existing libraries
            • Adding advice with CDI Decorators
            • Adding advice with CDI Interceptors
            • Chapter 6: Enterprise Mobile Device Integration
              • Introduction
              • Evaluating mobile framework projects
              • Native application considerations
              • Leveraging mobile design tools
              • Testing mobile-web applications with online emulators
              • Setting up a local Apache environment
              • Native SDK development considerations
              • Chapter 7: Deployment and Configuration
                • Introduction
                • Java EE configuration with CDI
                • Java EE configuration with Groovy
                • Enabling remote JMX on Tomcat server
                • Enabling JMX over SSL on Tomcat server
                • Enabling remote JMX on GlassFish server
                • Enabling JMX over SSL on GlassFish server
                • Using JRebel for rapid redeployment
                • Managing VisualVM application repository configuration
                • Chapter 8: Performance and Debugging
                  • Introduction
                  • Profiling memory with jVisualVM
                  • Using jstatd to enable Visual GC
                  • Profiling applications with Netstat
                  • Profiling TCP connections with TCPMon
                  • Monitoring application and server performance with Munin
                  • Debugging HTTP connections with HTTP Debugger

                  Mick Knutson

                  With nearly two decades of experience working in the IT industry in various roles as Enterprise technology consultant, Java Architect, project leader, Engineer, Designer and Developer, Mr. Knutson has gained a wide variety of experience in disciplines including JavaEE, Web Services, Mobile Computing and Enterprise Integration Solutions. Over the course of his career, Mr. Knutson has enjoyed long lasting partnerships with many of the most recognizable names in the Health Care, Financial, Banking, Insurance, Manufacturing, Telecommunications, Utilities, Product Distribution, Industrial and Electronics industries employing industry standard full software life cycle methodologies including the Rational Unified Process (RUP), Agile, SCRUM, and Extreme Programming (XP). Mr. Knutson has also undertaken speaking engagements, training seminars, white paper and book publishing engagements world-wide. As an active Blogger and tweeter, Mr. Knutson has also been inducted in the prestigious DZone.com Most Valuable Blogger (MVB) group and can be followed at http://www.dzone.com/page/mvbs, http://www.dzone.com/users/mickknutson and twitter at http://twitter.com/mickknutson.

                  Code Downloads

                  Download the code and support files for this book.


                  Submit Errata

                  Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

                  Sample chapters

                  You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                  Frequently bought together

                  Java EE 6 Cookbook for Securing, Tuning, and Extending Enterprise Applications +    Java 7 Concurrency Cookbook =
                  50% Off
                  the second eBook
                  Price for both: €29.90

                  Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                  What you will learn from this book

                  • Dive into the implementation of some of the new features of the JPA 2.0 specification
                  • Perform Authentication and access control in Java EE
                  • Enforce access control in Java EE
                  • Protect systems against SQL injection and Cross domain Scripting
                  • Test JSF with Selenium and JAX-WS and JAX-RS with SOAPUI
                  • Integrate Groovy, Jython, and Scala with Enterprise applications
                  • Integrate Mobile Devices into your Enterprise
                  • Debug problems and enhance the performance of your applications

                  In Detail

                  Java Platform, Enterprise Edition is a widely used platform for enterprise server programming in the Java programming language.

                  This book covers exciting recipes on securing, tuning and extending enterprise applications using a Java EE 6 implementation.

                  The book starts with the essential changes in Java EE 6. Then we will dive into the implementation of some of the new features of the JPA 2.0 specification, and look at implementing auditing for relational data stores. There are several additional sections that describe some of the subtle issues encountered, tips, and extension points for stating your own JPA application, or extending an existing application.

                  We will then look into how we can enable security for our software system using Java EE built-in features as well as using the well-known Spring Security framework. We will then look at recipes on testing various JavaEE technologies including JPA, EJB, JSF, and Web services.

                  Next we will explore various ways to extend a Java EE environment with the use of additional dynamic languages as well as frameworks.

                  The book then covers recipes that touch on the issues, considerations and options related to extending enterprise development efforts into mobile application development.

                  At the end of the book, we will cover managing enterprise application deployment and configuration, and recipes that will help you debug problems and enhance the performance of your applications.

                  Approach

                  This book is part of Packt's Cookbook series. A Packt Cookbook contains step-by-step recipes for solutions to the most important problems you face when working with a topic.

                  Who this book is for

                  This book is aimed at Java developers and programmers who want to secure, tune and, extend their Java EE applications.

                  Code Download and Errata
                  Packt Anytime, Anywhere
                  Register Books
                  Print Upgrades
                  eBook Downloads
                  Video Support
                  Contact Us
                  Awards Voting Nominations Previous Winners
                  Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                  Resources
                  Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software