Skip to content
Lahiru Sahan Jayasinghe edited this page May 8, 2013 · 16 revisions

ZombieLink

ZombieLink /zŏm'bē'lĭngk/ noun. 1 A lightweight HTTP facade which simplifies network communication. 2 An endpoint proxy generator for web services. Build Status


##About

ZombieLink allows easy integration with remote services by allowing you to replicate an endpoint contract and generate a proxy to access it.

  • Contracts can be very flexible in terms of the resources they access. These could be vary from static html content or an RRS feed, to a RESTful web service endpoint.

* Each endpoint contract is specified on a single interface using annotations to provide the communication metadata. It is then wired into your code via an annotation, where it'll be created, cached and injected at runtime.

##Setup

1. For Maven Projects

Simply add it as a dependency in your Maven project's pom.xml.

<dependency>
   <groupId>com.lonepulse</groupId>
   <artifactId>zombielink</artifactId>
   <version>1.2.3</version>
</dependency>

For documentation, resolve dependencies with

$ mvn dependency:resolve -Dclassifier=javadoc

### 2. For Non-Maven Projects

For projects which use an alternative build tool, clone the repository and package with Maven to find the uberjar in the target directory.

$ git clone git://github.com/sahan/ZombieLink.git
$ cd ZombieLink
$ mvn package

Attach documentation using ZombieLink-1.2.3-javadoc.jar.

##Usage Coding with ZombieLink is a breeze. It follows a simple annotation based coding style and adheres to a minimal intrusion policy. Kickoff with the quickstart and follow the rest of the wiki pages.

  1. Quickstart

  2. Defining Endpoint Contracts

  3. Working With Response Parsers

  4. Injecting Endpoint Proxies

  5. Accessing RESTful Services

  6. Executing Requests Asynchronously


##License This library is licensed under Apache License, Version 2.0.

Clone this wiki locally