Pages

Restful services tutorial in NetBeans (II)

It’s not very impressive. With Netbeans 6.1 I had some correspondence with SUN since I couldn’t get the “Getting Started with RESTful Web Services” tutorial to work (cf. previous blog entry).

Neither in Windows XP nor in Ubuntu 8.04 did I get it to work.

Now, with Netbeans 6.5 I give it a final try. [...]

mounting and naming ntfs drives in ubuntu

I don’t like the way you have to ‘click’ on an (internal) ntfs drive in nautilus before you may access it. And I’d like to rename the drive. So one does;

1. add a line to /etc/fstab:

UUID=568450EF8450D2DB /mnt/windows ntfs [...]

web service clients in netbeans

Sun has done a fairly decent job in helping developers make web service calls (the “Call web service operation..” menu choice/drag a service from the Service tab to the code) in Netbeans 6.1.

What’s missing is a better dependency check w.r.t. the published service. What I mean is that if the service changes (the api [...]

RESTful Netbeans tutorial

I can’t get the simplest of the NetBeans RESTful tutorials to work.

I’ve tried to do it faithfully a number of times but my Glassfish serverconsistently comes up with (from the server.log)|java.lang.InstantiationException:com.sun.jersey.impl.provider.entity.XMLRootElementProvider

I.e. it builds nicely, the JavaDB is happy but at deployment the Glassfish server fails.I’ve cleaned out every deployed entity (.wars and the like) [...]

A bug which lives entirely on its own and survives without oxygen in complete darkness

A couple of days ago BBC reported on a once-in-a-decade type of news. Well, to me at least!

“A bug which lives entirely on its own and survives without oxygen in complete darkness underground has been discovered” (http://news.bbc.co.uk/2/hi/7663927.stm)

Continuing from Discover Magazine; “Almost two miles beneath the earth’s surface in a South African goldmine, researchers have found [...]

Glassfish admin ports

As a reminder, when you start a standalone Glassfish the admin console runs on port 4848. But, if you use the built-in Glassfish that comes with the Netbeans bundle, then it runs on port 5162.

Prediction markets for software estimation

Prediction markets for software estimation seems to be hot. The idea that you put your money where your mouth is, is in general an appealing idea to improve estimation. Whether it works in practice is another matter.

In this (Norwegian) talk from JavaZone one gets a glimpse of the underlying mechanisms (particularly around the 10. [...]

Life doesn’t necessarily depend on oxygen

The big news sometimes drown in the sea of crises, elections, famines and the like; this is in my opinion a once-in-a-decade type of news:

“A bug which lives entirely on its own and survives without oxygen in complete darkness underground has been discovered”

Furthermore, from Discover Magazine; “Almost two miles beneath the earth’s surface in [...]

Avoiding Vista reboot after s/w updates

Thanks to http://softwarex-nz.blogspot.com/2008/01/stop-vistas-update-auto-reboot.html for this arcane tip;

“Go to the start menu, and in the search type “gpedit.msc” Then hit enter. The Group Policy Object Editor should appear.

Navigate to “Computer Configuration\Administrative Templates\Windows Components\Windows Update“

In the list on the right look for the following setting: “No auto-restart [...]