Archive for February, 2007

REST API for Java – But Will It Be Simple Enough to Actually Be RESTful?

Following Cote’s del.icio.us links, I found that there is a JSR proposed for a RESTful Web Services API. It would be ludicrous for this JSR to not be voted in, so let’s assume it will go forward and become a massively committee-driven document someday, perhaps even accompanied by a reference implementation. The burning question on my mind is: will it actually be simple enough to use?

Hopefully, the JCP learned it’s lesson from the community fallout on WS-* Java APIs. And hopefully it has learned from the RoR community that developer productivity rather than infinite pluggability is actually a key requirement. Think Spring and DI, not commercial black box components and SPIs.

So let’s see if they can actually pull off an API that lacks the following:

  • Factory classes for roundabout instantiation
  • Manager classes for implementation abstraction
  • Engine classes for what should be behind the scenes servicing
  • Interface/Implementation pairing ad nauseum (I’m so done with the Bridge pattern)
  • Pluggable runtime providers – how about just provide a good one OOTB and be done with it?

Can they possibly do it without the same old, tired patterns?

Technorati tags: , , , , , , ,


Diabetic Runner Challenge – 500

Flickr Photos

View Down from Near Mitchell Rock

Start of the Mitchell Rock Trail

Mitchell Rock Trail at Sunset

More Photos

del.icio.us/scottmark

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 License.

Site Meter

RSS Latest Runs

  • 3 Mile
    Date: 2008-10-17 Distance: 3.00 mi. Repetitions: 1 Weight: 160.0 lbs. Duration: 00:25:25 (HH:MM:SS)
  • Easy 2 miles
    Date: 2008-10-16 Distance: 2.00 mi. Repetitions: 1 Weight: 160.0 lbs. Duration: 00:18:00 (HH:MM:SS)
  • Interval Training
    Date: 2008-10-14 Distance: 3.00 mi. Repetitions: 1 Weight: 160.0 lbs. Duration: 00:40:00 (HH:MM:SS)
  • Easy Run / Jog
    Date: 2008-10-14 Distance: 1.00 mi. Repetitions: 1 Weight: 160.0 lbs. Duration: 00:10:00 (HH:MM:SS)
  • Easy Run / Jog
    Date: 2008-10-12 Distance: 1.50 mi. Repetitions: 1 Weight: 160.0 lbs. Duration: 00:20:00 (HH:MM:SS)
  • Easy Run / Jog
    Date: 2008-10-12 Distance: 1.00 mi. Repetitions: 1 Weight: 160.0 lbs.
  • Walk/Run - Barefoot startup
    Date: 2008-10-08 Distance: 2.25 mi. Repetitions: 1 Weight: 160.0 lbs. Duration: 00:30:00 (HH:MM:SS)
  • 2008 Twin Cities Marathon / 50k
    Date: 2008-10-05 Distance: 31.00 mi. Repetitions: 1 Weight: 160.0 lbs. Pace: - / 09:19 / - (min/avg/max) Speed: - / 6.44 / - mi/hr (min/avg/max) Duration: 04:49:00 (HH:MM:SS)
  • 1 mile intervals
    Date: 2008-09-18 Distance: 4.85 mi. Repetitions: 7 Weight: 160.0 lbs. Duration: 00:51:46 (HH:MM:SS)
  • Medium run
    Date: 2008-09-17 Distance: 8.00 mi. Repetitions: 8 Weight: 165.0 lbs. Pace: - / 08:39 / - (min/avg/max) Duration: 01:09:17 (HH:MM:SS)