Recommended Reading (Java) : Reactive Jersey Client

I came across a very nice set of articles on ‘Reactive Jersey Client’ which I put on my recommended reading list.  It focuses on solving a common problem of applications that don’t use resources in an efficient manner.  An common example might be that threads are often blocked while waiting for a resource to be freed up or an event to happen.  Three nice articles cover reactive programming with respect to Jersey clients.  Now if you are thinking “Why New Jersey ?” – you are off-track, we are talking the RESTful Web Services in Java which is called Jersey.  If you are a newbie to Jersey –

screenshot_423

Michal Gajdos, who works on Jersey has written a number of articles on Reactive Jersey. These are really worth reading.reactive2

screenshot_427

screenshot_428

 

[Kudos to delabassee for the pointer]

 

Oracle, GlassFish Application Server and Support

Glassfish Application Server is an excellent Java EE app server and indeed is the reference platform for Java EE editions.  So it was surprising and weird, to say the least, that Oracle announced the following recently. I will not try to interpret it – it seems pretty clear.

glassupport

With all that said, I imagine a lot Glassfish developers and users might be concerned.  Along game the explanation of the previous roadmap :

glassupport2

All of this has served to alarm developers and users of GlassFish.

Adam Bien’s take in November when the original announcement

adambien01

All quite alarming for GlassFish users.  RebelLabs offered the following recently in an effort to help any GlassFish users that were migrating :

rebellabsglassThings do not bode well for GlassFish.  We will have to wait and see where Oracle is going with all this.

 

 

Recommended : Creating Web Services Using Clojure

Recently, I provided a post on creating RESTful web services in Java.  Today, we focus on creating RESTful web services in Clojure. If you are new to Clojure, you can get an accelerated look at it in Learn Clojure.  Let’s start with building RESTful web APIs :

webservicescloj

Here is another example, a set of slides from Josep Bach :

cljws10min

Some other references are of use if you are writing a web service.  Let’s start with Ring :

LearningRing

Another useful thing is an authentication library, Sandbar.  Two more important libraries are Compojure and Compojure-rest.  Two other libraries, enlive, to deal with XML and clojure-json to deal with JSON.  Here is another example of building web services using Compojure.

Cljrcompojure

Finally, a series also in building Clojure web services :

cljrwsumbers1

cljrwsumbersII

cljrwsumbersIII

 


clojureiconGo to more posts on clojure or that are clojure-related at http://digitalcld.com/cld/category/clojure.

Recommended Tutorials : Creating RESTful Web Services in NetBeans 7

Oracle has put together a number of excellent tutorials on creating RESTful web services (in both NetBeans and Eclipse).  This is part 1 :

nbrestws10

In part 2 the tutorial implements a way for the RESTful web services uses CRUD operations :

nb7crud

In this tutorial you build – a client app to consume RESTful web services, generate entity classes from a database, create/update/delete/retrieve  operations.

In the final tutorial (part 3), Developing an Ajax Client for RESTful Web Services in NetBeans 7 an AJAX client is developed to consume RESTful web services, rendering RESTful response in both XML and JSON formats.

nb7AJAX

 

Recommended Presentation : ClojureScript – LISP’s Revenge & Other ClojureScript Sources

Apologies for the recent outage. My hosting service had some issues which they did a great job resolving.  All that is fortunately behind us.  This post focuses on some resources I have been looking at with regards to ClojureScript.

I’ve started looking at ClojureScript and found some interesting work others have done. David Nolen gave a very nice talk on ClojureScript at the GOtO Aarhus 2013 conference. A very nice introduction to those interested in learning more about ClojureScript.

cljscript03

You can use Light Table to write your ClojureScript code.

cljscript04

I also bumped into an interesting set of learning exercises :

cljrscript05

And finally a new book that I just snagged off Amazon :

cljscriptbook


clojureiconGo to more posts on clojure or that are clojure-related at http://digitalcld.com/cld/category/clojure.