samedi 21 novembre 2015

Substituting something for "Systinet Web Applications and Services Platform" (WASP)

Hi 2 all bright programmers! I'd like to make this simple chat work:

http://ift.tt/1MIzbpK

The problem is the year of the article: I can't find necessary components/libraties. The fragment of code that I want to substitute (and hope that it will make this chat work) is this:

package com.systinet.simplechat.server.impl;

import org.systinet.wasp.*; import org.systinet.wasp.webservice.Registry;

/** * @author Petr Dvorak, Systinet * * This is the Chat Server Application, that runs WASP Server and * registers the ChatService. */

public class ChatServerApp {

public static void main(String[] args) throws Exception {
    Wasp.startServer("http://localhost:6060");      
    Registry.publish("/ChatService/", ChatService.class);
    System.out.println("Chat server is up an running.");        
}

}

I have the feeling that this is something very simple and have tons of analogues, that's why all code is not necessary. Although it is downloadable via the link. "Get code from the artice"

The only reference I found to something I completely misunderstand is this systinet.wasp etc. Is there something simple to substitute it? I just need the chat to work somehow, not necessary with the possibility of others to chat in it via LAN connection (although would be great)




Aucun commentaire:

Enregistrer un commentaire