Which direction are you trying to achieve the integration? Are you trying to invoke methods on an enterprise bean from a C++ application, are you trying to run code written in C++ in your bean or are you trying to connect to an existing C++ application from your bean?
If you are trying to invoke methods on an enterprise bean from a C++ application I would look at web services and CORBA.
If you are trying to connect to an existing C++ application I would look at the JCA architecture where you should be able to use JNI.
Thanks for your immediate response!
I'm trying to run code written in C++ by an enterprise bean.
I had thinking at Java Connector Architecture but I do not know from where to begin... The documentation talk exclusively for ERP or similar. How create the resource adapter for my c++ application?
I am too confused...
I hope you can help me to clarify my ideas!
Do you have access to the 'JBoss Administration and DevelopmentJBoss Administration and Development' guide? Unfortunately it needs to be paid for so I can't post a copy of it here.
There is a section that discusses JCA in JBoss and there is an example for using JCA to access the filesystem, that might put things into perspective better.
The specification from Sun does discuss everything in terms of accessing an ERP but wherever their code would be making remote network calls your code would be making native calls to your C++ code.