Yes, you can. But, depending on how you do it, you may not still be J2EE
compliant.
For example, the easiest way would be to write JNI (Java Native Interface)
code. This is not supported by EJB, but most of the server vendors will
allow you to get away with it. This will depend on the particular server,
and will make your application both server and platform dependent.
Another way to do it is to use a CORBA server for the C++ components, and
make inter-component calls to them from EJB. If you do this with EJB
'wrappers' for the C components, the Java code would still be EJB/J2EE
compliant. Only the C code would be specific. (<vendor> And yep, that's
the way Sybase EAServer handles multi-lingual support. </vendor>)
Jonathan Baker
"Rajan J.T." wrote:
>
> Hi All,
> Ca anyone help me in this.
>
> Can I call a C++ code from my EJB ?..
>
> Thanks and Regards,
> Rajan J.T.
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
--
Jonathan Baker
Senior Architect
Internet Applications Division
Sybase, Inc.
[EMAIL PROTECTED]
+1 510 922-0460
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".