2

Is it possible to create a Restful webservice for an existing API without having to add annotations to POJOs (java classes)? Is it possible with jersey? or another JAX-RS implementation? The problem is that i am just having too much annotations on my classes and need to add some adapters when dealing with complex data types.

John Saunders
  • 159,224
  • 26
  • 237
  • 393
Lahniep
  • 719
  • 1
  • 11
  • 30

1 Answers1

1

There are certainly other approaches and libraries for publishing RESTful resources that don't rely on annotations such as Restlet for instance. Looking at the JAX-RS specification it seems that all it defines are the annotations. If you don't use the annotations, you aren't using JAX-RS anymore.

laz
  • 27,919
  • 5
  • 52
  • 50