25.02.2013 Views

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

JavaBeans can only be manipulated <strong>and</strong> reused if they are built in a<br />

st<strong>and</strong>ardized way. To build beans, JavaSoft provides the JavaBeans API, an<br />

architecture that defines a software component model for Java. The JavaBeans<br />

architecture delivers four key benefits:<br />

► Support for a range of component granularity, because beans can come in<br />

different shapes <strong>and</strong> sizes.<br />

► Portability, because the API is platform neutral. A bean, especially non-visual<br />

components developed under Windows, for example, behaves the same<br />

whether it is run under Windows, AIX 5L, Solaris, or even z/OS, OS/400®.<br />

► Uniform, high-quality API. Ideally, every platform that supports Java will<br />

support the entire JavaBeans API.<br />

► Simplicity. The API is simple, universal, compact, <strong>and</strong> easy to learn <strong>and</strong> begin<br />

to use.<br />

The JavaBeans API defines the distinguishing characteristics of a bean,<br />

specifically, how they look <strong>and</strong> feel.<br />

CORBA<br />

Common Object Request Broker Architecture (CORBA) is a st<strong>and</strong>ard for<br />

distributed applications in which computers remotely invoke methods on objects<br />

residing on other computers. CORBA allows interconnection of objects <strong>and</strong><br />

application regardless of language, location, or computer architecture.<br />

An application is enabled to use distributed objects by using the Object Request<br />

Broker (ORB). The ORB transparently forwards remote object requests (for<br />

example, a method invocation) to the appropriate server objects, dispatches the<br />

requests, <strong>and</strong> returns the results (for example, a method return value).<br />

The Internet Inter-ORB Protocol (IIOP) is a communications protocol based on<br />

the CORBA specifications provided by the Object Management Group (OMG).<br />

For further information about the Object Management Group, refer to the OMG<br />

home page at the following URL:<br />

http://www.omg.org<br />

Enterprise JavaBeans<br />

Enterprise JavaBeans (EJB) is a Java component that can be combined<br />

with other EJBs <strong>and</strong> other Java components to create a distributed, multi-tiered<br />

application. Figure 16-5 on page 620 shows the EJB environment. An EJB client,<br />

such as a servlet or Java application, interacts with the EJB server through<br />

Remote Method Invocation (RMI) to access the objects (EJBs), which it<br />

coordinates. The actual object data is contained in some data source.<br />

Chapter 16. The Web 619

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!