Menu

Server classes invoking applet methods

2007-12-31
2013-01-13
  • John C. Turnbull

    If anyone is out there listening...

    Using LMAppletserver, would it be possible for the server classes to invoke methods on the applet(s) (like RMI callbacks) after an applet has registered itself with the server?

    Thanks,

    X21R

     
    • Peter Salomonsen

      Hi,

      Currently no server->applet callback functionality is implemented. So you'll have to do this by polling the server.

      However note that lmappletserver supports stateful session beans, which could be helpful in maintaining server side conversation state.

      In order to implement callback functionality we're planning constantly open http connections from the applet to the server(one for reading and one for writing) - then it will be a two way communication between the applet and the server.

      regards,

      Peter Salomonsen

       
      • John C. Turnbull

        OK thanks Peter.

        When do you think you might be implementing the callback functionality you refer to?

        Cheers,

        John (X21R)

         
        • Peter Salomonsen

          Hi,

          Current situation is that LMAppletServer development is founded by norwegian company xepto.com (Container logistics and security systems) - and the need for callback functionality has not yet been requested by them.

          Implementation of this feature and others not relevant to Xepto, depends on others using and contributing to LMAppletserver. Currently I only know the frinika project (frinika.sourceforge.net) and petrus (sourceforge.net/projects/petrus) using LMAppletserver. Frinika has a developer community that might be interested in developing this feature for the frinika server - and then contributing it to lmappletserver - but none confirmed yet..

          Please post as a feature request, to at least identify the demand - and would also be interesting to know more about other use cases of lmappletserver than I know of...

          cheers,

          Peter

           

Log in to post a comment.

MongoDB Logo MongoDB