0

Is it possible to run resteasy or any jax-rs implementation in java se. Without the use of servlets container or javaee application container

user2471976
  • 57
  • 1
  • 7

1 Answers1

0

Since Java SE 6, there's a builtin HTTP server in Sun Oracle JRE. The com.sun.net.httpserver package summary outlines the involved classes and contains examples. In theory that one could be used to run resteasy i guess.

Note: this is only available in the JVM as provided by Oracle!

The following answer simple-http-server-in-java-using-only-java-se-api provides more details regarding providing a servlet with plain java se.

Community
  • 1
  • 1
uniknow
  • 938
  • 6
  • 5