Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JNI interface and C++ server

837527Feb 7 2011 — edited Feb 8 2011
Hi Friends,
My current product is a combination of a C++ application server and Java Web server. Product's web "User interface" is JAVA applet based which takes care of configuration management. C++ server and JAVA server communicate using JNI. I wanted to know that is this a good design? Should we separate the C++ server and JAVA server and make them to communicate using TCP/IP or any other IPC? Looking at the guidelines provided at "The Java™ Native
Interface Programmer’s Guide and Specification" it looks that JNI should be used to call lightweight native code. Much information passing from/to should be avoided.
Your comments will be greatly appreciated!

~ Vikram

Edited by: 834524 on Feb 7, 2011 6:56 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 8 2011
Added on Feb 7 2011
6 comments
449 views