Mark Watson's books on Java, Artificial Intelligence, C++, and Intelligent Agents

Errata sheets and extra code for my books



SunONE Book Cover Image Scripting Intelligence: Web 3.0 Information, Gathering and Processing, APress 2009

This book covers the Semantic Web, Linked Data, Scaling web applications, using map reduce for large scale data processing, web mashups, and text mining.

Covers: natural language processing, ActiveRecord, Datamapper, Ruby clients for CouchDB, Sesame, AllegroGraph, scaling for large data, geohash and geolocation, Solr, Nutch, Sphinx, web scraping and storing data as RDF, linked data, Hadoop map reduce, and web mashups.

The examples are (mostly) written in Ruby.

Here is a link to support this book.

2/19/2012: I moved the example source code to a github repostitory. Enjoy!



SunONE Book Cover Image Java 10 Minute Solutions Sybex, 2004

This book covers short examples that solve common Java programming problems, including: XML (SAX, DOM, XSLT), thread management, JDBC, ant, XDoclet, servlets/JSP/struts, search algorithms, etc.

Here is a link to my support web site for this book. Here is a link to download the examples.



"Intelligent Java Applications for the Internet and Intranets", 1997 Morgan Kaufman (Many Distributed AI examples developed in Java)

NOTE: This book is out of print, and the examples were written using Java 1.0 in 1996

This book provides many examples of artificial intelligence programming in Java, including:

New 3/7/2000: a ZIP file containing versions of the example programs updated to compile and run under JDK1.1 and JDK1.2



SunONE Book Cover Image "Sun ONE Services", 2001 M&T Press (Hungry Minds)

This book covers the Java enterprise J2EE 2 APls and XML technologies that comprise the Sun ONE platform - EJBs, servlets, JSPs, JNDI, UDDI, ebXML, SOAP, WSDL, and JAXP. Here is a link to my support web site for this book.


"Common LISP Modules. Artificial Intelligence in the Era of Neural Networks and Chaos Theory", Springer-Verlag 1991 Common LISP source code to my book "Common LISP Modules. Artificial Intelligence in the Era of Neural Networks and Chaos Theory"

Note: as of 3/19/2000: the Source code ZIP file contains a new plot library to work with the free Xanalys Personal Edition of LispWorks 4.3. Check out LispWorks.com to get LispWorks 4.3 personal edition.



"Linux Programming Unleashed", 1999 MCP

Lead author: Kurt Wall, with Mark Whitus, and Mark Watson.

NOTE: the publisher decided not to include CD-ROMs with this book as it went to press. Eventually, MCP will have all code examples from the book at this web site: http://www.mcp.com/cgi-bin/mcp/isbngo.cgi?0672316072

Until MCP has our examples online, here is a link to get my example programs in the book.

This book covers most aspects of programming for the Linux platform. My contributions were chapters on:

Kurt Wall did a good job putting this book together, and I had a lot of fun writing my chapters! Linux rules!

Here is a link to get my example programs in the book.



"Java Programming for Windows: Using Microsoft AFC, WFC, and XML", 1998 Morgan Kaufman

The Java programming language is widely used for deploying applications on most types of computer systems. Although many Java programs are written for portability, writing Windows-specific Java programs can enhance the performance of multimedia and Windows-specific APIs.

This book offers guidelines for determining when to use Windows-specific APIs and code. It also helps you divide applications into portable Java and platform-specific Java modules both to maximize future code reuse on all platforms and to take advantage of Windows-specific APIs for appropriate applications.

"Java Programming for Windows" shows you how to

5/3/2000 update: see the errata page or directions for using Microsoft's SDK for Java version 4.0



"Understanding UML: The Developer's Guide: With a Web-Based Application in Java", Paul Harmon and Mark Watson, Morgan Kaufman Publishers, 1997

A guide to the new standard for designing object oriented software: UML. The client/server Java example includes a useful database access class library that uses the JDBC Java API.


"Portable GUI Development With C++", McGraw-Hill 1993



"Creating JavaBeans: Components for Distributed Applications", Morgan Kaufman, 1997

This book serves as an introduction to JavaBean programming and provides complete examples using:


"C++ Power Paradigms", McGraw-Hill 1994 (Genetic Algorithms, Neural Networks, and Constraint Programming)


"Portable User Interface Programming in C++, second edition", McGraw-Hill 1995 (Windows, Windows 95, NT, OS/2 PM, Macintosh, and X Windows) Note the publisher released some books with the wrong software on the included disk. Click here to get the disk contents. Note:The material in this book is out of date - it was written in 1994.


"AI Agents in Virtual Reality Worlds", J. Wiley 1996 (C++ framework for AI in games)


"Programming in Scheme ", Springer Verlag 1996 (Learn Scheme programming using AI examples)

I provide a tutorial for Scheme programming and several interesting examples (e.g., neural networks, genetic algorithms, search, chess player, Go player, etc.).


"Programming Intelligent Agents for the Internet", McGraw-Hill 1996 (For Windows 95 and NT programmers who want to automate retrieval of information from the Internet. All examples also provided for Unix systems.)

I provide a C++ class library for accessing information on the Internet, plus several examples.


Mark (taking a break from writing) and our Shar Pei Otis behind our house in Sedona Arizona. We live on the edge of a national park trail system.