I'm expanding on an earlier post where I explained how to deploy JAX-RS Web Services to the Oracle Cloud. In that entry the web service simply returned a hard-coded "Hello World". In reality, you most likely want your web service to expose something more meaningful. In this post I'm going to expand the HelloJerseyApp to display the results from a table, which I'll expose using a JPA entity.
Web Services and XML
By default, all connections to the Oracle Cloud are encrypted. Browsers automatically import the necessary certificates, however, when trying to access these services from a Java client, you will not be immediately successful.
In this blog entry I outline the steps necessary to deploy JAX-RS (JSR 311) RESTful web services to the Oracle Cloud. We'll be using Jersey, which is the reference implementation for JAX-RS, and JDeveloper, which is my primary Java IDE.