#1 2012-05-15 15:28:01

deathsfriend
Member
Registered: 2012-04-27
Posts: 6

Messenging between Apps

Hi There,

So in my current project, I have a windows service and several desktop apps which communicate with the service using mORMot to store data in a small SQLLite Database.

The windows service is using Named Pipes to communicate with the client.

Is there anyway for my desktop apps to use the existing connection to send messages not related to database access ? If so, how would I do that? I can't find a demo for sending messages back and forth.

Thanks

Offline

#2 2012-05-15 15:55:06

Leander007
Member
From: Slovenia
Registered: 2011-04-29
Posts: 113

Re: Messenging between Apps

The simplest solution is via SOA way.
You can look how is done at sample 06 - Remote JSON REST Service or 14 - Interface based services.


"Uncertainty in science: There no doubt exist natural laws, but once this fine reason of ours was corrupted, it corrupted everything.", Blaise Pascal

Offline

#3 2012-05-15 17:34:46

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: Messenging between Apps

Yes - download the documentation, check out the SOA part, and read http://blog.synopse.info/post/2012/04/2 … t-Sourcing

Do not forget to retrieve the latest version of mORMot from http://mormot.net

Offline

Board footer

Powered by FluxBB