GithubHelp home page GithubHelp logo

fauxfaux / jersey-pico Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tomcz/jersey-pico

0.0 3.0 0.0 2.45 MB

PicoContainer IoC provider for the Jersey REST framework

Groovy 10.13% Java 89.87%

jersey-pico's Introduction

Introduction

This project provides allows the use of PicoContainer-managed instances as Jersey resources.

The Jersey project provides bindings for springframework and google-guice, but I wanted to see what it required to use PicoContainer as an IoC container within Jersey.

Dependencies

Alternatively you can use the archives.watchitlater.com maven repository to fetch the latest binary, source and javadoc JARs.

repositories {
  mavenCentral()
  maven { url "http://archives.watchitlater.com/maven" }
}

dependencies {
  compile 'com.watchitlater:jersey-pico:1.2.1'
}

Examples

Please take a look at src/test/webapp/WEB-INF/web.xml for examples of how to configure the PicoServlet. All the example code is located in the com.sun.jersey.spi.pico.container.servlet.example package in src/test/java.

In addition you can look at the https://github.com/tomcz/jersey-webapps project to see how I wire up a Jersey web application using either jersey-pico or guice as the IoC container.

jersey-pico's People

Contributors

tomcz avatar fauxfaux avatar

Watchers

 avatar James Cloos 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.