Home » Tag Archives: RESTful Web Services (page 8)

Tag Archives: RESTful Web Services

The future may just as well be RESTful

software-development-2-logo

Chris Zheng has just published an article on “Why the future is NOT RESTful”. It made a bit of a splash, but I think it’s based on false assumptions and quite wrong. Here’s why. Chris observes that client takes more and more responsibilities from the server. He suggests that server is slowly becoming just a database frontend with authorization. I ...

Read More »

Swagger: make developers love working with your REST API

java-interview-questions-answers

As JAX-RS API is evolving, with version 2.0 released earlier this year under JSR-339 umbrella, it’s becoming even more easy to create REST services using excellent Java platform. But with great simplicity comes great responsibility: documenting all these APIs so other developers could quickly understand how to use them. Unfortunately, in this area developers are on their own: the JSR-339 ...

Read More »

REST 101 For Developers

java-interview-questions-answers

Local Code Execution Functions in high-level languages like C are compiled into procedures in assembly. They add a level of indirection that frees us from having to think about memory addresses. Methods and polymorphism in object-oriented languages like Java add another level of indirection that frees us from having to think about the specific variant of a set of similar ...

Read More »

Restlet Framework – Hello World Example

restlet-logo

Restlet is a lightweight, comprehensive, open source REST framework for the Java platform. Restlet is suitable for both server and client Web applications. It supports major Internet transport, data format, and service description standards like HTTP and HTTPS, SMTP, XML, JSON, Atom, and WADL. A GWT port of the client-side library is also available. (Reference: http://en.wikipedia.org/wiki/Restlet) Hello World Example     ...

Read More »

How To Implement Input Validation For REST resources

java-interview-questions-answers

How To Implement Input Validation For REST resources The SaaS platform I’m working on has a RESTful interface that accepts XML payloads. Implementing REST Resources For a Java shop like us, it makes sense to use JAX-B to generate JavaBean classes from an XML Schema. Working with XML (and JSON) payloads using JAX-B is very easy in a JAX-RS environment like ...

Read More »

Spring Data REST in Action

spring-interview-questions-answers

What is spring-data-rest? spring-data-rest, a recent addition to the spring-data project, is a framework that helps you expose your entities directly as RESTful webservice endpoints. Unlike rails, grails or roo it does not generate any code achieving this goal. spring data-rest supports JPA, MongoDB, JSR-303 validation, HAL and many more. It is really innovative and lets you setup your RESTful ...

Read More »

SOA and REST with Grails

grails-logo

I discussed on my previous article about REST and how to leverage RESTful web services on Grails platform. We will further discuss Grails on SOA & REST and try to visualize architecture in details. REST and SOA are different architecture pattern with lots of commonality to make application highly interoperable. As per Thomas Erl SOA is “SOA is a term ...

Read More »

Jersey Client: Testing external calls

java-interview-questions-answers

  Jim and I have been doing a bit of work over the last week which involved calling neo4j’s HA status URI to check whether or not an instance was a master/slave and we’ve been using jersey-client.   The code looked roughly like this:           class Neo4jInstance { private Client httpClient; private URI hostname; public Neo4jInstance(Client ...

Read More »

Why REST is so important

java-interview-questions-answers

This post is dedicated to REST, an architectural style of shaping webservices and the most misunderstood concept in the history of IT. This post is addressed to you who is designing webservice apis not being fully aware what REST actually means. I’m trying to give you the idea. This post is also addressed to you who think to know what ...

Read More »

Grails – RESTful Webservice using JAX-RS plugin

grails-logo

I discussed about RESTful architecture consideration and how to build RESTful web services using Jersey JAX-RS [JSR 311]  in JAVA. Today I am going to discuss how to build the RESTful web services using Grails framework. GRAILs framework is the platform which provides end to end solution to build web application from scratch to advance intuitive RIA web application. Grails ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close