Wednesday Jan 28, 2009

NEW temporary problem with RESTful client stubs created in jMaki or Spring framework

Well, the last problem with RESTful client stubs was fixed in jMaki plugin 1.8.1.1. Now however a new problem has been exposed. See Issue 150367. The change to Jersey 1.0 caused a regression in the client stub generator. This was fixed but did not make it into 6.5 release. There's a set of updates, which internally we call Patch 2, due to go out no later than mid-February. The fix for this problem will be in that set of updates. In the meantime, if you want to try out the Creating and Consuming RESTful Web Service jMaki Components tutorial, use the following sample projects instead of the projects you make in the tutorial:
http://wiki.netbeans.org/attach/RESTRemoting/CustomerDB.zip
http://wiki.netbeans.org/attach/RESTRemoting/CustomerApp.zip
http://wiki.netbeans.org/attach/RestJMakiComponents/CustomerJMakiApp.zip EDIT: As soon as I write this post, Patch 2 is released! So the problem is over.

Wednesday Oct 01, 2008

@ProduceMime, @ConsumeMime > @Produces, @Consumes

In the 0.9 version of Jersey supported in development builds of NetBeans IDE, the old annotations @ProduceMime and @ConsumeMime have been replaced with @Produces and @Consumes, respectively. These new annotations are not backward compatible! If you want to use any RESTful services created according to an earlier Jersey version with Jersey 0.9, you have to change the annotations. The new annotations are also used in the upcoming official JAX-RS 1.0, of course.

Wednesday Jun 25, 2008

RESTful Web Services from Database function in NB 6.5 M1

In NetBeans 6.5, in a single wizard you can create entity classes from a database and create RESTful web services from those entity classes. You used to run two wizards to do this.[Read More]

Sunday May 18, 2008

Jersey REST 0.7, now with Spring support

Jersey REST API 0.7 contains support for the Spring framework. This post shows how to use NetBeans IDE 6.1 with REST 0.7 to create a web application where a Spring-aware servlet is exposed through both a singleton and a per-request RESTful service. [Read More]
About

I'm a technical writer for NetBeans, covering web service support.

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today