[magnolia-dev] Re: Getting and parsing JSON from server.

2014-12-12 Thread Tobias Mattsson (via Magnolia Forums)
Hi David,

You can simply add the Jersey servlet to your Magnolia webapp. The recommended 
way is having a module install it to the filter chain although adding it 
directly in web.xml also works, just remember to exclude its path from being 
processed by the Magnolia filter chain.

You'll find instructions on how to add a servlet from your module here: 
http://documentation.magnolia-cms.com/display/DOCS/Module+management#Modulemanagement-Servlets

As Christoph says we do have a REST module that provides registration of JAX-RS 
resources using RESTEasy. Since Jersey is a JAX-RS implementation your JAX-RS 
resources can be added to the provided REST module and you wouldn't need to 
worry about registering servlets.

Hope that helps, Tobias

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=85380c31-cbc8-4b5e-8d9c-11c485f20a69



For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com




[magnolia-dev] Re: Getting and parsing JSON from server.

2014-12-11 Thread Christoph Meier (via Magnolia Forums)
Hello

Magnolia's REST Web service allows you to manipulate content through a Web API.
Have a look at 
[url=http://documentation.magnolia-cms.com/display/DOCS/REST+module and ]Rest 
Module[/url] and 
[url=http://documentation.magnolia-cms.com/display/DOCS/REST+API]REST API[/url].

i hope that helps / kind regards / christoph

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=85380c31-cbc8-4b5e-8d9c-11c485f20a69



For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com




[magnolia-dev] Re: Getting and parsing JSON from server.

2014-12-11 Thread Christoph Meier (via Magnolia Forums)
sorry, the 1st link is broken (why ever), here it is again:
http://documentation.magnolia-cms.com/display/DOCS/REST+module

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=85380c31-cbc8-4b5e-8d9c-11c485f20a69



For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com