How to add REST services to a RAP application -


i working on web application uses rap. in application there 1 bundle contains model backed database. create bundles provide rest services make use of model bundle.

i looked @ application#addentrypoint ui contributions - not services such.

i read frankappel's post http://www.codeaffine.com/2011/08/26/raprwt-osgi-integration/ , wonder if rwt , felix might way go. looks promising felix new me.

is possible add these rest bundles rap application , set them handle /rest/* urls? or more sensible keep 2 parts separate , share model bundle in different way?

when using rap, active bundle may contribute usual "org.eclipse.equinox.http.registry.servlets" , "org.eclipse.equinox.http.registry.resources" extension points. need make sure name of rap application's entry point(s) , paths of ressources , servlets won't overlap.

so in practice, can develop rest services if there no rap component. 2 happily live side-by-side within same servlet context.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -