Code Monkey home page Code Monkey logo

jaxrs-cdi-sample's Introduction

This is a sample application that shows how JAX-RS and CDI work together. This sample application should be imported in an Eclipse workspace filled with the JBoss Tools 3.2 plugins. For more information on how to install those plugins, see here: http://community.jboss.org/en/tools/blog/2011/02/21/jboss-tools-32-is-finally-here . You should also download and install JBoss AS 6 (Final) since the sample application has all its dependencies on a JEE6 platform.

Then, you can install the 'ride' plugin from the update site hosted here : http://bytesparadise.github.com/ride/update
Once your Eclipse is ready, import the sample project, select the JBoss AS6 target runtime. All compilation errors should be fixed.
In the 'Configure' project menu (popup), select 'Add Support for JAX-RS 1.1 ...' .
The JAX-RS metamodel bound to the sample project should be built (an info message should be available in the 'Errors view'). If not, perform a project 'clean' or 'build'. 
In the 'Project Explorer' configuration menu, select 'Customize view' and in the 'content' tab, make sure the 'RESTFul Web Services' extension is selected. Back to the project, you should see the 'RESTFul Mappings' navigator item, which displays all the JAX-RS URI Template Mappings \o/.

From there, you can:
- browse those mappings, see the URI Template, consumed and produced media types, and the corresponding Java Method that would serve the request. Oh, and yes, you can jump to the method and copy the URI Template into the clipboard.


jaxrs-cdi-sample's People

Contributors

xcoulon avatar

Stargazers

Toshiaki Maki avatar Suhail Manzoor avatar  avatar

Watchers

 avatar James Cloos avatar

Forkers

calcacuervo

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.