Hi, I'm creating a globus service that should perform in two situations:
1. Periodically retrieves data from a data source with an WSDL interface and apply a set of transformations rules, storing the results on a local database. 2. Provide an interface for users to query and perform actions on the database. I don't have access to the implementation or deployment container of the original data source. I have created a service with a singleton resource according to Sotomayor's book, since there's only one data source and I can use the singleton resource to store access information about it. So, situation 2 is covered. I don't know the best way to proceed for situation 1. Is it possible to create an execution thread inside the container, so that the same process is responsible for updating the internal database? Or should I create a class running on another instance of Java virtual machine to retrieve the data and update the local database periodically? Thanks for any help. -- __________________________________ João Marcelo Uchôa de Alencar Computer Science BSc. jmarcelo.alencar(at)gmail.com http://simetriade.blogspot.com Linux User 398939 __________________________________
