EJB 3.0 Database Persistence with Oracle Fusion Middleware 11g


EJB 3.0 Database Persistence with Oracle Fusion Middleware 11g
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
Support
Sample Chapters
  • Integrate EJB 3.0 database persistence with Oracle Fusion Middleware tools: WebLogic Server, JDeveloper, and Enterprise Pack for Eclipse
  • Automatically create EJB 3.0 entity beans from database tables
  • Learn to wrap entity beans with session beans and create EJB 3.0 relationships
  • Apply JSF and ADF Faces user interfaces (UIs) to EJB 3.0 database persistence
  • A practical guide illustrated with examples to integrate EJB 3.0 database persistence with Ajax and Web Services

Book Details

Language : English
Paperback : 448 pages [ 235mm x 191mm ]
Release Date : August 2010
ISBN : 1849681562
ISBN 13 : 9781849681568
Author(s) : Deepak Vohra
Topics and Technologies : All Books, Enterprise Products and Platforms, Oracle Fusion Middleware, Enterprise, Java, Oracle


Table of Contents

Preface
Chapter 1: What's New in EJB 3.0
Chapter 2: Converting an EJB 2.0 Entity to an EJB 3.0 Entity
Chapter 3: EclipseLink JPA Persistence Provider
Chapter 4: Building an EJB 3.0 Persistence Model with Oracle JDeveloper
Chapter 5: EJB 3.0 Persistence with Oracle Enterprise Pack for Eclipse
Chapter 6: EJB 3.0 with ADF Faces UI
Chapter 7: Creating EJB 3.0 Entity Relationships
Chapter 8: EJB 3.0 Database Persistence with Ajax in the UI
Chapter 9: Using JSF with Entity Relationships
Chapter 10: Creating an EJB 3.0 Web Service
Index
  • Chapter 1: What's New in EJB 3.0
    • Metadata annotations
    • Configuration defaults
    • Environmental dependencies and JNDI Access
    • Simplified Session Beans
    • Simplified entity beans
    • Java Persistence API
    • Interceptors
    • Simplified checked exceptions
    • Callback Interfaces
    • Summary
  • Chapter 2: Converting an EJB 2.0 Entity to an EJB 3.0 Entity
    • Setting the environment
      • Adding an Application
      • Creating an XML deployment descriptor
      • Creating stylesheets
    • Converting the entity class
      • The EJB 2.0 entity
      • The XSLT stylesheet
      • Generating the EJB 3.0 entity
    • Developing a session façade for an entity
      • The XSLT stylesheet
      • Generating the session Façade
    • Summary
  • Chapter 3: EclipseLink JPA Persistence Provider
    • Specifying the EclipseLink persistence provider
    • The JPA framework
      • Advantages of JPA
    • What is required for JPA?
    • Types of entity managers
      • Container-managed entity manager
      • Application-managed entity manager
    • EclipseLink JPA
      • Metadata annotations
      • XML mapping metadata
      • Entity identity
      • Entity relationships
    • EclispeLink JPA Persistence unit properties
    • Summary
  • Chapter 4: Building an EJB 3.0 Persistence Model with Oracle JDeveloper
    • Setting the environment
    • Creating a datasource in JDeveloper
    • Creating an EJB 3 application
    • Creating an EJB 3 entity bean
      • Mapping an Oracle database table to an entity bean
      • The entity bean class
    • Creating a session bean
      • The session bean class
    • Creating and testing a test client
      • Creating a client
      • Testing the client
    • Summary
  • Chapter 5: EJB 3.0 Persistence with Oracle Enterprise Pack for Eclipse
    • Setting the environment
      • Installing required products
      • Creating a MySQL database table
    • Configuring WebLogic Server with MySQL database
      • Creating a data source
      • Deploying the data source
      • Testing the data source
    • Creating a JPA project in Eclipse
    • Creating an EJB 3.0 entity bean
      • The EJB 3.0 entity class
    • Creating a Persistence Configuration file
    • Creating a session bean
      • The session bean class
    • Creating a test client
    • Deploying the entity in WebLogic Server
      • Testing the EJB 3.0 entity client
    • Summary
  • Chapter 6: EJB 3.0 with ADF Faces UI
    • Setting the environment
      • Creating a datasource in JDeveloper
      • Creating an EJB 3 application
    • Creating an EJB 3 entity bean from Oracle database
      • The Entity class
      • The persistence configuration file
    • Creating a session bean
      • The session bean class
    • Creating an Oracle ADF Faces client user interface
      • Creating a JSF page
      • Adding ADF Faces components
        • The index JSF page
        • The JSF page to create an Entity
        • The JSF page to find an Entity
        • The catalog entry JSF page
        • The managed bean
      • The JSF configuration file
      • The web application configuration file
    • Testing the Oracle ADF Faces user interface
      • Creating an Entity instance
      • Finding an Entity instance
    • Summary
  • Chapter 7: Creating EJB 3.0 Entity Relationships
    • EJB 3.0 entity relationship annotations
    • Setting the environment
      • Creating database tables
      • Creating an EJB project
    • Creating the entity beans
      • The Entity classes
        • The Catalog entity class
        • The Edition entity class
        • The Section entity class
        • The Article entity class
    • Creating a session bean
      • The Session Bean class
    • Creating the client
    • Testing the client
    • Modifying the fetch strategy
    • Summary
  • Chapter 8: EJB 3.0 Database Persistence with Ajax in the UI
    • The XMLHttpRequest Object
    • Setting the environment
      • Installing WebLogic Server
    • Creating an EJB 3.0 application in JDeveloper
      • Creating a database connection
    • Creating an entity bean
      • The entity bean class
      • The Entity configuration file
    • Creating a session bean
      • The session bean class
    • Creating a servlet client
      • The Servlet class
    • Creating an Ajax user interface
      • Sending an Ajax request
      • Processing the server response
      • The Ajax user interface JSP
      • Creating an application deployment descriptor
    • Deploying the EJB 3 application to WebLogic Server
      • Creating a build file
      • Deploying the EJB 3.0 application
    • Testing the Ajax input form
    • Summary
  • Chapter 9: Using JSF with Entity Relationships
    • Setting the environment
      • Creating database tables
      • Creating an EJB 3.0 application
      • Creating a database connection
    • Creating entity beans from tables
      • Edition entity
      • Section entity
      • Article entity
      • Entity Persistence Configuration file
    • Creating a session bean
      • Session bean class
    • Creating JSF user interfaces
      • Adding JSF components to the article JSF page
        • Managed bean for the article JSF page
      • Adding JSF components to the section JSF page
        • Managed bean for the section JSF page
      • Adding JSF components to the Edition JSF page
        • Managed bean for the Edition JSF page
      • Adding JSF page navigation
      • Web configuration file
    • Running the JSF user interfaces
      • Creating an Edition entity
      • Creating a Section entity
      • Creating an Article entity
      • The database persisted entities
    • Summary
  • Chapter 10: Creating an EJB 3.0 Web Service
    • Setting the environment
      • Creating a JDeveloper application
      • Creating a database connection
    • Creating a data source in the WebLogic server
    • Creating an entity bean
      • The Entity class
      • The entity Persistence Configuration file
    • Creating a stateless session bean
      • The session bean class
    • Creating a Web Service class
    • Creating a web service client
    • Creating and packaging Web Service classes
    • Testing the web service
      • Building the client
      • Testing the client
    • 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.

