× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



You might want to investigate a Java web application server like Tomcat or Glassfish. Their latest versions have websockets support.

One thing that bothers me about websockets programming is that it is very dependent upon the availability of those APIs in both browser and server, and that limits what you can support. If you use a transport abstraction framework like Atmosphere (https://github.com/Atmosphere/atmosphere), you can code to a neutral API and the runtime will determine the right transport to use (websockets, comet, long polling, etc.)

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Kevin Turner
Sent: Wednesday, July 11, 2012 8:14 AM
To: 'Web Enabling the AS400 / iSeries'
Subject: [WEB400] Websockets on the IBMi

Has anyone else got anything working on the IBMi with regard to websockets?

I have just completed the first phase of integrating Renaissance with a jWebsocket server on the i and so far so good. It seems to work pretty well - apart from the fact that I cannot get any life out of Safari. Also, IE doesn't support websockets until IE10, so that uses a flash-bridge instead at the moment - but that works pretty well too.

I picked jWebsocket (www.jwebsocket.org<http://www.jwebsocket.org>) because it is written in java and therefore runs almost straight out of the box on the i - and the client-side stuff provided links nicely with jQuery. All I had to do was create my own plug-in for the server that makes use of jt400native.jar to enable data queues and direct calls.

My only concern with the jWebsocket server is that it appears to have gone quiet. No new beta versions since May this year. I am wondering if I have backed the wrong horse for my first delve into this. This is the main reason for me canvassing feedback on what other people are up to with websockets.

For anyone interested, there is a noddy demo function available at http://rns.coraltree.co.uk on the Developers Examples and Demos menu (user id and password both "demo") that I have been using to test things. The demo is not very exciting (until you appreciate the avenues that websockets opens up for you). Most of the time the jWebsocket server is active but I occasionally shut it down while testing.

________________________________
NOTICE: The information in this electronic mail transmission is intended by CoralTree Systems Ltd for the use of the named individuals or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone, so that the sender's address records can be corrected.



--------------------------------------------------------------------------------


CoralTree Systems Limited
25 Barnes Wallis Road
Segensworth East, Fareham
PO15 5TT

Company Registration Number 5021022.
Registered Office:
12-14 Carlton Place
Southampton, UK
SO15 2EA
VAT Registration Number 834 1020 74.
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.