Giter Club home page Giter Club logo

rest-app's Introduction

This is a sample project, integrating JAX-RS implementation (RESTeasy) with EJB. 

The project has been tested with JBoss 4.2.3, two separate ears with services dependent on each other. 

Some important gotch'as:
 * when deploying RESTeasy within and EAR all libs must be within ear lib/ folder (not WEB-INF/lib inside war file). See the webapp and ear pom.xml configuration for details
 * when there are no libraries are deploying with the war file, the lib/ folder is not created. That's a reason for a dummy lib/empty file - to force existence of lib/ folder (for some unknown reasons the Skinny WAR didn't work - http://maven.apache.org/plugins/maven-war-plugin/examples/skinny-wars.html)
 * when the RESTful service is an EJB as well (which is convenient for wiring different services), it needs to be listed in resteasy.jndi.resources context-param in web.xml. The said service needs JBoss specific annotation @LocalBinding to define global JNDI  

rest-app's People

Contributors

kubamarchwicki avatar

Watchers

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