Contents at a Glance

Similar documents
Developing Applications with Java EE 6 on WebLogic Server 12c

open source community experience distilled

Java- EE Web Application Development with Enterprise JavaBeans and Web Services

Oracle - Developing Applications for the Java EE 7 Platform Ed 1 (Training On Demand)

Fast Track to Java EE

ADVANCED JAVA COURSE CURRICULUM

Specialized - Mastering JEE 7 Web Application Development

Java EE Application Assembly & Deployment Packaging Applications, Java EE modules. Model View Controller (MVC)2 Architecture & Packaging EJB Module

Fast Track to Java EE 5 with Servlets, JSP & JDBC

Oracle 10g: Build J2EE Applications

Java EE 6: Develop Web Applications with JSF

Table of Contents. Introduction... xxi

J2EE - Version: 25. Developing Enterprise Applications with J2EE Enterprise Technologies

Java EE 6: Develop Business Components with JMS & EJBs

Introduction to Web Application Development Using JEE, Frameworks, Web Services and AJAX

Java EE 5 Development for WebSphere Application Server V7

J2EE Development. Course Detail: Audience. Duration. Course Abstract. Course Objectives. Course Topics. Class Format.

Building the Enterprise

Java EE 7: Back-End Server Application Development

Java Training Center, Noida - Java Expert Program

Courses For Event Java Advanced Summer Training 2018

Enterprise Java Unit 1-Chapter 2 Prof. Sujata Rizal Java EE 6 Architecture, Server and Containers

Introduction to JSP and Servlets Training 5-days

112-WL. Introduction to JSP with WebLogic

ive JAVA EE C u r r i c u l u m

Distributed Multitiered Application

CO Java EE 7: Back-End Server Application Development

Java Programming Language

Java SE 8 Fundamentals

Vision of J2EE. Why J2EE? Need for. J2EE Suite. J2EE Based Distributed Application Architecture Overview. Umair Javed 1

Oracle Fusion Middleware 11g: Build Applications with ADF I

CMP 436/774. Introduction to Java Enterprise Edition. Java Enterprise Edition

Deccansoft Software Services. J2EE Syllabus

Writing Servlets and JSPs p. 1 Writing a Servlet p. 1 Writing a JSP p. 7 Compiling a Servlet p. 10 Packaging Servlets and JSPs p.

Java EE 6 - Update Harpreet Singh GlassFish Portfolio Product Manager

CO Java EE 6: Develop Database Applications with JPA

Call: JSP Spring Hibernate Webservice Course Content:35-40hours Course Outline

Type of Classes Nested Classes Inner Classes Local and Anonymous Inner Classes

JAVA COURSES. Empowering Innovation. DN InfoTech Pvt. Ltd. H-151, Sector 63, Noida, UP

Advance Java. Configuring and Getting Servlet Init Parameters per servlet

This course is intended for Java programmers who wish to write programs using many of the advanced Java features.

112. Introduction to JSP

1 Markus Eisele, Insurance - Strategic IT-Architecture

Web Application Development Using JEE, Enterprise JavaBeans and JPA

Projects. How much new information can fit in your brain? Corporate Trainer s Profile TECHNOLOGIES

Oracle Fusion Middleware 11g: Build Applications with ADF I

1Z Oracle. Java Enterprise Edition 5 Enterprise Architect Certified Master

Hands-on Development of Web Applications with Java EE 6

Web Application Development Using JEE, Enterprise JavaBeans and JPA

JVA-163. Enterprise JavaBeans

APPLICATION SECURITY ENHANCEMENTS IN JAVA EE 6

object/relational persistence What is persistence? 5

Oracle 1Z0-161 Exam. Volume: 67 Questions

J2EE Interview Questions

Oracle Corporation

Leverage Rational Application Developer v8 to develop Java EE6 application and test with WebSphere Application Server v8

Introduction to J2EE...xxvii. Chapter 1: Introducing J2EE... 1 Need for Enterprise Programming... 3 The J2EE Advantage... 5

Migrating traditional Java EE applications to mobile

Call: Core&Advanced Java Springframeworks Course Content:35-40hours Course Outline

Java SE7 Fundamentals

Designing a Distributed System

JavaEE Interview Prep

Introduction... xv SECTION 1: DEVELOPING DESKTOP APPLICATIONS USING JAVA Chapter 1: Getting Started with Java... 1

Table of Contents Fast Track to Java EE 5 with Servlets/JSP and JDBC

IBM Rational Application Developer for WebSphere Software, Version 7.0

Rational Application Developer 7 Bootcamp

