https://github.com/foogaro/nojsf-cdi
NoJSF - It is a basic project which aims to be the base for project that do NOT want to use any obtrusive frameworks. This variant is based on the CDI standard (JSR 299 - WELD RI).
https://github.com/foogaro/nojsf-cdi
Last synced: 3 months ago
JSON representation
NoJSF - It is a basic project which aims to be the base for project that do NOT want to use any obtrusive frameworks. This variant is based on the CDI standard (JSR 299 - WELD RI).
- Host: GitHub
- URL: https://github.com/foogaro/nojsf-cdi
- Owner: foogaro
- Created: 2011-04-10T16:30:40.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2011-04-10T17:52:13.000Z (about 14 years ago)
- Last Synced: 2025-01-15T22:23:09.035Z (5 months ago)
- Homepage:
- Size: 215 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
NoJSF - It is a basic project which aims to be the base for project that do NOT want to use any obtrusive frameworks. This variant is based on the CDI standard (JSR 299 - WELD RI).
The project uses RESTeasy for the REST layer and WELD (JSR 299 reference implementation) to provide injection between layers.So, if all you want is just html, js, css and a restful backend... you found what you were looking for.
This is how it works:
- the user acts on the client sending an ajax request;
- the REST controller (aka restler) intercepts the request and delegates it to the business layer;
- the effective business component does the hard work and, if necessary, asks the persistence layer to query or persist entities/documents;
- the persistence component goes directly to the database through the appropriate and provided driver.
The chain terminates with a HTTP code, hopefully a 200 or 201! ;)