Tutorial Downloads .com

Home

Oracle Application Server Containers for J2EE Services Guide

This Java tutorial covers the details of Oracle Application Server Containers for J2EE Services Guide.

Introduction to OC4J Services
Oracle Application Server Containers for J2EE (OC4J) supports the following technologies, each of which has its own chapter in this book:
-Java Naming and Directory Interface (JNDI)
-Java Message Service (JMS)
-Remote Method Invocation (RMI)
-Data Sources
-Java Transaction API (JTA)
-J2EE Connector Architecture (J2CA)
-Java Object Cache
This chapter gives a brief overview of each technology in the preceding list.
Java Naming and Directory Interface (JNDI)
The Java Naming and Directory Interface (JNDI) service that is implemented by OC4J provides naming and directory functionality for Java applications. JNDI is defined independently of any specific naming or directory service implementation. As a result, JNDI enables Java applications to access different, possibly multiple, naming and directory services using a single API. Different naming and directory service provider interfaces (SPIs) can be plugged in behind this common API to handle different naming services.
See Chapter 2, "Java Naming and Directory Interface", for details.
Java Message Service (JMS)
Java Message Service (JMS) provides a common way for Java programs to access enterprise messaging products. JMS is a set of interfaces and associated semantics thatdefine how a JMS client accesses the facilities of an enterprise messaging product.
See Chapter 3, "Java Message Service (JMS)", for details.
Note: In addition to these technologies, OC4J supports the JavaMail API, the JavaBeans Activation Framework (JAF), and the Java API for XML Processing (JAXP). For information about these technologies, see the Sun Microsystems J2EE documentation.