DVS WEB INFOTECH DEVELOPMENT TRAINING RESEARCH CENTER

Java EE 6 & GlassFish v3 Paving the path for future. Arun Gupta Sun Microsystems, Inc.

COMP9321 Web Application Engineering

Improve and Expand JavaServer Faces Technology with JBoss Seam

Enterprise JavaBeans, Version 3 (EJB3) Programming

Oracle Fusion Middleware

Chapter 1 Introducing EJB 1. What is Java EE Introduction to EJB...5 Need of EJB...6 Types of Enterprise Beans...7

Java.. servlets and. murach's TRAINING & REFERENCE 2ND EDITION. Joel Murach Andrea Steelman. IlB MIKE MURACH & ASSOCIATES, INC.

ADVANCED JAVA TRAINING IN BANGALORE

<Insert Picture Here> Productive JavaEE 5.0 Development

Eclipse Java Ejb 3.0 Tutorial For Beginners With Examples Pdf

CORE JAVA. Saying Hello to Java: A primer on Java Programming language

LTBP INDUSTRIAL TRAINING INSTITUTE

Contents. 1. JSF overview. 2. JSF example

Course Content for Java J2EE

Developing Applications for Oracle WebLogic Server g Release 1 (10.3.6)

JAVA. Duration: 2 Months

One application has servlet context(s).

Sun Java Studio Creator. Ken Paulsen Staff Engineer Sun Microsystems, Incorporated (Slides by: Craig R. McClanahan)

1Z Java EE 6 Web Component Developer Certified Expert Exam Summary Syllabus Questions

The Java EE 6 Tutorial

Architect Exam Guide. OCM EE 6 Enterprise. (Exams IZO-807,1ZO-865 & IZO-866) Oracle Press ORACLG. Paul R* Allen and Joseph J.

The Next Generation. Prabhat Jha Principal Engineer

Enterprise Java Technologies (Part 1 of 3) Component Architecture. Overview of Java EE. Java Servlets

Oracle WebLogic Server 11g: Administration Essentials

DOC // JAVA TOMCAT WEB SERVICES TUTORIAL EBOOK

Pro Hibernate and. MongoDB. Anghel Leonard. Apress-

Contents at a Glance. vii

Oracle Fusion Middleware

Mastering BEA WebLogic Server Best Practices for Building and Deploying J2EE Applications

Web Component Development with Servlet and JSP Technologies, Java EE 6

Deployment. See Packaging and deployment processes

Struts: Struts 1.x. Introduction. Enterprise Application

Outline. Project Goal. Overview of J2EE. J2EE Architecture. J2EE Container. San H. Aung 26 September, 2003

Transcription:

Contents at a Glance 1 Java EE and Cloud Computing... 1 2 The Oracle Java Cloud.... 25 3 Build and Deploy with NetBeans.... 49 4 Servlets, Filters, and Listeners... 65 5 JavaServer Pages, JSTL, and Expression Language... 97 6 JavaServer Faces... 127 7 Enterprise JavaBeans (Session Beans).... 151 8 Web Services... 179 9 Persistence Using the Oracle Database Cloud Service.... 203 A Java EE Technologies and JSRs... 233 B Application Servers Compatible with Java EE 5, 6, and 7.... 243 C Supported and Unsupported Technologies, Services, and APIs... 247 Index... 253 v

Contents Foreword... xiii Acknowledgments... xvii Introduction... xix 1 Java EE and Cloud Computing... 1 Java Editions... 2 Java EE Applications... 3 Application Servers... 4 Open Source vs. Commercial... 4 Reference Implementation... 6 API and Technology Specification... 7 Java Community Process (JCP) and Java EE... 8 Java EE Compatible... 9 Profiles... 10 Web Profile... 10 Cloud Computing... 11 Going Around in Circles... 11 What Is Cloud Computing?... 12 Why Cloud Computing?... 14 Concerns About Cloud Computing... 15 Private, Public, and Hybrid Clouds... 16 Cloud as a Leveler... 16 Java EE on the Cloud... 16 Competing Technologies: Alternatives to Java on the Cloud... 17 vii

