Java & CORBA
This section brings together Java and CORBA, two of the major object
models used in distributed computing. Java provides mobile code that can
run within a Web browser on any specific platform, while CORBA introduces
an infrastructure which enables an application to invoke transparently
operations on objects located anywhere on a network. By combining those
two approaches, we will offer to Java applets the possibility to use services
provided by object servers written in any language, not only in Java.
CORBA, on the one hand, provides Web developers with several important
benefits.
On the other hand, Java offer four new features to CORBA programmers.
- Portability across platforms. Due to wide industry support,
Java compilers and run-time systems are available for nearly any hardware
platform and operating system. Therefore, applications, and most of all
client applications, can be usable on any plaform without any porting effort.
- Code distribution. Since Java code can be deployed and managed
centrally from the server, code distribution in large CORBA systems is
simplified. Maintenance of large client/server applications doesn't require
anymore systematic updates on the client side.
- Internet Programming. Java-enabled Web browsers are becoming
the universal graphical user interface. Writing CORBA clients as Java applets
enables a world-wide audience to CORBA systems and universal access to
their CORBA objects and legacy applications.
- Object-oriented enhancements. Java provides a cleaner approach
to object-oriented programming than other traditional languages like C++
or SmallTalk:
- fewer memory management responsibilities,
- no pointers,
- and a less confusing syntax,
but also
- built-in multithreading,
- automatic garbage collection,
- and exception handling.
These features are particularly useful for developing robust distributed
Web applications that mix the simplicity of Java applets and the power
of various server objects.
Copyright ) 1997 Belgian Java User Group |