|
HTTP tunneling
Another advanced feature of the JavaServer architecture are Server Side Includes. Server side includes enable you to embed servlets within HTML documents, allowing you to assemble a final HTML document with the aid of one or more servlets.
|
|
Pushlets: Send events from servlets to DHTML client browsers
Server-side callback through RMI or CORBA can notify clients of changes in the server such as those needed to keep the clients' GUIs up-to-date with the state of the server application. But what if the client is a Web browser whose page content needs to be updated? In this article Just van den Broecke explores pushlets, a servlet-based notification mechanism that enables server-side Java objects to call back JavaScript code within a client browser
|
|
Tunneling through the corporate network: HTTP tunneling with servlets
The corporate firewall is a double-edged sword. It helps prevent unauthorized access to the corporate Web services, but can disable access for legitimate clients. Due to the number of safety measures taken by system administrators, HTTP has become the universal entry mechanism to the corporate network. Where technologies such as CORBA and DCOM have failed because of the firewall, technologies such as SOAP have been developed to provide safe and reliable access through firewall protection. In this article, we will explore an alternative to SOAP, the use of Java objects over HTTP. In addition, we will use J2EE servlet technology as server-side middleware to the business data.
|
|
JDC Performance Tips and Firewall Tunneling Techniques
The following code implements a simple, multithreaded HTTP server in a few hundred lines of Java code. Here's how it works: The main thread initializes the server and starts a number of worker threads that will handle client connections.
|