Remote Method Invocation (RMI)
Remote Method Invocation (RMI) is one Java implementation of the remote procedure call paradigm, in which distributed applications communicate by invoking procedure calls and interpreting the return values. OC4J supports RMI over both the Oracle Remote Method Invocation (ORMI) protocol
and over the Internet Inter-ORB Protocol (IIOP). By default, OC4J uses RMI/ORMI. In addition to the benefits provided by RMI/IIOP, RMI/ORMI provides additional features such as invoking RMI/ORMI over HTTP, a technique known as "RMI tunneling."
See Chapter 5, "Oracle Remote Method Invocation", for details on RMI/ORMI. Version 2.0 of the Enterprise Java Beans (EJB) specification uses RMI over the Internet Inter-ORB Protocol (IIOP) to make it easy for EJB-based applications to invoke one another across different containers. You can make your existing EJB interoperable without changing a line of code: simply edit the bean properties and redeploy. J2EE uses RMI to provide interoperability between EJBs running on different containers.
See Chapter 6, "J2EE Interoperability", for details on interoperability (RMI/IIOP).
Data Sources
A data source, which is the instantiation of an object that implements the javax.sql.DataSource interface, enables you to retrieve a connection to a
database server.
See Chapter 4, "Data Sources", for details.
Java Transaction API (JTA)
EJBs use Java Transaction API (JTA) 1.0.1 for managing transactions. These transactions involve single-phase and two-phase commits.
See Chapter 7, "Java Transaction API", for details.
J2EE Connector Architecture (J2CA)
J2EE Connector Architecture (J2CA) defines a standard architecture for connecting the J2EE platform to heterogeneous Enterprise Information Systems (EISs). Examples of EISs include ERP, mainframe transaction processing, database systems, and legacy applications that are not written in the Java programming language.
See Chapter 8, "J2EE Connector Architecture (J2CA)", for details.
Java Object Cache
The Java Object Cache (formerly OCS4J) is a set of Java classes that manage Java objects within a process, across processes, and on a local disk. The primary goal of the Java Object Cache is to provide a powerful, flexible, easy-to-use service that significantly improves server performance by managing local copies of objects that are expensive to retrieve or create. There are no restrictions on the type of object that can be cached or the original source of the object. The management of each object in the cache is easily customized. Each object has a set of attributes associated with it to control such things as how the object is loaded into the cache, where the object is stored (in memory, on disk, or both), how it is invalidated (based on time or by explicit

Java Naming and Directory Interface
This chapter describes the Java Naming and Directory Interface (JNDI) service that is implemented by Oracle Application Server Containers for J2EE (OC4J) applications. It covers the following topics:
- Introduction
- Constructing a JNDI Context
- The JNDI Environment
- Creating the Initial Context in OC4J
Introduction
JNDI, part of the J2EE specification, provides naming and directory functionality for Java applications. Because JNDI is defined independently of any specific naming or directory service implementation, it enables Java applications to access different naming and directory services using a single API. Different naming and directory service provider interfaces (SPIs) can be plugged in behind this common API to handle different naming services.

- Constructing a JNDI Context.
- The JNDI Environment.
-Creating the Initial Context in OC4J.
-From J2EE Application Clients.
-Accessing Objects from an Application Client.
* From J2EE Application Components.
   You can use initial context factories in OC4J to access the following objects from J2EE application components:
- Objects in the Same Application.
- Objects Not in the Same Application.
Objects Not in the Same Application
Use one of the following context factories to access objects not in the same application:
- RMIInitialContextFactory.
- IIOPInitialContextFactory.

JNDI State Replication
JNDI state replication ensures that changes made to the context on one OC4J instance of an OC4J cluster is replicated to the name space of every other OC4J instance. When JNDI state replication is enabled, you can bind a serializable value into an application context (using a remote client, EJB, or servlet) on one server and read it on another server. You can also create and destroy subcontexts in this way.
This section explains:
- Enabling JNDI State Replication.
- JNDI State Replication Limitations.

Java Message Service (JMS)
This chapter discusses the following topics:
- Overview
- Oracle Application Server JMS
- Resource Providers
- Oracle JMS
- Map Logical Names in Resource References to JNDI Names
- Third-Party JMS Providers
- Using Message-Driven Beans
- High Availability and Clustering for JMS

Abnormal Termination.
Predefined OracleAS JMS Exception Queue.
Message Paging.
OracleAS JMS Configuration File Elements for jms.xml.
OracleAS JMS System Properties.
Resource Providers.
Configuring a Custom Resource Provider.
Oracle JMS.
Using OJMS as a Resource Provider.
Map Logical Names in Resource References to JNDI Names.
JNDI Naming for OracleAS JMS.
Third-Party JMS Providers.
Using WebSphere MQ as a Resource Provider.
Using SonicMQ as a Resource Provider.
Using Message-Driven Beans.
High Availability and Clustering for JMS.
OracleAS JMS High Availability Configuration.

Read more about Oracle Application Server Containers for J2EE Services Guide


Resource: http://download-uk.oracle.com/docs/cd/B14099_13/web.1012/b14012.pdf
Posted By : Roseane Mira
On date : 07.15.08

Most used J2EE Tutorials

J2EE Tutorials ( Ebooks , PDF's )
Performance Tuning Essentials for Java and J2EE Web Application Architecture (based J2EE 1.4 Tutorial) WebObjects J2EE Programming Guide An Architects Guide Enterprise Application Integration J2EE and .net
JSP - Java Server Page (j2ee term)
JSP - Java Server Page (j2ee term) is a keyword/term used in JAVA - J2EE for Forms and Designer Developers
J2EE Interview Questions & Answers
What is "abstract schema, What is "access control, What is "ACID, What is "activation", What is "applet container", What is "application assembler" , What is "application component provider", What is "asant", What is backing bean , What is binding (JavaServer Faces technology) , What is business logic , What is CDATA , What is XSLTC , What is XSLT, What is XPath ... etc.. etc
OC4J - Oracle Containers for Java (j2ee term)
OC4J - Oracle Containers for Java (j2ee term) is a keyword/term used in JAVA - J2EE for Forms and Designer Developers
Java Programming Tutorial
This Java tutorial covers the details of Java Programming.The JAVA™ programming language is now being used to write distributed Internet applications. Unlike traditional languages, the JAVA™ language was designed to be used on a network.
Java/J2EE Job Interview Companion Book
Have you got the time to read 10 or more books and articles to add value prior to the interview? This book has been written mainly from the perspective of Java/J2EE job seekers and interviewers.
ADF BC – ADF Business Components (j2ee term)
ADF BC – ADF Business Components (j2ee term)is a keyword/term used in JAVA - J2EE for Forms and Designer Developers
Core J2EE Patterns tutorial Best Practices and Design Strategies
Core J2EE Patterns is the gospel that should accompany every J2EE application server...Built upon the in-the-trenches expertise of its veteran architect authors, this volume unites the platform's many technologies and APIs in a way that application architects can use, and provides insightful answers to the whys, whens, and hows of the J2EE platform
Struts 2 in Action tutorial book
The original Struts project revolutionized Java web development and its rapid adoption resulted in the thousands of Struts-based applications deployed worldwide. Keeping pace with new ideas and trends, Apache Struts 2 has emerged as the product of a merger between the Apache Struts and OpenSymphony WebWork projects, united in their goal to develop an easy-to-use yet feature-rich framework.
Servlets and JSP Passing the Sun Certified Web Component Developer Exam tutorial
Isn't it time you learned the latest (J2EE 1.4) versions of Servlets & JSPs? This book will get you way up to speed on the technology you'll know it so well, in fact, that you can pass the Sun Certified Web Component Developer (SCWCD) 1.4 exam.
MVC - Model View Controller (j2ee term)
MVC - Model View Controller (j2ee term) is a keyword/term used in JAVA - J2EE for Forms and Designer Developers
Oracle Application Server Containers for J2EE Services Guide
This Java tutorial covers the details of Oracle Application Server Containers for J2EE Services Guide.
Oracle Containers for J2EE Security Guide
This Java tutorial covers the details of Oracle Containers for J2EE Security Guide.This manual discusses Oracle Containers for J2EE (OC4J) security features. This preface contains these topics:
JVM - Java Virtual Machine (j2ee term)
JVM - Java Virtual Machine (j2ee term) is a keyword/term used in JAVA - J2EE for Forms and Designer Developers
JSF - Java Server Faces (j2ee term)
JSF - Java Server Faces (j2ee term) is a keyword/term used in JAVA - J2EE for Forms and Designer Developers

Latest added J2EE Tutorials

Servlets and JSP Passing the Sun Certified Web Component Developer Exam tutorial
Isn't it time you learned the latest (J2EE 1.4) versions of Servlets & JSPs? This book will get you way up to speed on the technology you'll know it so well, in fact, that you can pass the Sun Certified Web Component Developer (SCWCD) 1.4 exam.
Struts 2 in Action tutorial book
The original Struts project revolutionized Java web development and its rapid adoption resulted in the thousands of Struts-based applications deployed worldwide. Keeping pace with new ideas and trends, Apache Struts 2 has emerged as the product of a merger between the Apache Struts and OpenSymphony WebWork projects, united in their goal to develop an easy-to-use yet feature-rich framework.
Core J2EE Patterns tutorial Best Practices and Design Strategies
Core J2EE Patterns is the gospel that should accompany every J2EE application server...Built upon the in-the-trenches expertise of its veteran architect authors, this volume unites the platform's many technologies and APIs in a way that application architects can use, and provides insightful answers to the whys, whens, and hows of the J2EE platform
Enterprise JavaBeans 3 Tutorial Book
If you're up on the latest Java technologies, then you know that Enterprise JavaBeans (EJB) 3.0 is the hottest news in Java this year. In fact, EJB 3.0 is being hailed as the new standard of server-side business logic programming.
Java/J2EE Job Interview Companion Book
Have you got the time to read 10 or more books and articles to add value prior to the interview? This book has been written mainly from the perspective of Java/J2EE job seekers and interviewers.
The J2EE Tutorial for the Sun ONE Platform
THIS tutorial is a beginner’s guide to developing J2EE applications for the Sun™ Open Networking Environment (Sun ONE) platform. Here we cover all the things you need to know to make the best use of this tutorial.This tutorial is intended for programmers interested in developing J2EE applications using the Sun ONE platform. Specifically, it uses the Sun ONE Studio 4, Enterprise Edition for Java to develop J2EE applications and deploy them on Sun ONE Application Server 7.
Java Programming Tutorial
This Java tutorial covers the details of Java Programming.The JAVA™ programming language is now being used to write distributed Internet applications. Unlike traditional languages, the JAVA™ language was designed to be used on a network.
Oracle Application Server Containers for J2EE Security Guide
This Java tutorial covers the details of Oracle Application Server Containers for J2EE Security Guide.This manual discusses how to make effective use of the Oracle Application Server Containers for J2EE (OC4J) security features.
Designing Enterprise Applications
This Java tutorial covers the details of Designing Enterprise Applications.SINCE its introduction more than two years ago, the Java 2 Platform, Enterprise Edition (J2EE), has rapidly established a new model for developing distributed applications.
Sun ONE Application Server 7 Developer’s Guide to J2EE Features
This Java tutorial covers the details of Sun ONE Application Server 7 Developer’s Guide to J2EE Features.This guide describes how to create and run Java™ 2 Platform, Enterprise Edition (J2EE™ platform) applications that follow the new open Java standards model for the Java™Database Connectivity (JDBC™), transaction, Java Naming and Directory Interface™ (JNDI), Java™ Message Service (JMS), and JavaMail™ APIs, on the Sun™ Open Net Environment (Sun ONE) Application Server 7.