JTask - a simple client/server Mac application

By Mike Powell
mikepowell@shaw.ca
May 14, 2009

This is a simple example of a Mac application acting as a client to a J server. The functionality provided is elementary; a browser window to monitor objects in the various locales of the running J task; an input field for sending expressions to the J task; and a log of the session inputs and results.

The client side is written in Objective C drawing on objects from the Cocoa Framework. The server is the J engine, accessed through the functions provided in the J dynamic library (libj.dylib). The application is standalone and does not require J to be installed on your system.

Although the application is rudimentary, the source code demonstrates how to do the following from within Objective C:

The source code is provided along with a commentary.

Installation

To run the application, double click the appropriate .app file.

To read through the source code with the commentary, open the commentary.pdf file and refer to the code in the source folder.

Interfaces/JTask (last edited 2009-05-14 23:05:06 by MikePowell)