Hi there, Like Pablo said, << inlinepush >> is the way to go. You could open a TCP socket from Java (or the device itself) to APE directly, put it's much simpler to useinline push which is a simple HTTP request.
There's an example for Java on the wiki (http://ape-project.org/wiki/index.php?page=JS+Inlinepush&redirect=no), but it use socket an not inlinepush. Nevertheless, it's probably a good place to start. You can find an inlinepush Python and PHP example on the same wiki page. Both of them are self explanatory. - Louis Le 2014-03-31 à 08:13, Pablo Tejada <[email protected]> a écrit : > You would use inlinepush, an example is already shipped with the package. > > You could search inlinepush in this group for additional examples. It should > be easy to implement in Java since it is a simple http request. > > On Mar 31, 2014 5:11 AM, "Binary Code" <[email protected]> wrote: > Hello, > > I want implemenattion APE inside Java Application, this my description: > > I have Multithread TCP Server using Java that have function to receive packet > from device,want event if receive data from device server forward to web > automatically, how to do that what plugin used to my case? > > Note: My Web using javascript+JQuery > > Regards > B.C > > -- > -- > You received this message because you are subscribed to the Google > Groups "APE Project" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/ape-project?hl=en > --- > APE Project (Ajax Push Engine) > Official website : http://www.ape-project.org/ > Git Hub : http://github.com/APE-Project/ > > --- > You received this message because you are subscribed to the Google Groups > "APE Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > > -- > -- > You received this message because you are subscribed to the Google > Groups "APE Project" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/ape-project?hl=en > --- > APE Project (Ajax Push Engine) > Official website : http://www.ape-project.org/ > Git Hub : http://github.com/APE-Project/ > > --- > You received this message because you are subscribed to the Google Groups > "APE Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/ --- You received this message because you are subscribed to the Google Groups "APE Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
