Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Java Programming with CORBA: Advanced Techniques for Building Distributed Applications (OMG) Paperback – 9 Feb 2001

See all formats and editions Hide other formats and editions
Amazon Price New from Used from
"Please retry"
£85.85 £0.01

Product details

  • Paperback: 752 pages
  • Publisher: John Wiley & Sons; 3rd Edition edition (9 Feb 2001)
  • Language: English
  • ISBN-10: 0471376817
  • ISBN-13: 978-0471376811
  • Product Dimensions: 19.3 x 4.1 x 23.4 cm
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (4 customer reviews)
  • Amazon Bestsellers Rank: 974,210 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Discover books, learn about writers, and more.

Product Description

From the Back Cover

"This book will be invaluable for those who are serious about building distributed applications." -Michael Cook, Executive Director, Telcordia Technologies

Join the thousands of Java developers who relied on the previous editions of this book for expert guidance on programming with distributed objects and find out what's new in the world of Java and CORBA. The authors cover everything you need to write powerful, Web-integrated enterprise applications using the latest generation of Java ORBs. You can use this book both as a tutorial and as a reference guide to the latest CORBA specifications. With the help of in-depth coding examples, this exciting, fully updated new edition will show you how to:

Program with the Portable Object Adaptor (POA) Make the most of CORBA Naming, Trading, Event, and Notification Services Understand the Persistent State Service (PSS) and the CORBA Component Model (CCM) Plan security for Java/CORBA applications using firewalls and CORBA Security Design your applications for performance and scalability

The Companion Web site includes: Complete source code for all the examples in the book
Links to Java ORB Web sites

Excerpt. © Reprinted by permission. All rights reserved.

CHAPTER 1 Benefits of Java Programming with CORBA

This book brings together two of the major object models used in distributed computing: the Common Object Request Broker Architecture (CORBA) and Java. Each represents a different approach to distributed computing. On one hand, CORBA defines an abstract, inherently distributed object model and provides an infrastructure that enables invocations of operations on these objects as if they were local to the application using them. The implementations of objects can be located anywhere on a network and implemented in any programming language and on any operating system for which implementations of the CORBA infrastructure exist. The heterogeneity between the caller of the operation and its implementation is hidden by the CORBA infrastructure.

Java, on the other hand, is a regular, non-distributed, object-oriented programming language. Its main contribution to distributed computing is the introduction of platform-independent, low-level code that can be dynamically loaded and linked. When it is integrated with World Wide Web protocols and browsers, it results in what are known as applets. In this approach, instead of invoking a method on a remote object, the code for the class providing the method is transferred across the network and run locally, and then the method is invoked on a local object instance. Java has been extended with its own version of remote invocations also to support invocation-based distributed computing. This extension is known as Java Remote Method Invocation (RMI).

In 1999, Java was split into three different editions: the Java 2 standard Edition (J2SE), the Java 2 Micro Edition (J2ME), and the Java 2 Enterprise Edition (J2EE). A subset of the CORBA standard, the basic IDL-based communications mechanism, is part of J2SE. Furthermore, the J2EE standard includes Enterprise JavaBeans (EJB). EJB is a component model for distributed Java programming. The EJB specification mandates RMI as the interface for communication between objects. The initial specification did not define a specific transfer protocol. For the 2.0 version of EJB, CORBA's Internet Inter-ORB Protocol (IIOP) has been selected as the protocol for ensuring interoperability. That makes EJB a component model on top of a Java/CORBA foundation.

Java and CORBA converge when a mapping is defined from CORBA's interface definition language, OMG IDL, to Java. When combined with a run-time system that supports this language mapping, the result is a Java Object Request Broker (Java ORB). For the remainder of this chapter we discuss this combination of the two paradigms. We explain the advantages of Java for CORBA users and the advantages of CORBA for Java users in sections 1.1 and 1.2. In section 1.3, we also explain the relationship between Java ORBs ands RMI.

1 .1 What Does Java offer CORBA Programmers?

The main reasons for using a Java language mapping OMG IDL can be broadly categorised into features unique to the Java programming language and features of Java as a development platform:

* Object-Oriented Language
* Portability across platforms
* Web Integration
* Component model

1.1.1 Object-Oriented Programming Language

Java ORBs provide the same functionality as any other ORB. The main language bindings offered by current ORB products are C++, C, COBOL, ADA and Smalltalk. In our experience, Java provides a cleaner approach programming than C++, with fewer memory management responsibilities, no pointers, a less confusing syntax, and simpler method resolution rules. Moreover, its language syntax and its object model blend well with IDL. In other words, the IDL language mapping defined by the OMG is conceptually straightforward, so Java programmers are faced with only a moderate set of extensions when compared to other languages.

Additionally, Java provides features not available in C or C-++, such as automatic garbage collection and integrated thread support. These features are generally desirable and particularly useful for distributed systems programming, as we shall see throughout this book.

1.1.2 Portability of Applications across Platforms

