Java EE Applications on Oracle Java Cloud:

Book description

Master Java EE Application Development on Oracle Java Cloud

Build highly available, scalable, secure, distributed applications on Oracle Java Cloud. In this Oracle Press guide, Oracle ACE Director and Java Champion Harshad Oak leads you through the entire Java EE cloud-based application lifecycle—from development to deployment. Filled with real-world examples, ready-to-use code, and best practices, Java EE Applications on Oracle Java Cloud is an invaluable resource for anyone looking to meet the growing demand for cloud-based development skills.

  • Set up an Oracle Java Cloud instance and manage users and roles
  • Build an application with NetBeans IDE and deploy it on Oracle Java Cloud
  • Extend application functionality using servlets, filters, and listeners
  • Streamline application development with JavaServer Pages, JSP Standard Tag Library, and expression language
  • Create and deploy feature-rich JavaServer Faces applications on Oracle Java Cloud
  • Use Enterprise JavaBeans to effectively run business logic code in enterprise applications
  • Develop and deploy SOAP and RESTful web services on Oracle Java Cloud
  • Take advantage of the persistence capabilities of Oracle Java Cloud via Oracle Database Cloud

Code examples from the book are available for download.

Table of contents

  1. Cover
  2. Title Page
  3. Copyright Page
  4. Dedication
  5. About the Author
  6. Contents at a Glance
  7. Contents
  8. Foreword
  9. Acknowledgments
  10. Introduction
  11. 1 Java EE and Cloud Computing
    1. Java Editions
    2. Java EE Applications
    3. Application Servers
      1. Open Source vs. Commercial
      2. Reference Implementation
    4. API and Technology Specification
      1. Java Community Process (JCP) and Java EE
      2. Java EE Compatible
    5. Profiles
    6. Web Profile
    7. Cloud Computing
      1. Going Around in Circles
      2. What Is Cloud Computing?
      3. Why Cloud Computing?
      4. Concerns About Cloud Computing
      5. Private, Public, and Hybrid Clouds
      6. Cloud as a Leveler
    8. Java EE on the Cloud
      1. Competing Technologies: Alternatives to Java on the Cloud
      2. Standards and Java EE 7
      3. Java EE Vendors and Alternatives
    9. Summary
  12. 2 The Oracle Java Cloud
    1. Oracle’s Cloud Foray
    2. Oracle Cloud Constituents
      1. SaaS
      2. IaaS
      3. PaaS
    3. Java Cloud
      1. Pricing
      2. Trial Signup
      3. My Services
    4. IDE Integration
      1. Oracle Java Cloud Service SDK
    5. Users and Roles
    6. Summary
  13. 3 Build and Deploy with NetBeans
    1. Development IDE
      1. Why NetBeans?
    2. Building with Java EE Technologies
    3. First NetBeans Project
    4. What Happened?
      1. Files and Directories Generated
      2. The Cloud Deployment
      3. Clean and Build, Verify
    5. Web Application Structure
      1. Directories
    6. Packaging the Application
      1. We Are at WAR
    7. Summary
  14. 4 Servlets, Filters, and Listeners
    1. Servlets
      1. Servlet Interface
      2. HttpServlet
      3. Servlet One
      4. Servlet Class
      5. HttpServletRequest
      6. HttpServletResponse
      7. web.xml
      8. weblogic.xml
    2. Sharing Data
    3. Session Management
      1. HttpSession
    4. RequestDispatcher
      1. WebLogic-Specific Servlet Capabilities on OJC
    5. Filters
    6. Listeners
    7. View Java Logs
    8. Summary
  15. 5 JavaServer Pages, JSTL, and Expression Language
    1. The Origin of JSP
    2. JSP on the Oracle Java Cloud
    3. JSP Internals
      1. JSP Lifecycle
      2. Servlet Code
      3. JSP Directives
      4. JSP Declaration
      5. JSP Scriptlets
      6. JSP Expressions
      7. Implicit Objects
      8. JSP Comments
    4. Tags and Expressions
      1. Custom Tags
      2. Expression Language
      3. JSTL Libraries
      4. Using Tags in a JSP
    5. Summary
  16. 6 JavaServer Faces
    1. From JSP to Struts to JSF
    2. JSF on the Oracle Java Cloud
    3. Facelets
    4. JSF Managed Beans
    5. Validation
    6. Ajax
    7. Templates
    8. Summary
  17. 7 Enterprise JavaBeans (Session Beans)
    1. Containers
    2. EJB in OJC
    3. Why EJB?
    4. Session Beans
      1. Stateless
      2. Stateful
    5. Interfaces: Local or Remote
    6. Developing an Enterprise Application with EJBs
      1. New Session Bean
      2. Inject the Session Bean into the Servlet
      3. Package and Run from NetBeans
      4. Deploy Using the Java Cloud Services Control
    7. Lifecycle of a Session Bean
    8. Transaction Management
      1. Rollback and Exception Handling
    9. Summary
  18. 8 Web Services
    1. Developing a SOAP Web Service
      1. WSDL
      2. Web Service Client
    2. RESTful Web Services Using JAX-RS API
      1. Building RESTful Web Services on the OJC
      2. JAX-RS 1.1 Fix
      3. Modify the REST Resource
      4. RESTful Web Service Client
    3. Summary
  19. 9 Persistence Using the Oracle Database Cloud Service
    1. Persistence on the Oracle Cloud
    2. Oracle Database Cloud Service
      1. Explore Database Cloud
      2. Oracle Apex
      3. Java Cloud: Database Cloud Integration
    3. JPA
      1. Persistence Providers
      2. Entity
      3. Developing an Entity Application
      4. Add Entity from a Servlet
      5. Find and Update Entity
      6. Java Persistence Query Language
      7. CRUD JSF for Entity
    4. Summary
  20. A Java EE Technologies and JSRs
    1. Java Platform, Enterprise Edition 5 (Java EE 5) JSR 244
    2. Java Platform, Enterprise Edition 6 (Java EE 6) JSR 316
      1. Java Platform, Enterprise Edition 6 (Java EE 6) Web Profile
    3. Java Platform, Enterprise Edition 7 (Java EE 7) JSR 342
      1. Java Platform, Enterprise Edition 7 (Java EE 7) Web Profile
  21. B Application Servers Compatible with Java EE 5, 6, and 7
    1. Java EE 5–Compatible Implementations
    2. Java EE 6 Full Platform–Compatible Implementations
      1. Java EE 6 Web Profile–Compatible Implementations
    3. Java EE 7 Full Platform–Compatible Implementations
      1. Java EE 7 Web Profile-Compatible Implementations
  22. C Supported and Unsupported Technologies, Services, and APIs . . .
    1. Technologies and Services Supported
      1. Java EE 5 and 6 Specifications Supported
      2. Public WebLogic Server 10.3. APIs and Capabilities Supported
    2. Unsupported Features and APIs
      1. Unsupported WebLogic Server 10.3. APIs and Capabilities
    3. Whitelist Violations
  23. Index

Product information

  • Title: Java EE Applications on Oracle Java Cloud:
  • Author(s): Harshad Oak
  • Release date: September 2014
  • Publisher(s): McGraw Hill Computing
  • ISBN: 9780071817165