hi,
U can make a helper class where u can write the code to call exe using runtime interface.use this helper class in ur EJB.
Thanks
Anuj
On Fri, 03 Sep 2004 Parag_Lonhari wrote :
>Hi,
>
> I need to call one program (.exe) written in C language from my
>EJB (MDB)? I am calling shell program to call that C program which is not as
>per J2EE standard. Another approach could be using JNI to call that program.
>
>
> I want to know is this J2EE standard or not (using JNI from
>EJB)? I know calling JNI from Servlet/Java program is as per J2EE standard,
>but whether call of JNI from EJB is as per standard or not?
>
>
>
> What are the other alternatives to solve above mentioned
>problem?
>
>
>
>Thanks,
>
>Parag Lonhari
>
>Sr. Systems Analyst
>
>Satyam Computer Services Ltd
>
>**************************************************************************
>This email (including any attachments) is intended for the sole use of the
>intended recipient/s and may contain material that is CONFIDENTIAL AND
>PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
>distribution or forwarding of any or all of the contents in this message is
>STRICTLY PROHIBITED. If you are not the intended recipient, please contact
>the sender by email and delete all copies; your cooperation in this regard
>is appreciated.
>**************************************************************************
>
>===========================================================================
>To unsubscribe, send email to listserv@(protected)
>of the message "signoff J2EE-INTEREST". For general help, send email to
>listserv@(protected)".
>
===========================================================================
To unsubscribe, send email to listserv@(protected)
of the message "signoff J2EE-INTEREST". For general help, send email to
listserv@(protected)".