viii Java EE Applications on Oracle Java Cloud Standards and Java EE 7... 19 Java EE Vendors and Alternatives... 19 Summary... 24 2 The Oracle Java Cloud... 25 Oracle s Cloud Foray... 26 Oracle Cloud Constituents... 26 SaaS... 27 IaaS... 27 PaaS... 27 Java Cloud... 28 Pricing... 28 Trial Signup... 32 My Services... 32 IDE Integration... 35 Oracle Java Cloud Service SDK... 36 Users and Roles... 41 Summary... 47 3 Build and Deploy with NetBeans... 49 Development IDE... 50 Why NetBeans?... 50 Building with Java EE Technologies... 51 First NetBeans Project... 51 What Happened?... 55 Files and Directories Generated... 58 The Cloud Deployment... 59 Clean and Build, Verify... 60 Web Application Structure... 60 Directories... 61 Packaging the Application... 62 We Are at WAR... 62 Summary... 63 4 Servlets, Filters, and Listeners... 65 Servlets... 66 Servlet Interface... 67 HttpServlet... 67 Servlet One... 68 Servlet Class... 72

Contents ix HttpServletRequest... 73 HttpServletResponse... 73 web.xml... 73 weblogic.xml... 75 Sharing Data... 75 Session Management... 79 HttpSession... 79 RequestDispatcher... 80 WebLogic-Specific Servlet Capabilities on OJC... 82 Filters... 83 Listeners... 86 View Java Logs... 91 Summary... 95 5 JavaServer Pages, JSTL, and Expression Language... 97 The Origin of JSP... 98 JSP on the Oracle Java Cloud... 99 JSP Internals... 100 JSP Lifecycle... 100 Servlet Code... 101 JSP Directives... 105 JSP Declaration... 107 JSP Scriptlets... 107 JSP Expressions... 108 Implicit Objects... 109 JSP Comments... 110 Tags and Expressions... 111 Custom Tags... 112 Expression Language... 113 JSTL Libraries... 114 Using Tags in a JSP... 120 Summary... 126 6 JavaServer Faces... 127 From JSP to Struts to JSF... 128 JSF on the Oracle Java Cloud... 129 Facelets... 129 JSF Managed Beans... 134 Validation... 142 Ajax... 145

x Java EE Applications on Oracle Java Cloud Templates... 146 Summary... 150 7 Enterprise JavaBeans (Session Beans)... 151 Containers... 152 EJB in OJC... 153 Why EJB?... 153 Session Beans... 154 Stateless... 155 Stateful... 155 Interfaces: Local or Remote... 155 Developing an Enterprise Application with EJBs... 157 New Session Bean... 159 Inject the Session Bean into the Servlet... 163 Package and Run from NetBeans... 164 Deploy Using the Java Cloud Services Control... 164 Lifecycle of a Session Bean... 169 Transaction Management... 171 Rollback and Exception Handling... 176 Summary... 177 8 Web Services... 179 Developing a SOAP Web Service... 181 WSDL... 186 Web Service Client... 187 RESTful Web Services Using JAX-RS API... 194 Building RESTful Web Services on the OJC... 195 JAX-RS 1.1 Fix... 196 Modify the REST Resource... 197 RESTful Web Service Client... 199 Summary... 202 9 Persistence Using the Oracle Database Cloud Service... 203 Persistence on the Oracle Cloud... 204 Oracle Database Cloud Service... 204 Explore Database Cloud... 205 Oracle Apex................................... 210 Java Cloud: Database Cloud Integration... 211 JPA... 212 Persistence Providers... 213 Entity... 213

Contents xi Developing an Entity Application... 214 Add Entity from a Servlet... 219 Find and Update Entity... 222 Java Persistence Query Language... 223 CRUD JSF for Entity... 229 Summary... 232 A Java EE Technologies and JSRs... 233 Java Platform, Enterprise Edition 5 (Java EE 5) JSR 244... 234 Java Platform, Enterprise Edition 6 (Java EE 6) JSR 316... 235 Java Platform, Enterprise Edition 6 (Java EE 6) Web Profile... 237 Java Platform, Enterprise Edition 7 (Java EE 7) JSR 342... 238 Java Platform, Enterprise Edition 7 (Java EE 7) Web Profile... 241 B Application Servers Compatible with Java EE 5, 6, and 7... 243 Java EE 5 Compatible Implementations... 244 Java EE 6 Full Platform Compatible Implementations... 245 Java EE 6 Web Profile Compatible Implementations... 245 Java EE 7 Full Platform Compatible Implementations... 246 Java EE 7 Web Profile Compatible Implementations... 246 C Supported and Unsupported Technologies, Services, and APIs.. 247 Technologies and Services Supported... 248 Java EE 5 and 6 Specifications Supported... 248 Public WebLogic Server 10.3.6 APIs and Capabilities Supported... 249 Unsupported Features and APIs... 250 Unsupported WebLogic Server 10.3.6 APIs and Capabilities... 251 Whitelist Violations... 252 Index... 253