DeveloperGuide
From XtremWebCH Wiki
Contents |
Developer guide
SVN repository
The SVN repository is at svn://www.xtremwebch.net/svn/xwch
A daily snapshot of the SVN trunk is available here: [1], the results of its automatic build here: [2] and a history of builds here: [3]
Moreover, a list of changes (svn log -v) is available here: [4]
Please contact our mailing list if you need SVN access.
API documentation
The client and High-Level API's are probably what you are looking for.
- Client API: [5] .. or go directly to xwch client API summary.
- High-Level and Command Line API's [6]
- Coordinator (beans): [7]
- Worker: [8]
- Warehouse: [9]
Demo applications
You will find a description of all the components + build, deploy and test examples in the README file [13].
Developer VM
We'll soon create a new version of the developer VM, adapted for GlassFish3.
FAQ
Why doesn't my job run well with a Windows worker?
Does you job produce any output? If not, the worker may think it is inactive. Here's a simple way of making a script that can be used for debugging on Windows workers:
echo starting > foo
yourexecuble >> foo 2>foo.err
echo done >>foo
.. where yourexecutable is the executable for Windows (see the first question about modules and executables). Naturally, your application will need to get the files "foo" and "foo.err" as output.
For debugging, how can I make my job run in some specific worker?
Use extrafields="host;workername". See AddJob method[14] for more details.
Can I run my client over HTTPS, for increased security?
Yes, you'll find an example of that in clients/democlient-java's README. However, please bear in mind that the communication between the warehouse and the client is not crypted, even if the communication between the coordinator and client is.