Regarding Native method

Hi,
I am working with solaris 9 and I am using jre1.6. In my application,I am using java and C++ in my application.Basically we are using the java for front end and C/C++ for back hand.So I have to call the C/C++ source code form java code.we are using native methods for it..

So application became fail during the native call.

Please help me in it.

Thanks in Advance.....

You have not told us what is the error you came across.

Are you aware of Java Native Interface (JNI) ? JNI helps you invoke such methods which are written in C++/Java from Java/C++.