Abstract 'Serving Telnet Devices using JCA and JSF'
A significant market segment continues to use telnet-based clients for enterprise applications, particularly in industrial settings such as Warehouse Management Systems (WMS). These companies typically wish to move to more powerful devices and intuitive interfaces but at a gradual pace to not obviate their existing investments.
This session presents a Java 2 Platform, Enterprise Edition (J2EE) solution to this problem through the use of JavaServer Faces 1.1 for application development and Java Connection Architecture 1.5 for serving telnet clients. This end-to-end system is described in details that will be useful for both JCA and JSF developers. This session includes a description of how to build a stateful server with persistent client connections using Java Connection Architecture 1.5, and a description of advantages of using JSF to build applications for non-HTML clients.
Date and Time
Audience
Architects, Developers
Speaker
Interesting Links
Slides
You must be logged in to see the slides
I could see Varouj's presentation directly in Antwerp. The presentation was good, and solution was very likely good enough for many potential customers. Anyway, I think the presented solution might be too expensive under some circumstances.
As a programmer from Supply Chain business, I dare to comment the presented solution.
It is clear, currently one of the most important telnet application is an interaction between wireless (RF) barcode scanners and some central logistic server application.
If one wants to develop a J2EE based solution for such an interaction, he/she should consider:
Conclusion:
library and use HTTP protocol (+HTTP session, +HTTP authentication for telnet login for "free") to forward user's input to central app server. There should be one telnet servlet deployed and we can use HTTP sessions to mirror telnet sessions for free. The telnet servlet (in central app) should use a management of persistable telnet sessions (identified by HTTP sessions id) and the servlet has to be also able to dispatch telnet requests to right telnet handlers (typically one handler can manage one use case having a state attached to a telnet session) and fill the answer to HTTP response.
It is feasible to implement telnet server as a simple java application that can be launched using Java Web Start in any depot in any town in any country if needed. The app can be a simple request/response proxy based on telnetd
This solution can be relatively easily implemented and it can serve SPL business perfectly. The number of light telnet servers can balance the load coming from RF scanners easily. The command line based solution can buffer single input character directly on light telnet servers (in depots) and we don't need to transmit single characters from RF scanner to central app. This likely improves the performance much - comparing the original solution presented by Varouj Chitilian.
I have to admit, the solution presented by Varouj Chitilian can be also adopted to requirements presented above and moreover it provides a mean for building a rich user interfaces on telnet enabled devices. In fact, it is definitely more complete solution, but it can be more expensive than simpler but also sufficient solution. That was the point of my comment.