Oracle8i Enterprise JavaBeans and CORBA Developer's Guide
Release 8.1.5

A64683-01

Library

Product

Contents

Index

Prev Next


Preface

This guide gets you started building Enterprise JavaBeans and CORBA applications for Oracle8i. It includes many code examples to help you develop your application.

Who Should Read This Guide?

Anyone developing server-side Enterprise JavaBeans or CORBA applications for Oracle8i will benefit from reading this guide. Written especially for programmers, it will also be of value to architects, systems analysts, project managers, and others interested in network-centric database applications. To use this guide effectively, you must have a working knowledge of Java and Oracle8i. If you are developing CORBA applications, this guide assumes that you have some familiarity with CORBA. If you are developing EJB applications, reading the EJB 1.0 specification to supplement this Guide will be of great help. See Suggested Reading.

How This Guide Is Organized

This guide consists of six chapters and four appendices:

Chapter 1, "Overview", presents a brief overview of the EJB and CORBA development models from an Oracle8i perspective.

Chapter 2, "Enterprise JavaBeans", discusses EJB development for the Oracle8i server. Although not a tutorial on EJBs, this chapter discusses some of the basic EJB concepts covered in the Sun Microsystems specification.

Chapter 3, "Developing CORBA Applications", describes techniques for developing CORBA server objects that run in the Oracle8i data server.

Chapter 4, "Connections and Security", covers more advanced information than that in Chapters 2 and 3, including session management and alternative authentication procedures.

Chapter 5, "Transaction Handling", documents the transaction interfaces that you can use when developing both EJB and CORBA applications.

Chapter 6, "Tools", documents the command-line tools that you need to develop your CORBA or EJB application.

Appendix A, "Example Code: CORBA", includes Java and IDL source code for the examples.

Appendix B, "Example Code: EJB", contains Java source code for the EJB examples.

Appendix C, "Comparing the Oracle8i JServer and VisiBrokerTM VBJ ORBs", discusses some of the fundamental differences between developing CORBA applications for VisiBroker and the Oracle8i JServer.

Appendix D, "Abbreviations and Acronyms", provides a handy list of acronyms.

Notational Conventions

This guide follows these conventions:

Italic  

Italic font denotes terms being defined for the first time, words being emphasized, error messages, and book titles.  

Courier  

Courier font denotes Java program names, file names, path names, and Internet addresses.  

Java code examples follow these conventions:

{ }
 

Braces enclose a block of statements.  

//
 

A double slash begins a single-line comment, which extends to the end of a line.  

/*  */
 

A slash-asterisk and an asterisk-slash delimit a multi-line comment, which can span multiple lines.  

...
 

An ellipsis shows that statements or clauses irrelevant to the discussion were left out.  

lower case
 

Lower case is used for keywords and for one-word names of variables, methods, and packages.  

UPPER CASE
 

Upper case is used for names of constants (static final variables) and for names of supplied classes that map to built-in SQL datatypes.  

Mixed Case
 

Mixed case is used for names of classes and interfaces and for multi-word names of variables, methods, and packages. The names of classes and interfaces begin with an upper-case letter. In all multi-word names, the second and succeeding words begin with an upper-case letter.  

Suggested Reading

Programming with VisiBroker, by D. Pedrick et al. (John Wiley and Sons, 1998) provides a good introduction to CORBA development from the VisiBroker point of view.

Core Java by Cornell & Horstmann, second edition, Volume II (Prentice-Hall, 1997) has good presentations of several Java concepts that are relevant to EJBs. For example, the Remote Method Invocation (RMI) interface is discussed in detail in this book.

Online Sources

There are many useful online sources of information about Java. For example, you can view or download guides and tutorials from Sun Microsystems home page on the Web:

http://www.sun.com

Another popular Java Web site is:

http://www.gamelan.com

For Java API documentation, see:

http://www.javasoft.com

Related Publications

Occasionally, this guide refers you to the following Oracle publications for more information:

Oracle8i Application Developer's Guide - Fundamentals

Oracle8i Java Developer's Guide

Oracle8i JDBC Developer's Guide and Reference

Oracle8i SQL Reference

Oracle8i SQLJ Developer's Guide and Reference

Your Comments Are Welcome

We appreciate your comments and suggestions. In fact, your opinions are the most important feedback we receive. We encourage you to use the Reader's Comment Form at the front of this book. You can also send comments to the following address:

Documentation Manager, Java Products Group
Oracle Corporation
500 Oracle Parkway
Redwood Shores, CA 94065
USA




Prev

Next
Oracle
Copyright © 1999 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index