Java EE Development with Eclipse


Java EE Development with Eclipse
eBook: $32.99
Formats: PDF, PacktLib, ePub and Mobi formats
$28.04
save 15%!
Print + free eBook + free PacktLib access to the book: $87.98    Print cover: $54.99
$54.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
  • Each chapter includes an end-to-end sample application
  • Develop applications with some of the commonly used technologies using the project facets in Eclipse 3.7.
  • Clear explanations enriched with the necessary screenshots

Book Details

Language : English
Paperback : 426 pages [ 235mm x 191mm ]
Release Date : December 2012
ISBN : 1782160965
ISBN 13 : 9781782160960
Author(s) : Deepak Vohra
Topics and Technologies : All Books, Application Development, Enterprise, Java

Table of Contents

Preface
Chapter 1: EJB 3.0 Database Persistence
Chapter 2: O/X Mapping with JAXB 2.x
Chapter 3: Developing a Web Project for JasperReports
Chapter 4: Creating a JSF Data Table
Chapter 5: Templating with Facelets
Chapter 6: Creating Apache Trinidad User Interfaces
Chapter 7: Creating an AJAX Application
Chapter 8: Creating a JAX-WS Web Service
Chapter 9: RESTful Web Services Using the JAX-RS API
Chapter 10: Spring
Index
  • Chapter 1: EJB 3.0 Database Persistence
    • Configuring a data source
    • Creating tables in the Oracle database
    • Creating an EJB project
    • Adding the JPA facet
    • Creating entity beans from tables
      • Defining entity relationships
      • Setting cascade
      • Generating default entities
      • Creating the Catalog entity
        • The Catalog entity class
      • Creating the Edition entity
        • The Edition entity class
      • Creating the Section entity
        • The Section entity class
      • Creating the Article entity
        • The Article entity class
      • Creating the JPA persistence configuration file
    • Creating a session bean facade
      • Creating an EntityManager
      • Specifying getter methods
      • Creating test data
      • The session bean class
      • The remote business interface
    • Creating the application.xml descriptor
    • Creating a test client
      • The catalog.jsp file
    • Packaging and deploying the entity bean application
      • The build script
      • Running the build script
    • Testing the JSP client
    • Summary
    • Chapter 2: O/X Mapping with JAXB 2.x
      • JAXB 2.x advantages
      • Creating a JAXB project
      • Creating an XML Schema
      • Compiling the XML Schema
      • Marshalling an XML document
      • Unmarshalling an XML document
      • Java to XML mapping
      • Summary
      • Chapter 3: Developing a Web Project for JasperReports
        • Setting the environment
        • Creating a Dynamic Web project in Eclipse
        • Creating the configuration file
        • Creating a web application
          • Creating a report design
          • Setting the report title
          • Creating a JDBC connection
          • Generating a PDF report
          • Creating an Excel report
        • Packaging and deploying the web application
        • Running the web application
        • Summary
        • Chapter 4: Creating a JSF Data Table
          • Setting the environment
          • Creating a web project
          • Creating a managed bean
            • Constructing the managed bean class
            • The managed bean class
          • Creating a JSF page
            • Adding components to the JSF page
            • The JSF page
          • Running the JSF page
          • Summary
          • Chapter 5: Templating with Facelets
            • Facelets structure
            • Setting the environment
            • Configuring JSF 2.0 support in WLS
            • Creating a Facelets project
            • Creating a managed bean
            • Creating a Facelets template
            • Creating Facelets
            • Creating navigation
            • Running the Facelets application
            • Summary
              • Chapter 7: Creating an AJAX Application
                • Setting the environment
                • Creating a Dynamic Web project
                • Creating a web application for AJAX
                • Creating a servlet
                • Developing the AJAX web application
                • Packaging the web application
                • Deploying the web application
                • Running the web application
                • Summary
                • Chapter 8: Creating a JAX-WS Web Service
                  • Setting the environment
                  • Creating a web service project
                  • Creating a WebLogic web service
                  • Running the web service on the server
                  • Generating a WSDL
                  • Testing WSDL in web services explorer
                  • Generating a bindings file
                  • Creating a client class
                  • Creating a build file
                  • Testing the web service
                  • Summary
                    • Chapter 10: Spring
                      • Setting the environment
                      • Creating a web project with Spring facet
                      • Method Interception
                        • Creating a Spring bean class
                        • Creating a bean definition file
                        • Creating a method interceptor
                        • Creating a Spring client
                      • Schema-based aspect definitions
                        • Creating a Spring and JSF faceted web project
                        • Creating a bean class
                        • Creating an AOP JavaBean
                        • Creating an applicationContext.xml configuration file
                      • Creating a JSF page
                        • Running the JSF page
                      • Summary

                      Deepak Vohra

                      Deepak Vohra is a consultant and a principal member of the NuBean.com software company. Deepak is a Sun Certified Java Programmer and Web Component Developer, and has worked in the fields of XML and Java programming and J2EE for over five years. Deepak is the co-author of the Apress book Pro XML Development with Java Technology and was the technical reviewer for the O'Reilly book WebLogic: The Definitive Guide. Deepak was also the technical reviewer for the Course Technology PTR book Ruby Programming for the Absolute Beginner, and the technical editor for the Manning Publications book Prototype and Scriptaculous in Action. Deepak is also the author of the Packt Publishing books JDBC 4.0 and Oracle JDeveloper for J2EE Development; Processing XML documents with Oracle JDeveloper 11g; EJB 3.0 Database Persistence with Oracle Fusion Middleware 11g; and Java 7 JAX-WS Web Services.

                      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 Development with Eclipse +    Microsoft Dynamics NAV 2009 Programming Cookbook =
                      50% Off
                      the second eBook
                      Price for both: €37.65

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

                      What you will learn from this book

                      • Develop PDF and Excel spread sheet reports in a web application
                      • Map an XML Schema to Java classes and Java objects back to XML Schema or an XML document
                      • Create a JSF Data table to display database data
                      • Use common header and footer images such as logos in JSF pages
                      • Develop asynchronous web pages
                      • Develop RESTful web services
                      • Develop a web service with the JAX-WS standard
                      • Develop a Spring framework application

                      In Detail

                      Java EE is the industry standard on enterprise computing and Oracle WebLogic Server is the most comprehensive platform for enterprise applications. The book combines Java EE with WebLogic Server in the most commonly used Java IDE, the Eclipse IDE 3.7.

                      "Java EE Development with Eclipse" is the only book on Eclipse IDE for Java EE Developers. The book is a practical guide for using the most commonly used Java EE technologies and frameworks in Eclipse IDE. Sample applications are available in downloadable format and may be customized to meet requirements. Oracle Enterprise Pack for Eclipse 12c, an enhancement to Eclipse IDE, providing additional project facets and an integrated support for Oracle WebLogic Server is used.

                      "Java EE Development with Eclipse" is based on developing applications with some of the commonly used technologies using the project facets in Eclipse 3.7 and its enhancement Oracle Enterprise Pack for Eclipse 12c.

                      The book starts with a discussion on EJB 3.0 database persistence with Oracle database XE and Oracle WebLogic Server. JAXB is discussed in the context of bi-directional mapping between XML and Java. A generic web project is developed for PDF and Excel spread sheet reports. JavaServer Faces, the most commonly used view component in web applications is discussed for developing a data table. Facelets, which was integrated into JSF with 2.0 version is discussed in the context of templating. ADF Faces components are used to develop another user interface (UI) application. Web services are discussed with JAX-WS and JAX-RS technologies. Java EE frameworks Ajax and Spring are also discussed.

                      Approach

                      This book is step-by-step tutorial guide and a background reference for developing applications with Oracle WebLogic Server and Oracle database, the most used application server and database for enterprise applications.

                      Who this book is for

                      This book is for professional Java EE developers. The book is also suitable for an intermediate/advanced course in Java development with Eclipse IDE. Some knowledge of the Java EE technologies and frameworks EJB, JSF, JAXB, JAX-WS, JAX-RS, Ajax, and Spring is required.

                      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