The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: Java applet - UDP or TCP?



--- In xAP_developer@xxxxxxx, "Patrick" <patrick@l...>
wrote:
>
> --- In xAP_developer@xxxxxxx, "estratosapiens"
> <dberenguer@s...> wrote:
> >
> > Thanks, Kevin.
> >
> > I'm thinking in implementing a custom protocol for my
application. I
> > don't see the interest of using xAP with TCP and point to point
> > communications.
> >
> > Daniel.
>
> Hi Daniel,
> A little late joining this thread, sorry.
> I have done more-or-less what you are planning - but in my case, I
> wanted to be able to change icons within a web page in response to
> individual xAP messages (to show the status of lights, current
> temperature and so) without the need to refresh the page.
>
> The advantage of running xAP over the tcp connection in my case was
> that it made the implementation much simpler - the udp-tcp bridge
> doesn't need to know anything about the semantics of the individual
> messages or introspect their content.
>
> In your case, I guess it would depend on what you want to do with your
> finished applet - but if it's something related to control or sensing
> of xAP devices, then it would make sense to run with xAP all the way
> to the application. Plus, the udp-tcp bridge bit is then already
> written, so it would save you some work.
>
> I hope that helps clarify why using xAP over tcp *might* be useful
to you.
>
> Patrick
>


Thank you Patrick for your suggestion but the Web server will reside
in a embedded controller. Thus, your udp-tcp bridge can't be
integrated or I should to create my own bridge.

Daniel.







xAP_Development Main Index | xAP_Development Thread Index | xAP_Development Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.