Distributed object computing in Java has become increasingly popular as more
complex products are written using a multi-tier architecture. A number of
products and protocols are available for facilitating communication, and many
developers have trouble deciding which ones to use in a given situation. Many
of the communication methods work well together, and each has its strengths
and weaknesses. In this article I'll discuss two of the most popular methods,
CORBA and servlets. Both are useful for distributed computing, and they
complement each other well.
What Is Distributed Object Computing?
Distributed object computing is development involving communication between
two or more independent modules of an application. Usually, it involves
communication between a client and a server - for example, a Java
time-tracking application. This application would have a client sid... (more)
JavaMail is a set of abstract classes that create a framework for sending,
receiving and handling e-mail, along with implementations of those classes.
The package Sun provides contains implementations of IMAP and SMTP, allowing
you to get started immediately on sending and receiving mail. They also
provide a separate POP3 implementation that I'll describe below. The
framework makes it easy to create your own cross-platform mail application
without an in-depth knowledge of e-mail. Methods and classes that allow you
to access mail folders, download messages, send messages with atta... (more)