A system and method for converting continuous data streams received over a
persistent communication connection (e.g., for Telnet) into discrete
requests that may be issued over non-persistent connections (e.g., via
HTTP). An application is served from a J2EE-compliant application server,
to clients operating a variety of communication protocols (e.g., HTTP,
Telnet). The application is developed according to a single application
model, but can be served to heterogeneous clients. The application
communicates via a request/response format (e.g., HTTP), thereby
requiring clients communicating via other formats or protocols (e.g.,
Telnet) to connect to the application via one or more other components of
the application server. Illustratively, the application server includes a
Telnet resource adapter for maintaining persistent communication
connections with Telnet clients, and an EJB (Enterprise Java Bean)
configured to discretize continuous Telnet data streams into discrete
application requests.