platform-dev - Netbeans Platform with Pushed CORBA data

by BPKon 2010-07-17T23:16:51+00:00
Hi,
Quite new to the Netbeans Platform but really want to use it for the thick client we are developing. Our app talks to a CORBA backend to get it's data and has data updates pushed to it over it's lifetime.
A couple of things I am not that clear on which would greatly help me out:
- I understand I need an API module for other modules to connect to and view the data but should this API module also be responsible for connecting to the remote CORBA server and also servicing the pushed data updates? I am not completely clear on whether the API module actually is responsible for collecting the data in this case where it is remote or whether this would be done by another module.
- Whatever should collect the data and respond to updates will obviously require a thread to service it - do I do this in a background thread? Will updating the data in this manner in the API module automatically update the modules that are using it and are there any threading issues.
Thanks
BPK

platform-dev - Re: Netbeans Platform with Pushed CORBA data

by Charles Bedonon 2010-07-19T02:47:19+00:00.
Hello
- I understand I need an API module for other modules to connect to and
view the data but should this API module also be responsible for connecting
to the remote CORBA server and also servicing the pushed data updates? I am
not completely clear on whether the API module actually is responsible for
collecting the data in this case where it is remote or whether this would be
done by another module.
- Whatever should collect the data and respond to updates will obviously
require a thread to service it - do I do this in a background thread? Will
updating the data in this manner in the API module automatically update the
modules that are using it and are there any threading issues.
2010/7/17 BPK
Hello - I understand I need an API module for other modules to connect to and view the data but should this API module also be responsible for connecting to the remote CORBA server and also servicing the pushed data updates? I am not completely clear on whether the API module actually is responsible for collecting the data in this case where it is remote or whether this would be done by another module.
A couple of things I am not that clear on which would greatly help me out:
 - I understand I need an API module for other modules to connect to and view the data but should this API module also be responsible for connecting to the remote CORBA server and also servicing the pushed data updates? I am not completely clear on whether the API module actually is responsible for collecting the data in this case where it is remote or whether this would be done by another module.
 - Whatever should collect the data and respond to updates will obviously require a thread to service it - do I do this in a background thread? Will updating the data in this manner in the API module automatically update the modules that are using it and are there any threading issues.
Thanks
BPK