|
Authored by: Anonymous on Saturday, April 21 2012 @ 09:01 AM EDT |
Everyone is surrounded by analogues to APIs; they just don't realize it. An API
is just a specified interface.
The NEMA 5, 3 prong, 125 volt, 60 hertz, electrical wall socket (in the United
States) into which you plug your electrical devices? Hardware equivalent to an
API.
The RJ11, 4 wire socket into which you plug your wired telephone? Hardware
equivalent to an API.
The RJ45, 8 wire socket into which you plug Ethernet cable to network your PC?
Hardware equivalent to an API.
The threaded, barrel-type F connector to which you connect coax cable from your
television to get signals? Hardware equivalent to an API.
And so on.
[ Reply to This | Parent | # ]
|
|
Authored by: Anonymous on Saturday, April 21 2012 @ 04:48 PM EDT |
This is akin to CORBA. You have a clear definition of the
interface expressed (IDL - Interface Definition Language), and
the implementation (existing within the ORB/server.)
The interface defines HOW you talk with/use the object. It has
nothing to do with the language per se, and in fact, the user
never needs to know what language the implementation is
actually written in.
btw - Java Enterprise Beans are actually CORBA
implementations.[ Reply to This | Parent | # ]
|
|
|
|
|