In one of my session beans, I need to download contents from many different URLs. I have implemented a parallel downloader into which I can throw a bunch of URLs, and it starts to download them on different threads. When the download of each URL is complete, it calls back on the supplied interface to notify the client.
I need to use this component from an EJB. What is the best way for me to integrate it into my system? I was thinking of wrapping it into an RMI server object which I can then deploy into the JNDI namespace of the appserver, however, I am unsure of how to best integrate with the "callback" mechanism. I guess the callback could simply call on the Session Bean, and pass the required information, however, the process of re-acquiring (reloading) the state from the database is expensive. Are there better ways? I am running under Weblogic 6.1 SP3, but don't want to make my code Weblogic dependent. Thanks for any insight you may offer. -AP_ http://www.myprofiles.com/member/profile/apara_personal =========================================================================== 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".
