О чем эта книга?
|
Если Вы - опытный программист на JAVA, или эксперт
в области объектного программирования распределенных систем, или пытаетесь
быть и тем и другим, - эта книга даст Вам необходимое программистское ноу-хау
для объединения двух этих технологий при разработке объектных клиент-серверных
Web-систем. В книге много примеров кода программ, учебных материалов, примеров
оптимальных решений при разработке систем. |
-
От основ архитектуры ORB до активации объектов
-
Объяснения и эталонные тесты для сравнения CORBA с ее конкурентами:
Java/RMI, Java/DCOM, Sockets и HTTP/CGI.
-
Подробно о Netscape ORB: VisiBroker для Java; как с помощью Caffeine
писать CORBA/Java-приложения, не обращаясь к IDL.
-
Эталонный дебит-кредит тест для JDBC-баз данных для сравнения 2-х и
3-х уровневых вариантов систем клиент-сервер.
-
Club Med клиент-серверное Интернет-приложение с использованием CORBA,
Java, JDBC и апплетов.
-
Показаны динамические возможности CORBA, в том числе: динамические
вызовы, интроспекция объекта, репозитарий интерфейсов.
-
Сравниваются эффективность ORB для C++ и Java.
-
Содержит CD-ROM с 15-ю клиент-серверными Java-приложениями.
More Detail
This book explains the intersection of CORBA and Java in depth.
It is also a gentle guide to client/server programming with CORBA and Java.
The book introduces CORBA to Java programmers. However, we do not introduce
Java to CORBA programmers. We assume that you have a working knowledge
of the Java JDK 1.0. If you don't, there are dozens of books that provide
an introduction to the JDK 1.0 facilities. Our book starts with JDK 1.1;
we explain in-depth anything that has to do with the new JDK facilities--for
example, RMI and JDBC.
This book consists of seven parts that build on each other:
-
Part 1 starts with an overview of what CORBA and Java do for
each other. We explain the 3-tier Object Web client/server model. We provide
a birds-eye view of CORBA/IIOP for Java programmers. We provide an in-depth
overview of Java for CORBA architects and programmers. We explain the new
Java Enterprise model and services. Even seasoned Java programmers, will
find new information here; it prepares you for life in the post JDK 1.0
era. If you come from a client/server background, this discussion will
help you understand what the Object Web is all about. We conclude the Part
by picking a CORBA/Java ORB for this book.
-
Part 2 starts our exploration of the CORBA/Java programming
model. We develop a small client/server Ping that serves as a mini crash-course
in core CORBA/Java programming. This simple program can be surprisingly
useful. In Part 2, we use it to do the following performance comparisons:
local invocations versus remote invocations, Java applets versus Java client
applications, JIT compilers versus interpreters, and C++ ORBs versus Java
ORBs. Finally, we use the program to show you how to call a C++ object
from Java, and vice versa.
-
Part 3 shows you how to program CORBA's dynamic object facilities.
The dynamic CORBA lets you create very flexible systems where clients and
servers discover each other at run time. We look at at two very versatile
programming mechanisms: dynamic invocations and callbacks.
With CORBA's dynamic invocations, any Java client can construct a remote
method call on-the-fly, and then invoke it. With callbacks, clients can
also be servers. Callbacks let servers call Java clients wherever they
are. You will learn how to create multithreaded Java objects that are both
clients and servers. This chapter also provides Ping performance numbers
for CORBA's dynamic facilities.
-
Part 4 compares CORBA/Java with its competitors: 1) legacy
Internet middleware--including Java Sockets and CGI/HTTP, and 2) non-CORBA
Java ORBs--including JavaSoft's RMI and Microsoft's DCOM. We also cover
Caffeine, which is the Netscape/Visigenic answer to RMI; it provides
an RMI-like programming environment on top of CORBA/IIOP. Caffeine shows
you how to write CORBA distributed objects without CORBA IDL. It demonstrates
a pure Java alternative to the traditional CORBA development process. In
addition to the programming examples, we provide in-depth tutorials on
each of these technologies. We also run Ping benchmarks to give you a feeling
for their relative performance. It's not every day that you see the same
Java client/server program running over Sockets, HTTP/CGI, RMI, DCOM, and
CORBA.
-
Part 5 is about the Existential CORBA. We explain CORBA's Interface
Repository and introspection facilities. We show you how an object discovers
its intergalactic universe. We also cover CORBA's activation services.
An ORB must provide the illusion that that all of its objects--and there
can be millions of them--are up and running and active all the time, even
though they are not. This illusion keeps the client code simple but shifts
the implementation burden to the server side. You must write code that
cooperates with the ORB when you start and stop your objects or when the
ORB starts up or shuts down.
-
Part 6 is about 2-tier and 3-tier client/server programming
using Java, CORBA, and JDBC. In some circles, client/server is synonymous
with SQL databases. This is not too surprising considering that SQL database
is the most prevalent application model for client/server, today. So one
way to determine if CORBA and Java are ready for client/server prime time
is to see how well they do database. Part 6 starts out with the world's
longest tutorial chapter on JDBC. Then we develop a Debit-Credit benchmark
that compares the performance of 2-tier versus 3-tier client/server systems
using CORBA, Java, and JDBC. We will also compare the performance of static
SQL versus Dynamic SQL, JDBC-style. You will learn--in a fun way--some
of the architectural trade-offs of the client/server discipline.
-
Part 7 concludes--in grand finale style--with a Web-based Club
Med Client/Server application. This chapter brings it all together. We
show you how to associate applet-generated AWT GUI events with method invocations
on CORBA/Java server objects. In this 3-tier client/server application,
the middle-tier objects interact with both the Web-applet clients and the
Club Med JDBC database. We also include a poor man's TP Monitor for managing
multithreaded server objects.
Большая часть материала излагается впервые. Повидимому, это первая
книга, где описываются системы клиент-сервер, использующие CORBA, Java
и JDBC. Показаны этапы разработки трехуровневых технологий клиент-сервер
от наброска до готового результата.
Для кого эта книга?
-
Книга будет полезна кажодму, чья работа связана с программированием
систем клиент-сервер, распределенными объектами и языком Java. В особенности
обращаем внимание:
-
Программистов на Java, которым необходимо познакомиться с системами
клиент-сервер, распределенными объектами, CORBA/IIOP и JDBC. Эта книга
знакомит Вас с тем, что поисходило после JDK 1.0.
-
программистов в системе CORBA, которым необходимо освоить Java. Вы
найдете здесь все про интеграцию CORBA с Java.
-
MIS-программистов, которым приходится оценивать эффективность приложений
CORBA, Java и Intranet. Книга содержит множество эталонных тестов и сравнений
по пунктам с другими вариантами "мидлвера" - DCOM, HTTP/CGI, RMI, Sockets.
-
Разработчиков систем клиент-сервер, которые предполагают использовать
CORBA и/или Enterprise Java. Эта первая книга, дающая полное описание языка
Java как платформы для клиент-серверного программирования. You'll get the
good, bad, and the ugly.
-
Рано или поздно каждый программист столкнется с необходимостью написать
программу на Java или с распределенными объектами. Поэтому Вы не потратите
время даром, если прочитаете эту книгу. В любом случае она даст Вам начальный
импульс для программирования объектных Web-систем. Если вы не программист,
то Вам будут полезны учебные главы, тесты и детальные сравнения. Однако,
быть может, в этом случае Вам стоит обратиться к другим книгам, так как
эта - действительно для профессионалов.
Актуальна ли CORBA/Java для современного
программирования систем клиент-сервер?
Объектный Web находится в стадии разработки. Вероятно, каждый, кто
работает в сфере программного обеспечения, вносит сюда свой определенный
вклад. В этой книге рассматриваются две ключевые технологии объектного
Web-программирования: Java и CORBA/IIOP. Java реализует переносимый код,
CORBA создает инфраструктуру распределенных объектов. Обе они лежат в основе
объектного Web'а.
Каково же состояние этих двух технологий? Можем ли мы сегодня использовать
CORBA и Java для развертывания нового поколения клиент-серверных Интернет-приложений?
Готовы ли они к этой миссии? В каком состоянии находится интеграция CORBA
и Java? На все эти вопросы попытались дать ответ авторы книги.
Лучший способ овладеть предметом - программировать самому. Большинство
Java-приложений суть изолированные демо, в то время как реально Java начинает
работать тогда, когда Вы встраиваете переносимую клиент-систему в гораздо
большую по объему систему транзакций. Тут то и возникает необходимость
в CORBA. Авторы стремятся показать, как можно использовать CORBA и Java
для создания беспрецедентных клиент-серверных приложений. Вместе с читателем
они пропускают CORBA и Java через сито бенчмарков. Даны примеры разработки
клиент-серверных приложений промышленного уровня с использованием CORBA
и Java. Наконец, рассматриваются альтернативные пути: DCOM/ActiveX, RMI,
HTTP/CGI, Sockets.
ISBN: 0471-16351-1, 658 pages, 1997, $44.99 US
|