How to deside which Threading model we have to use
We have low level library developed using COM. on top of it win32 library is developed using C++.
JNI layer is developed on to of C++ library to integrate with Java.
In C++ we have called Coinitialize to STA with this from MFC application all the requests in low level COM layer are processed in concurrently.But in java we are not getting the events posted in low level layer using windows postmessage.