High-level wrappers for Java APIs

I’m interested in using Jena (a Java-based Semantic Web framework)
via JRuby. The basic functionality of the API is already usable,
but I’d like to create a high-level wrapper that “rubifies” the
API to make it more pleasant to use.

Rich Kilmer has done some interesting work in this direction with
the HotCocoa wrapper (using MacRuby to access Cocoa’s Objective-C
APIs). Ernie Prabhakar is also using MacRuby to access the Grand
Central Dispatch API.

There is also some blogging on the general topic, including:

What makes a good API wrapper?
http://wynnnetherland.com/2009/11/what-makes-a-good-api-wrapper/

Writing APIs to Wrap APIs
http://chadfowler.com/2007/9/5/writing-apis-to-wrap-apis

Anyway, I’m hoping that someone can point me to some examples and
discussion of using JRuby wrappers to make Java APIs more Rubyish.
Comments, clues, and suggestions welcome!

-r

http://www.cfcl.com/rdm Rich M.
http://www.cfcl.com/rdm/resume [email protected]
http://www.cfcl.com/rdm/weblog +1 650-873-7841

Technical editing and writing, programming, and web development


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Anyway, I’m hoping that someone can point me to some examples and
discussion of using JRuby wrappers to make Java APIs more Rubyish.
Comments, clues, and suggestions welcome!

redcar “wraps” the swt…in a reasonable fashion. Of course, that’s a
pretty big code base, but hey :slight_smile:

-r

At 10:49 AM +0000 2/15/10, Damian S. wrote:

There is:

Taylor Cowan’s blog posting is a very good starting point, but it
isn’t a full-fledged wrapper framework. Taylor and I are chatting
about ways to adapt his JenaBeans to take more advantage of Ruby.

-r

http://www.cfcl.com/rdm Rich M.
http://www.cfcl.com/rdm/resume [email protected]
http://www.cfcl.com/rdm/weblog +1 650-873-7841

Technical editing and writing, programming, and web development


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

On 12/02/10 19:05, Rich M. wrote:

I’m interested in using Jena (a Java-based Semantic Web framework)
via JRuby. The basic functionality of the API is already usable,
but I’d like to create a high-level wrapper that “rubifies” the
API to make it more pleasant to use.

There is:

http://www.thewebsemantic.com/2008/01/05/jena-ruby-bindings-accessing-jenas-feature-rich-rdf-api-from-ruby/

And there was a project called ‘activerdf’ which included jena support,
but it seems to be dead (?).

Damian


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs