You are previewing Java EE Development with Eclipse.
O'Reilly logo
Java EE Development with Eclipse

Book Description

"

For Java EE developers, this is your one-stop fount of knowledge for developing with Eclipse. With an end-to-end sample application in each chapter, the guide includes clear explanations accompanied by lots of screenshots for easy learning.

  • 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

  • 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.

    "

    Table of Contents

    1. Java EE Development with Eclipse
      1. Table of Contents
      2. Java EE Development with Eclipse
      3. Credits
      4. About the Author
      5. About the Reviewers
      6. www.PacktPub.com
        1. Support files, eBooks, discount offers and more
        2. Why Subscribe?
        3. Free Access for Packt account holders
        4. Instant Updates on New Packt Books
      7. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Downloading the example code
          2. Errata
          3. Piracy
          4. Questions
        7. Copyright Credits
      8. 1. EJB 3.0 Database Persistence
        1. Configuring a data source
        2. Creating tables in the Oracle database
        3. Creating an EJB project
        4. Adding the JPA facet
        5. Creating entity beans from tables
          1. Defining entity relationships
          2. Setting cascade
          3. Generating default entities
          4. Creating the Catalog entity
            1. The Catalog entity class
          5. Creating the Edition entity
            1. The Edition entity class
          6. Creating the Section entity
            1. The Section entity class
          7. Creating the Article entity
            1. The Article entity class
          8. Creating the JPA persistence configuration file
        6. Creating a session bean facade
          1. Creating an EntityManager
          2. Specifying getter methods
          3. Creating test data
          4. The session bean class
          5. The remote business interface
        7. Creating the application.xml descriptor
        8. Creating a test client
          1. The catalog.jsp file
        9. Packaging and deploying the entity bean application
          1. The build script
          2. Running the build script
        10. Testing the JSP client
        11. Summary
      9. 2. O/X Mapping with JAXB 2.x
        1. JAXB 2.x advantages
        2. Creating a JAXB project
        3. Creating an XML Schema
        4. Compiling the XML Schema
        5. Marshalling an XML document
        6. Unmarshalling an XML document
        7. Java to XML mapping
        8. Summary
      10. 3. Developing a Web Project for JasperReports
        1. Setting the environment
        2. Creating a Dynamic Web project in Eclipse
        3. Creating the configuration file
        4. Creating a web application
          1. Creating a report design
          2. Setting the report title
          3. Creating a JDBC connection
          4. Generating a PDF report
          5. Creating an Excel report
        5. Packaging and deploying the web application
        6. Running the web application
        7. Summary
      11. 4. Creating a JSF Data Table
        1. Setting the environment
        2. Creating a web project
        3. Creating a managed bean
          1. Constructing the managed bean class
          2. The managed bean class
        4. Creating a JSF page
          1. Adding components to the JSF page
          2. The JSF page
        5. Running the JSF page
        6. Summary
      12. 5. Templating with Facelets
        1. Facelets structure
        2. Setting the environment
        3. Configuring JSF 2.0 support in WLS
        4. Creating a Facelets project
        5. Creating a managed bean
        6. Creating a Facelets template
        7. Creating Facelets
        8. Creating navigation
        9. Running the Facelets application
        10. Summary
      13. 6. Creating Apache Trinidad User Interfaces
        1. Configuring Trinidad
        2. Setting the environment
        3. Creating a Trinidad project
        4. Creating Trinidad UIs
        5. Creating a managed bean
        6. Adding Trinidad components
        7. Running the Trinidad application
        8. Summary
      14. 7. Creating an AJAX Application
        1. Setting the environment
        2. Creating a Dynamic Web project
        3. Creating a web application for AJAX
        4. Creating a servlet
        5. Developing the AJAX web application
        6. Packaging the web application
        7. Deploying the web application
        8. Running the web application
        9. Summary
      15. 8. Creating a JAX-WS Web Service
        1. Setting the environment
        2. Creating a web service project
        3. Creating a WebLogic web service
        4. Running the web service on the server
        5. Generating a WSDL
        6. Testing WSDL in web services explorer
        7. Generating a bindings file
        8. Creating a client class
        9. Creating a build file
        10. Testing the web service
        11. Summary
      16. 9. RESTful Web Services Using the JAX-RS API
        1. Setting the environment
        2. Creating a web project
        3. Creating and running a resource class
        4. Creating and running a test client
        5. Summary
      17. 10. Spring
        1. Setting the environment
        2. Creating a web project with Spring facet
        3. Method Interception
          1. Creating a Spring bean class
          2. Creating a bean definition file
          3. Creating a method interceptor
          4. Creating a Spring client
        4. Schema-based aspect definitions
          1. Creating a Spring and JSF faceted web project
          2. Creating a bean class
          3. Creating an AOP JavaBean
          4. Creating an applicationContext.xml configuration file
        5. Creating a JSF page
          1. Running the JSF page
        6. Summary
      18. Index