Name: sample.abdera.jaxrs
Owner: WASdev
Description: Demonstrating JAXRS-2.0 integration with Apache Abdera. #JavaEE7
Created: 2015-10-02 08:46:44.0
Updated: 2016-07-08 04:31:45.0
Pushed: 2015-12-02 03:38:29.0
Size: 35
Language: Java
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
JAX-RS 2.0 added Atom support using Apache Abdera.
Register Apache Abdera based Feed and/or Entry providers (net.wasdev.wlp.sample.abdera.jaxrs.atom.AtomFeedProvider and net.wasdev.wlp.sample.abdera.jaxrs.atom.AtomEntryProvider) with a jaxrs endpoint and have resource methods explicitly dealing with Abdera Feed or Entry classes. This is the most advanced option in that it lets users build Feeds or Entries in the way which suits most. Note that Abdera has not been actively mantained recently but practically speaking it is very good for working with most of the cases one may have to deal with when developing Atom-based applications.
Both AtomFeedProvider and AtomEntryProvider support a 'formattedOutput' (pretty-printing) property.
Browse the code to see what it does, or build and run it yourself:
Once the server has been started, go to http://localhost:9081/abdera-jaxrs-application/ to interact with the sample.
© Copyright IBM Corporation 2015.
nsed under the Apache License, Version 2.0 (the "License");
may not use this file except in compliance with the License.
may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
ss required by applicable law or agreed to in writing, software
ributed under the License is distributed on an "AS IS" BASIS,
OUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
the License for the specific language governing permissions and
tations under the License.