D
derek
Hey,
I'm trying to build a component that satisfies the
following properties:
1) only one component is ever created and it maintains
its state
2) it can be accessed by any thread on the local machine
simultaneously (I will do the synchronization myself
since I want read/write locks)
3) the component is never deleted
4) I need to call some of its methods
It seems like component services are the way to go (or
maybe Windows services?) but I can't figure out how to
keep the component alive without using JITA. And if I use
JITA, synchronization is done for me. And if I use a
Windows service, I don't seem to be able to call methods
on it.
Any suggestions of resources or ideas I can investigate?
Thanks in advance.
I'm trying to build a component that satisfies the
following properties:
1) only one component is ever created and it maintains
its state
2) it can be accessed by any thread on the local machine
simultaneously (I will do the synchronization myself
since I want read/write locks)
3) the component is never deleted
4) I need to call some of its methods
It seems like component services are the way to go (or
maybe Windows services?) but I can't figure out how to
keep the component alive without using JITA. And if I use
JITA, synchronization is done for me. And if I use a
Windows service, I don't seem to be able to call methods
on it.
Any suggestions of resources or ideas I can investigate?
Thanks in advance.