Posts tagged with "rest"

Jan 31st, 2013

Top 10 EclipseSource Blog Posts of 2012

Here at EclipseSource we like top 10 blog posts. So here is our top 10 of 2012 – the posts most viewed or created the most buzz. 1. Top 10 Eclipse Juno Features Eclipse Juno has been released this year and it was the first simultaneous release built on Eclipse 4. In preparation of the [...]

Leave a Comment
Nov 28th, 2012

Consuming REST services in OSGi the cool way

consumer

I recently introduced you to the JAX-RS Consumer. If you’ve read that post you might remember that I promised to write about the OSGi integration of the consumer. This is the topic of this short post. As you might know, a while ago I created the OSGI-JAX-RS connector. This connector gives you the opportunity to [...]

4 Comments
Nov 27th, 2012

Consuming REST services in Java the cool way

overall

When creating a REST API with Java you probably go with JAX-RS . It’s a nice and well thought-out standard. Having the services encapsulated as plain Java objects with some annotations feels good to me. But this is all different when it comes to consuming REST services. During the last month I have searched for [...]

3 Comments
Nov 2nd, 2012

Integrating Gson into a JAX-RS based application

Jersey_yellow

Creating modern applications often involves consuming REST based web services. One of the more popular ways to publish a REST service in Java is the JAX-RS (Jersey) specification. It allows you to very easily enhance your REST resources with Java annotations. In many cases REST is used in combination with the JSON document format. In [...]

4 Comments
Oct 26th, 2012

OSGi-JAX-RS Connector 2.1.0 released

connector

Two months ago the OSGi JAX-RS was released in Version 2.0. Today I’m proud to announce Version 2.1. In addition to minor improvements, a new feature was added based on the work of Dirk Lecluse. It’s now possible to register @Provider annotated objects as OSGi services. The @Provider annotation is used to register custom de/serialization. Now [...]

4 Comments
Sep 11th, 2012

Running HTTP/REST Integration tests in an Eclipse Tycho Build

reports

A few days ago my fellow Frank wrote about running HTTP/REST Integration Tests efficiently in Eclipse. Today I want to show you how to embed those tests in a headless build using Eclipse Tycho. Embedding restfuse in a build is as simple as embedding plain JUnit tests. But when trying to start an OSGi server [...]

Leave a Comment
Sep 10th, 2012

restfuse 1.1.1 released

restfuse

It has been almost a year since the last restfuse news. In the meantime restfuse was adopted by a lot of individuals and companies. Since the last release the development continued on github and made it now worthwhile to publish an update. Last week we released restfuse 1.1.1. Some noteworthy things are: Updated the underlying Jersey [...]

4 Comments
Aug 27th, 2012

OSGi JAX-RS Connector 2.0 released

Back in January 2012, I wrote about the release of the OSGi JAX-RS connector in version 1.0. The connector gives you the opportunity to publish resources by registering @Path annotated types as OSGi services. I’m glad to say that the connector is in production use in many projects. It is pretty stable and as a [...]

8 Comments
Jan 23rd, 2012

An OSGi JAX-RS connector Part 1: Publishing REST services

In a recent blog post Peter Kriens commented that the OSGi service model is as important as object-orientation. I feel the same – I don’t want to write software without this concept anymore. But for me, the service model only makes sense when it’s used together with the modularity OSGi provides. I think the modularisation [...]

17 Comments