https://github.com/commonjava/rwx
XML-RPC Event API with Object Bindings (Java)
https://github.com/commonjava/rwx
Last synced: 3 months ago
JSON representation
XML-RPC Event API with Object Bindings (Java)
- Host: GitHub
- URL: https://github.com/commonjava/rwx
- Owner: Commonjava
- License: gpl-3.0
- Created: 2010-07-21T16:33:41.000Z (almost 16 years ago)
- Default Branch: master
- Last Pushed: 2025-04-14T05:37:50.000Z (about 1 year ago)
- Last Synced: 2025-07-23T23:07:56.697Z (11 months ago)
- Language: Java
- Homepage:
- Size: 786 KB
- Stars: 0
- Watchers: 6
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.markdown
- License: COPYING
Awesome Lists containing this project
README
RWX XML-RPC Object-Binding API
=======================================
RWX is a set of APIs for dealing with XML-RPC interactions in Java. It offers
an annotation-based object-binding API for Java objects.
It uses Java Annotation Processor API to generate parser/renderer Java source files
according to RWX annotations. The top-level `RWXMapper` uses those generated classes under the hood.
You will need four steps to use RWX:
1. Create model classes according to your XML-RPC req/response format.
2. Annotate model classes with RWX annotations.
3. Generate sources from annotated classes (an example POM is provided in the `rwx-test` module).
4. Call `RWXMapper.render`/`parse` methods to convert between XML-RPC req/resp strings and Java objects.
The first two steps can be simplified by binding a field to `java.lang.Object` if you
do not know the exact Java type. In such cases, RWX will bind a `List`/`Map` based data structure to the field and you
can always interpret it in your program.