Sorry, we don't have any reviews for this title yet.

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

EJB 3.0 Database Persistence with Oracle Fusion Middleware 11g +    Implementing Microsoft Dynamics NAV 2009 =
50% Off
the second eBook
Price for both: £30.05

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

What you will learn from this book

  • Explore the new features in the EJB 3.0 specification
  • Convert an EJB 2.0 entity bean to EJB 3.0 in JDeveloper
  • Create EJB 3.0 entity beans from database tables automatically in JDeveloper
  • Implement EJB 3.0 database persistence with JDeveloper, WebLogic Server, and Enterprise Pack for Eclipse
  • Wrap an entity bean with a session bean
  • Build a client for an EJB 3.0 entity bean application
  • Develop an ADF Faces user interface (UI) for entity beans
  • Create EJB 3.0 entity relationships
  • Design JSF UIs for EJB 3.0 entity relationships
  • Integrate EJB 3.0 database persistence with an AJAX user interface (UI)
  • Build EJB 3.0 Web Services from entity beans

In Detail

EJB (Enterprise JavaBeans) 3.0 is a commonly used database persistence technology in Java EE applications. EJB 3.0 has simplified the development of EJBs with an annotations-based API that eliminates the use of remote/local interfaces, home/local home interfaces, and deployment descriptors. A number of other books are available on EJB 3.0, but none covers EJB 3.0 support in Oracle Fusion Middleware 11g, which is one of the leaders in the application server market.

This is the first book that covers all aspects of EJB 3.0 database persistence development using Oracle Fusion Middleware technology. It covers all the best practices for database persistence ensuring that your applications are easily maintainable. Leaving theory behind, this book uses real-world examples to guide you in building your own EJB 3.0 applications that are well integrated with commonly used Java EE frameworks.

The book gets going by discussing the new features in the EJB 3.0 specification. As some readers may still be using EJB 2.0, the book explains how to convert your EJB 2.0 entity beans to EJB 3.0. It then goes on to discuss using EJB 3.0 database persistence with JDeveloper, WebLogic Server, and Enterprise Pack for Eclipse, the main Java EE components of Oracle Fusion Middleware 11g. The book also covers EJB 3.0 relationships and integrating EJB 3.0 relationships with JSF user interfaces. EJB 3.0 database persistence with some of the commonly used frameworks such as ADF Faces, AJAX, and Web Services is also discussed in the book. It uses the integrated WebLogic Server 11g in some of the chapters and the standalone WebLogic Server in other chapters. While JDeveloper is the primary Java IDE used in the book, one of the chapters is based on the Oracle Enterprise Pack for Eclipse.

By the time you reach the end of this book, you will be well-versed with developing EJB 3.0 applications using the different Java EE components of Oracle Fusion Middleware 11g.

A practical guide illustrated with examples for developing EJB 3.0 applications integrated with commonly used Java EE frameworks such as JSF, Web Services, Ajax, and ADF Faces

Approach

This is a practical, tutorial-style book that includes many examples that demonstrate how to develop EJB 3.0 database persistence applications with Oracle Fusion Middleware 11g. Every chapter starts with setting the environment for the chapter and includes an example application illustrated with figures at milestone stages.

Who this book is for

This book is aimed at EJB 3.0 application developers who want to learn about the practical use of EJB 3.0 database persistence with Oracle Fusion Middleware. Those who are already using EJB 3.0 database persistence will learn about using EJB 3.0 database persistence with Oracle Fusion Middleware 11g. The target audience is expected to have some prior knowledge about Java EE, EJBs, EJB 3.0, JSF, AJAX, web services, and XML. This book is ideal for those developers who have working knowledge of JDeveloper and WebLogic server, and wish to learn about the practical use of EJB 3.0 with Oracle Fusion Middleware.

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