Hi,
Just a small question, wondering if you know something I haven't heard yet:
If I want the logic to be executed on the server, and the answer returned to the client without polling, what are my options?
e.g. like a web request. Client sends it to the web server, where its application server does the magic, then returning the answer to the client. In Navision, I would like to avoid a NAS first polling for a task, then the client polling for the answer, instead I would like a completely event based client/server communication. Installing extra client stuff isn't really desired either.
Thoughts?
0
Comments
RIS Plus, LLC
MVP - Business Apps
RIS Plus, LLC
MVP - Business Apps
What I meant by polling is, client checking a table, and the nas checking a table.
As I tried to say, I want to avoid polling because
-its not immediate
-it burdens the database from both sides
-think also many concurrent clients
Just see example on first post, for the ideal way I would want it.
Thanks
Instantiate it at the client site and open a port to listen to. Write the info into a table such IP and port that the client is available on and then the send messages to the port for the client to do something.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
The only event driven ones in C/AL that I can think of are the standard bus adapters. The ones that I've used are the one for message queue, and one for TCP/IP sockets. I don't like the MSMQ one because it is severely limited, and the socket one only goes one way. So as long as your solutoin fits within the limitations of the bus adapters, you should be fine with either one of those.
Check your product disk for a file called "devguide.chm", I think it's somewhere in the commerce gateway folders. This comes with code samples for all communication components.
RIS Plus, LLC
MVP - Business Apps