This question is more based on design details, rather than on a specific programming problem. I hope that people with such a question do not mind such a question.
I am working on creating an application with two broad components.
Component 1 -> A central server hosted in the cloud using the JBoss 5.1.0 server. We want to use this infrastructure in the solution we are looking for here. We must base this solution on JBossWs and use POJO-based web services.
Component 2 → Is the Java client remotely removed and is responsible for collecting data.
Currently, we have such an architecture that the client polls the server for configuration details, which then instructs the client when it starts collecting data (among other tasks for housekeeping). As soon as the client receives a response, it is configured accordingly.
This supports the scheduled receipt of data, so that when the data collection time occurs as indicated in the received configuration, the client starts the data collection process and then uploads the results to the Server.
One scenario that can become a problem here is when the configuration is changed, the inevitable delay in this change reaches the client until the new configuration is received by the client after the next poll. To avoid such scenarios, we are trying to implement some kind of "push" technique here, similar to " Comet " in a web application.
Has anyone implemented something similar or do they have any ideas that they can share with this? We note that we have a heavier solution that includes incoming client requests from the cloud, but this is what is more suitable for deploying large enterprises with DMZ facilities and other relevant security measures.
Questions:
- JBossWS WebService? , , -.
- , " push" JBossWS Java-?
- , / ?
- , ? , .