GithubHelp home page GithubHelp logo

ruhan1 / rwx Goto Github PK

View Code? Open in Web Editor NEW

This project forked from commonjava/rwx

0.0 3.0 0.0 737 KB

XML-RPC Event API with Object Bindings (Java)

License: GNU General Public License v3.0

Java 96.47% Groovy 3.53%

rwx's Introduction

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 hook.

You will need 4 steps to use RWX:

  1. Create model classes according to your XML-RPC req/response format.
  2. Annotate model classes by RWX annotations.
  3. Generate sources form annotated classes (an pom example is provided in rwx-test module)
  4. Call RWXMapper.render/parse methods to convert between XML-RPC req/resp strings and java objects.

The first two steps could 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.

rwx's People

Contributors

jdcasey avatar ruhan1 avatar michalszynkiewicz avatar dwalluck avatar ligangty avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.