There is also the startup class option. I'm not sure how all the different vendors support this but with Weblogic for example, you can write a startup class and bind it to a JNDI name. This startup class can make native calls, open files, etc. and beans can access it via JNDI lookups.
>From: Nikhil sharma <[EMAIL PROTECTED]> >Reply-To: Nikhil sharma <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: Call a dll method from a EJB >Date: Tue, 30 Oct 2001 18:06:34 +0530 > >1. You can make a native call from a java class which will be called by >your EJB. But this is not recommended as per EJB specs. >2. Using IDLs and CORBA ... there can be some way out. > >-----Original Message----- >From: Jo�o Carlos Fernandes Costa [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, October 30, 2001 5:50 PM >To: [EMAIL PROTECTED] >Subject: Call a dll method from a EJB >Importance: High > > >Hi, > >I'd like to know how to call a dll method from an EJB. Could you please >provide me an example? >Thanks. > >Joao > _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp =========================================================================== 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".