Java programs are highly portable due to the standardized byte-code representation generated by Java compilers. Wide industry support means that compilers and run-time systems for virtually any hardware platform and operating system are available, from smart cards to supercomputers. For improved support for this diversity of environments, Sun Microsystems provides three different editions of the Java 2 platform. The Micro Edition targets consumer devices such as pagers, PDAS, or even smart cards. The Standard Edition covers the traditional programming language features and JavaBeans, the Java component model. The Enterprise Edition provides a server-side component model and framework that together make up a Java Application Server.

The wide availability of the Java platform is a significant advantage over other programming languages because a single source code or compiled byte-code set will be usable on any platform without porting. This makes Java the ideal platform for component programming, as the deployment platform is not determined by hardware or operating systems; the Java platform is the deployment platform. Consequently, development and maintenance costs can be significantly reduced.

Java's portability also means that if your Java ORB is implemented entirely in Java, then it is automatically available on any system for which a Java platform exists. Many Java ORBs are indeed implemented entirely in Java. Another big plus of the Java platform is that it already contains a limited CORBA implementation: Java IDL is part of both the Standard and the Enterprise Edition of the Java 2 platform.

1.1.3 Web Integration

Java is often referred to as the programming language for the internet. What does this mean? Basically, it means Java integrates well with both web browsers and web servers and thus provides excellent support for the development of web based applications. For CORBA applications that need to be integrated with web infrastructure, Java is the natural choice.

The Java applet model allows execution of Java code embedded in a html page, directly from a web browser. Due to the varying support for Java in web browsers and the bandwidth limitation of modem connections, applets have had only limited success in Internet applications.

Inside This Book (Learn More)
First Sentence
This book brings together two of the major object models used in distributed computing: the Common Object Request Broker Architecture (COBRA) and Java. Read the first page
Explore More
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Customer Reviews

4.2 out of 5 stars
Share your thoughts with other customers

Most Helpful Customer Reviews

2 of 2 people found the following review helpful By Krystan Honour on 14 Oct 2001
Format: Paperback
A book of this calibre need no long rambling review. If you are looking to deploy complex corba solutions and use java somewhere in the mix then this book is for you. This is the bible as far as java + corba go!
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
Format: Paperback
This book is a bit heavy to read. I suggest you get a background introduction online first. Otherwise, it may leave you bewildered and confused with alot of technical material without some clear grounding in objects and references. There isn't enough balance in this book between theory and practical application. But, gives you a full in depth understanding of what Corba is and it's future. Make sure you understand fully how Java works before embarking on reading this book. However, it does cover some fundamental theories of Java and relates them to how they are extended in Corba.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
By A Customer on 15 Aug 2002
Format: Paperback
An excellent book if you are new to Corba, or if you are looking to hone advanced techniques.
Covers, amongst other subjects, programming Portable Interceptors, and Portable Object Adapters, all with working Java examples.
The authors speak from experience. Specifically G Brose is the principle author and maintainer of the JacORB project. An excellent, and well specified open source Java ORB.
This book is a must for those interested in distributed computing and wondering what Corba has to offer.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
Format: Paperback
I've the 2nd edition and although the book is nice there are a big lack of good examples and there are mistake in the code too. The table of contents is the same so i may guess they just update the material to follow the new spec' of CORBA, which may mean that the lack of good examples will go on.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Helpful Customer Reviews on Amazon.com (beta)

Amazon.com: 4 reviews
5 of 6 people found the following review helpful
A Must Have 31 Mar 2001
By Amazon Customer - Published on Amazon.com
Format: Paperback
All of the other books cover old versions of CORBA, but this book covers only CORBA 3.0. The examples could be better, but that's ok since the topics are so well covered. I read the first few chapters, and now I use this book as reference all the time. I highly recommend this book to any Java programmer. If you are a C++ programmer, this book can still be useful but not much.
4 of 5 people found the following review helpful
Very Good book! 16 April 2002
By Ahmed Matar - Published on Amazon.com
Format: Paperback
This is a great book that covers a lot! Corba is a bit difficult at first for the beginner. This book attempts to explain the complex Corba architecture clearly, but you may still be highly confused in the beginning. Don't worry and be patient, Corba is complex and after you start understanding how Corba is designed, you'll really start to appreciate this book which is filled with a lot of detailed info on Corba. It not only Covers the basic Corba topics like the IDL to Java mapping, the POA policies (very important), the Naming Service and DII&DSI, but also covers advanced topics like the Trading Service, Notification Service and the PSS. Other advanced topics include Security, Performance and Management. I also highly recommend the Pure Corba Book by Bolton which might be a bit easier to read in the beginning for a Corba newbie.
8 of 11 people found the following review helpful
The authors can learn a lot from Vinoski's book 2 May 2001
By A Customer - Published on Amazon.com
Format: Paperback
This is a 100% superficial book. Dont waste any money on this. It doesn t deal with the the concepts at all. But then the examples are horrible too. Though it has the namestamp of CORBA 3.0, everything is totally vague. I will strongly suggest Advanced Corba Programming in C++ for everyone - no matter if you are doing C++ or Java. This I beleive is the only book worth spending money in CORBA.
0 of 4 people found the following review helpful
Great seller! A++++ 4 July 2005
By Anna M. Lahoud - Published on Amazon.com
Format: Paperback
Product in outstanding condition, as promised. Arrived in very short time! Outstanding seller!!!
Were these reviews helpful? Let us know