java - Programmatically create REST Service -


i'm trying build rest service service should not "static" dynamically/programmatically created. i'm aware how create rest service spring , jax-rs not know how use dynamically.

my intention create annotations markup on source code , use markup generate rest service (during launch of application). service not need change during runtime.

is possible use possibilities of spring or jax-rs during runtime or have start beginning example using servlets?

do have suggestion on how solve problem. libraries/frameworks spring or jax-rs prefered.

a common way using spring backend , jersey rest endpoints (as @peeskillet suggested in comments). here simple beginner's tutorial useful.

you try spring mvc.

here guide spring site: building rest services spring.


Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -