Last month in JDJ (Vol. 6, issue 1) we looked at the advantages of
downloading servlets and JavaServer Pages (JSP) from a repository, for
example, the same way a browser downloads applets. We described a simple
implementation of this concept based on a service servlet and a custom class
loader. This tool, named JSPservlet, handled servlets and JSP packaged in JAR
archives to minimize the number of connections and transfers required.
This month I'll show you how to publish an archive, update it or force its
download through a JSPupdate servlet, and extend the solution to handle
resources, HTTP caching, request forwarding, page inclusion, and JSP beans.
The code listings for this article can be found on the JDJ Web site,
www.JavaDevelopersJournal.com.
Archive Update
This simple JSP, JSPupdate, handles archive publishing and updates (see
Figure 1).
JSPservlet and JSPu... (more)
A Client Company implements an archive-downloading package. It downloads
presentation archives from its providers, Server Companies 1 and 2. Server
Company 1 archive includes Enterprise JavaBean client code; Server Company 2
includes Java Message Service (JMS) client code. The archives are either JAR
files or Web Archive (WAR) files.
Since Client Company downloads its archives through the Internet: It wants to
be sure downloaded archives can be sent only by its identified providers. It
wants to be aware of the security requirements of its providers. For
instance, does a download... (more)
Sometimes it's worthwhile to go back and visit your former projects. It
certainly was for me - using presentation as a commodity to be deployed
according to network configuration is the concept that resulted from my
visit.
The original assignment was to reduce the operating costs of a large banking
agency network. How could this be achieved with a network of 23,000 personal
computers scattered over 2,000 sites connected by a frame relay with a
guaranteed bandwidth of 32Kb? We selected an intranet solution that radically
reduced PC client/server applications to a single local pro... (more)