how create websocket and xpages server side - xpages

Simeone have suggest to create html5 websocket feature into xpages server side?
It's very import for notification feature.
Tnx to all

Domino doesn't support Websocket (it appeared in later version of various servlet containers, though not in Domino). What you can do though is to write your own websocket server which runs inside Domino. See http://www.mindoo.com/web/blog.nsf/dx/03.11.2012141402KLEHJC.htm?opendocument&comments on how FTP server was implemented. I think you can use it as a guidance.
For example http://java-websocket.org/ it's open source and I guess it shouldn't be hard to adapt it for Domino.
PS: Alternative way: contact IBM and ask them to implement it.

Related

Trial software for Lotus Notes client server scenario

I'm in a software project and need to take care of a component that connects to a Lotus Notes server in order to create users, assign authorization groups etc.
I would like to configure a basic client / server scenario on my own hardware to familiarize with the Notes technology but I have only found trial versions for client software components like Domino Designer. I would expect that a Domino server is also required.
Does anybody know whether. and if yes, how I can get the required server components? Or is it required to purchase a license?
Many thanks in advance for every reply.
You can download a trial of IBM Domino here:
https://www.ibm.com/developerworks/downloads/ls/lsds/
http://dominodeveloper.net offers a free development server option that I have used successfully in the past. Always worked well for me.

SocketStream.js without client side how to?

I am interested in develop a rt module for my website with socketstream + node.js. I am only interested in do the server side in socketstream, not the client side. How can I access the socketstream from a normal php/html app, wich js i have to include ? I am mainly interested in rpc, pub/sub and authentication/session.
I would not recommend doing this, as it is unorthodox.
That said, I do recall that someone wanted to use an early version of SocketStream from within their application, which was built on the .net platform. It turned out that they got it to work by embedding the SocketStream app's web page inside of an iframe.
Check out to this framework:
http://www.socketstream.org/
Comes with a lot of examples and it's easy to use.

Looking for an web based ftp client

I am looking for an truely "web based" (website) FTP client, to upload my html/web stuff.
What I found sofar is http://www.net2ftp.com/.
The site is a good example of what I am looking for, but isn't as usefull as I thought.
So, does anybody know a better site?
There are many option available both on the server side (where the server does all the FTP traffic and shows it to the web browser and on the client side via Java Applet, ActiveX or Flash component)
Depending on what you need to do each option will have it's own advantages.
For example if you need to handle Folder Structures or multiple files then a client side Java Applet or ActiveX will be the best option.
If you only wish to handle a single file then the server side option will be better.
Start by searching for "ftp java applet" it will point you in the right direction.
I also compiled a Blog that tries to compare all your web based file transfer options
Here is the link:
http://www.filecatalyst.com/comparison-of-web-based-file-transfer-methodologies

Do you have to deploy plugins to the Notes Client?

I would like to know whether plugins (such as the OpenNTF Extension Library) need to be manually installed on any Notes Client that will be using an XPages in the Notes Client Application (XPiNC) that is dependent upon those plugins.
According to the Mastering XPages book, page 500 in the XPages in the Notes Client Chapter:
XULRunner will cache the usual resources used on the XPage but the Java classes still need to be loaded across the network for each new notes session
I understood this to mean that if there are plugins, such as the OpenNTF extension library, that they would be sent across to the Notes Client so that these dependencies would be resolved, allowing the user to use the application in the notes client, without worrying about having updating or not.
I have configured the UpdateSite.nsf on the server (8.5.3) for the dynamic loading of plugins when the HTTP server starts, this is working fine for the XPages being accessed through a web browser. However only clients that have had the 8.5.3 Upgrade pack applied (which includes the OpenNTF Ext Library), are able to access the application using the client.
It seems to me that it will be very cumbersome. The benefit of XPages would be gradual migration from the Client to Web, but to have to worry about plugin dependencies on everyones machine would be a backwards step?
Yes! You have to install extension lib plugins on clients for xpinc. You can use the update pack given by IBM or create a widget, put it in your widget catalog and then deploy it using policies or ask users to do it manually.
Stephen H Wissel has listed the steps to do this on his
blog. http://www.wissel.net/blog/d6plinks/SHWL-8GZM9A
You have to deploy the plugins to the client,
if you want to use the plugins in XPINC apps, as far as I know.

How can I implement/use browser using lwuit in j2me?

I am new to LWUIT, its indeed a great fun to use it so far. Currently I have to use its browser component to send and receive data to and from the server. Can anybody give me an insight about it or a tutorial so that I can get working into it. Thanks in advance.
If you intend to have browser specific functionality like XML, HTML page rendering in your application than read the following articles
HTML Component Writeup In Ofir's Blog
Mobile web and HTML inside JavaME with LWUIT {Suggested by #Baqueta, Thanks}
Download LWUIT 1.5 and check project 'Browser' under folder 'apps' in lwuit root directory.
.
If you intend to implement communication between client and server using LWUIT than refer LWUIT4IO library packaged with LWUIT 1.5 download. Read the following articles to better understand 'LWUIT4IO' the library.
Introducing LWUIT For IO (LWUIT4IO)
Parsing In LWUIT & LWUIT4IO
Logging & Caching In LWUIT4IO
.
If you intend to communicate with the server from mobile client purely for data exchange then have a look at Generic Connection Framework. Here you can find ample information, sample code snippets and get to know various connection methodologies available for JavaME.

Resources