Java program architecture (Threads...) : Advices needed
Hello,
I am currently developping a huge program that uses Java and Visual
C++.
Basically, the java program is a front(extends JFrame) end that allows
jar plugins loading.The java program is using a Multithreaded MFC
Dll,via JNI (Native methods,callbacks).
I am currently thinking about the program's structure that doesn't
seems to be efficient enough.
Here are my questions :
The java frontend can receive callbacks from the native DLL at any
time,and as it have to handle the user Input and the plugin,is it
better to use a thread for each entity?One for the front end, one for
the loaded plugin, one the synchronization with the native DLL?
Is it recommended to use Custom Events for inter-threads communication
in java or?
Thank you for your help!
.
Relevant Pages
- Re: Problem With Crypt::CBC
... is later read in by a Java program. ... continue using the passwords and vectors I'm using (both 8 bytes, ... use the hash, then the Java program on the other end will not be able to ... (comp.lang.perl.misc) - Re: How to interact with a Live java process from php?
... This service can only be accessed from a java program on the backend, and this program, unfortunately, is a 24/7 live process. ... My teammate is going to write a php program to handle the front end request, so my question is that, is it possible for such a design to work? ... I'll guess the "live 24/7" backend java process is a "java servlet" ... (comp.lang.php) - Re: Problem With Crypt::CBC
... My Perl script has to output data that ... is later read in by a Java program. ... use the hash, then the Java program on the other end will not be able to ... (comp.lang.perl.misc) - Re: How to compare the speed between a Java program and its original Fortran version program?
... I have translated an old Fortran program into Java program, ... Coughing up a meager translation of a FORTRAN program to Java, then running meaningless benchmarks to try to figure out if you did anything useful is a huge disservice to your customer. ... (comp.lang.java.programmer) - Re: Need a project... found a website on mindprod
... I have sucessfully written a Java program which parses an XML file and am using it in my job. ... I am familiar with classes, interfaces, packages and polymorphism, although interfaces and polymorphism are still somewhat foreign to me. ... Since I have no current projects in my job which require me to do any kind of Java programming I am looking for some suggestions. ... (comp.lang.java.help) |
|