Hi all

I'm using axis 1.4 for connecting a Struts application with a legacy database system. The class that implements the query from the server side, makes a system call to an executable (that is one of the tools for accessing the database system) and sends to the Struts application the results. The Struts application could eventually send some large data to be updated in the database. As the command line has some limits, I´d preferr that the class that implements the service, create a new temporary file that will be consumed by the executable.

1. The temporary file should have a unique name and should be thread safe. I mean that eventually will have many users trying to update or add data, and each one will generate its own temporary file. The class that implements the update or add to the database could make this files using random generators, but I preferr to include some kind of axis identification, for instance for the thread or the process number, could be used some axis property that could be concatenated with the rand number?

2. I'm developing over Win32 platform. In Linux, which special reghts considerations should attend for enabling the posibility to generate the temporary files? I suppose that Tomcat should be authorized to access to the executable and write the temporary file in some directory. Anybody has experiences over that issue?

3. Ignorance....How could I configure in a standard way a config xml file. I wish to include in this file, the location for the executable, the temporary folder in which the temporary files will be created and so on.

Thanks a lot
Emiliano Marmonti.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to