Hi, You could use the JNDI context to bind the object you would like to share. The implementations of your webservice could looukup the object and use it's state.
Kind regards, Johan, -----Oorspronkelijk bericht----- Van: Lorenzo Dalla Vecchia [mailto:[EMAIL PROTECTED] Verzonden: zaterdag 7 mei 2005 21:32 Aan: [email protected] Onderwerp: Share data between port binding impls Hello. I'm creating a web service with Axis that has two ports; WSDL2Java correclty generates two implementation classes. Now, I need to share objects in memory between the instances of the two binding classes. I'm not planning to have a central repository (a data base) for the data: what is the best way to do that with objects in memory? Thanks! -- Lorenzo -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.6 - Release Date: 6/05/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.6 - Release Date: 6/05/2005
