New Robot API

Just found that a new JAVA API of the robots is available on the download site. The difference in the code can be seen on the changes page.

One interesting concept is the AbstractRobot which has been added. From my look at it this class gives is able to create the capabilities XML and the profile information. So you only need to implement one class and then you can have all the information you need one place. This will make it much easier to program robots. The Rave Ruby frameworks has something like this, you just implement the methods for each event you want to have. Then the framework can manage to create the capabilities XML file. The AbstractRobotServlet and ProfileServlet was not changed, this could lead to thoughts about deprecation of these classes.

Of other changes the Annotations and Range has better toString functions, which was missing when you needed to debug applications.

I hope there will be posted a change to the tutorial, so we can start using the AbstractRobot instead.

Bookmark and Share

Published by

avatar

Daniel Graversen

Founder of masteringwave.com and SAP Integration consultant at figaf.com

One thought on “New Robot API”

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>