Network Protocols
Figure: Services provided by containers
As shown in Figure, components deployed in containers can
be invoked through different protocols. For example, a servlet deployed in a
web container can be called with HTTP as well as a web service with an EJB
endpoint deployed in an EJB container. Here is the list of protocols supported
by Java EE:
- HTTP:
HTTP is the Web protocol and is ubiquitous in modern applications. The
client-side API is defined by the java.net package in Java SE. The HTTP
server-side API is defined by servlets, JSPs, and JSF interfaces, as well
as SOAP and RESTful web services.
- HTTPS
is a combination of HTTP and the Secure Sockets Layer (SSL) protocol.
- RMI-IIOP
: Remote Method Invocation (RMI) allows you to invoke remote objects
independently of the underlying protocol. The Java SE native RMI protocol
is Java Remote Method Protocol (JRMP). RMI-IIOP is an extension of RMI
used to integrate with CORBA. Java interface description language (IDL)
allows Java EE application components to invoke external CORBA objects
using the IIOP protocol. CORBA objects can be written in many languages
(Ada, C, C++, Cobol, etc.) as well as Java.
Reference:
No comments:
Post a Comment