February 2012
5 posts
4 tags
HAL Resources and "static language" contracts
At the end of the last post I mentioned how to create a ReadableResource from external content
ReadableResource somethingPostedToUs = rf.newResource(
new InputStreamReader(request.getInputStream()));
and mentioned we’d look at converting that to static class, but first we’ll look at the generic contract’s system I added to the API. A Contract is a simple SAM Type interface:
public interface...
3 tags
Creating Resources with HalBuilder
The other day when I posted about the release of the Halbuilder library I stupidly reused big portions of an email I was writing about the library, and included some client usage code using Jetbrain’s new language Kotlin.
Several people (and rightfully so) slapped me for that – so this post is all about how you generate, and consume HAL resources in pure Java.
Creating a basic Resource
The...
Java has never been future compatible, and will never be. I just want to make...
– Richard Bair on bundling a JRE per-application for desktop applications.
2 tags
clojure-maven-plugin 1.3.9 released.
Thank’s to some small, but super awesome pull requests from Cosmin Stejerean I just released version 1.3.9 of the clojure-maven-plugin which should be hitting Maven Central shortly:
<plugin>
<groupId>com.theoryinpractise</groupId>
<artifactId>clojure-maven-plugin</artifactId>
<version>1.3.9</version>
...
4 tags
HalBuilder 1.0.1 released
Last night I pushed out the first public release of my Java based Hypertext Application Language (HAL) parser/generator library to Maven Central:
<dependency>
<groupId>com.theoryinpractise</groupId>
<artifactId>halbuilder</artifactId>
<version>1.0.1</version>
</dependency>
The HalBuilder library provides an API for both generating, and...