Category Archives: REST

PHPHOST BLOG

Web Hosting Related Articles You May Need

Book Review: Developing RESTful Services with JAX-RS 2.0, WebSockets, and JSON

I was particularly interested in accepting Packt Publishing’s offer to provide a book review of Masoud Kalali’s and Bhakti Mehta’s Developing RESTful Services with JAX-RS 2.0, WebSockets, and JSON because its title mentions three things I have had good… Continue reading

Posted in Book Review, Java EE 7, JAX-RS, JSON, REST, Syndicated | Comments Off on Book Review: Developing RESTful Services with JAX-RS 2.0, WebSockets, and JSON

JavaOne 2011: REST and Hypermedia as the Engine of Application State with Standard Java APIs

For my last technical session of JavaOne 2011, I wanted to attend something “easy” with a short title because of the mental fatigue and crammed brain resulting from four days of blistering rate of technical information coming my way. With that in mind,… Continue reading

Posted in JavaOne 2011, JAX-RS, REST, Syndicated | Comments Off on JavaOne 2011: REST and Hypermedia as the Engine of Application State with Standard Java APIs

More Groovy-based Simple HTTP Clients

In my previous blog post, I briefly wrote about the use of Groovy, Groovy’s GDK String, and the Java-provided URL class to write simple HTTP/REST clients. In this post, I look at how use of the URLConnection returned from a call to URL.openConnection(… Continue reading

Posted in Groovy, REST, Syndicated | Comments Off on More Groovy-based Simple HTTP Clients

Minimalistic HTTP Clients with Groovy

The Rocky Mountain Oracle Users Group (RMOUG) Training Days 2010 main technical sessions are going to be held tomorrow and Thursday of this week and I will be presenting two presentations on Groovy and JAX-RS/REST at this conference. It seems like a g… Continue reading

Posted in Groovy, REST, Syndicated | Comments Off on Minimalistic HTTP Clients with Groovy

JAX-RS and HTTP Responses

HTTP Status Codes are a big part of the HTTP protocol that most of us have seen countless times in our web browsing and development. We are used to seeing 404 (Not Found), 200 (OK), and so forth. Because HTTP is often closely tied with REST style app… Continue reading

Posted in JAX-RS, REST, Syndicated | Comments Off on JAX-RS and HTTP Responses

Playing with Jersey/JAX-RS Method Designators

There is a part of me that likes to try things just to see what happens. If I read something that says, “Never do this,” I have a hard time not doing just that thing if I believe doing so comes at no significant cost. There can be value to this appro… Continue reading

Posted in JAX-RS, REST, Syndicated | Comments Off on Playing with Jersey/JAX-RS Method Designators

JAX-RS and the REST Uniform Interface

In Roy Fielding’s dissertation that started it all, he stated:”The central feature that distinguishes the REST architectural style from other network-based styles is its emphasis on a uniform interface between components.”The above quotation can be fou… Continue reading

Posted in JAX-RS, REST, Syndicated | Comments Off on JAX-RS and the REST Uniform Interface

JAX-RS 1.1: What’s New?

Srini Penchikala’s InfoQ article Java EE 6 Web Services: JAX-RS 1.1 Provides Annotation Based REST Support provides a concise (fits on one printed page!) high-level overview of JAX-RS 1.1, some of the commonly used JAX-RS annotations, and some common i… Continue reading

Posted in JAX-RS, REST, Syndicated | Comments Off on JAX-RS 1.1: What’s New?

JAX-RS with Jersey: An Introduction

The JAX-RS (JSR 311: The Java API for RESTful Web Services) specification provides a standardized Java-based approach to implementing REST-style web services. Jersey is the reference implementation of JAX-RS and I provide a brief introduction to JAX-R… Continue reading

Posted in JAX-RS, REST, Syndicated | Comments Off on JAX-RS with Jersey: An Introduction

RESTful Database Access with sqlREST

The sqlREST project enables easier exposure of database data via REST-style web services. The 15-Minute Guide to sqlREST demonstrates how to quickly try out sqlREST simply by copying the sqlREST directory into a Java EE web server’s directory and sqlR… Continue reading

Posted in REST, Syndicated | Comments Off on RESTful Database Access with sqlREST