Habari Client libraries release 2015.02

Habarisoft released new versions of Habari Client libraries for Delphi and Free Pascal application integration with free open source message brokers.

Tested with current message broker versions

  • Apache ActiveMQ 5.11.0
  • Apollo 1.7
  • HornetQ 2.4.0.Final
  • Open MQ 5.1 b09
  • RabbitMQ 3.4.3


  • The throughput test application uses the subscribe.receipt=true connection parameter to ensure that the broker is ready before the producer starts sending messages


  • Connection factory – As a preparation for further code streamlining between library versions, a new API compatible factory class TBTConnectionFactory is included in this version which will replace TBTJMSConnectionFactory in the next major release
  • Password logging – If Log4D logging is enabled, the passcode header value will be not be logged but replaced with *** in the log output
  • Optional units – Several units which are not covered by basic support have been moved to the source/optional directory (BTMessageTransformer*, BTStreamhelper, SSL support units)
  • Refactorings – Refactorings reduce unit dependencies and hard type casts in several places
  • Cleanup – Removed unused procedure TBTStompClient.Connect(const AURI: IURI)
  • Documentation – More documentation improvements and streamlining between library versions

Previous version release notes: Habari Client libraries release 2014.09



Habari Client Libraries


Habari Web Components with JclDebug stack trace support

The upcoming release of Habari Web Components 2.9 introduces experimental support for stack trace output with JclDebug, part of the open source Jedi Code Library, in addition to the already included support for madExcept stack traces.

Exception stack traces are available in development stage mode, and require linking with detailled map information. Please note that these experimental features are not covered by the standard basic support scheme for Habari Web Components and not guaranteed to work with all versions of Delphi / Free Pascal.

The screenshots below illustrate the output on screen and in the Log4D logging output:

Habari Web Components

ScroogeXHTML for the Java™ platform 4.5 – fast RTF to HTML/XHTML converter

Habarisoft released its RTF to HTML/XHTML converter library, ScroogeXHTML for the Java™ platform, version 4.5.

Release Notes:

  • Added support for bookmarks. Bookmarks will be converted to id attributes of additional <span> elements. Bookmark processing is disabled by default and can be enabled by setting ScroogeXHTMLBase.setConvertBookmarks(boolean) to true.
  • Added support for field expressions to capture hyperlink targets. Field expression processing is disabled by default and can be enabled by setting ScroogeXHTMLBase.setConvertFields(boolean) to true.
  • Added experimental helper class LinkURIBuilder which converts field expressions to hyperlink target URLs
  • Updated installer to version 5.0.0-rc3

On-line demo

The page secure.habariwebcomponents.de/sxd/ allows to upload a RTF file and convert it to different output formats (including HTML5, HTML 4.01 and XHTML).

API documentation

The online API documentation is available at http://www.habarisoft.com/scroogexhtml_j/4.5/docs/api/index.html.

Two server deployment licenses included

For the deployment on client/server production systems, the Single Developer license already includes two server deployment licenses. License types are explained on http://www.habarisoft.com/scroogexhtml_license.html

Open Source GlassFish 4.1 Server Released

The new release of GlassFish 4, the world’s first Java EE 7 application server brings:

  • updated platform support (Java 8, CDI 1.2, and WebSocket 1.1)
  • Tyrus (WebSocket 1.1 RI)
  • Jersey (JAX-RS 2.0 RI). Updated with some impressive new features
  • OpenMQ (JMS 2.0 RI). Open MQ adds support for communicating over WebSocket.

GlassFish 4.1 can be downloaded from https://glassfish.java.net/.

Delphi and Free Pascal developers can communicate with OpenMQ, the JMS implementation in GlassFish 4, with Habari Client for OpenMQ by Habarisoft.


Habari Client libraries release 2014.09

Habarisoft released new versions of Habari Client libraries for Delphi and Free Pascal application integration with free open source message brokers.

Tested with current message broker versions

  • Apache ActiveMQ 5.10.0
  • Apollo 1.7
  • HornetQ 2.4.0.Final
  • Open MQ 5.1 b09
  • RabbitMQ 3.3.5

Continue reading

Open source REST client libraries for Delphi


delphi-oop includes a REST client to consume RESTful web services using your own annotated class (similar to JAX-RS). It supports Google OAuth 2.0 authentication. The library is mostly tested with Delphi XE and hosted on Google Code at https://code.google.com/p/delphi-oop/

Code example: (more examples on the project page)

TODataNorthwindClient = class(TSvRESTClient)
    [GET] [Path('/Customers')] [Consumes(MEDIA_TYPE.JSON)]
    function GetCustomers(): TCustomers; virtual;


This library by Fabricio Colombo to consume RESTful web services supports two implementations, using Indy 10 and WinHTTP. The API was tested in Delphi XE, XE2 and XE3 and is hosted on Github at https://github.com/fabriciocolombo/delphi-rest-client-api

Code example:

  vPerson : TPerson;
  vPerson := RestClient.Resource('http://localhost:8080/java-rest-server/rest/person/1')

Open source SAX parsers for Delphi and Free Pascal

SAX (Simple API for XML) provides a mechanism for reading data from an XML document that is an alternative to that provided by the Document Object Model (DOM). Where the DOM operates on the document as a whole, SAX parsers operate on each piece of the XML document sequentially.

SAX is supported by several libraries for Delphi and Free Pascal, some open source libraries are:

WMF to PNG conversion support in ScroogeXHTML for the Java platform 4.4

The RTF to HTML / XHTML library ScroogeXHTML for the Java™ platfom introduces support for embedded WMF images in the upcoming 4.4 release. The conversion uses the Apache Batik transcoder to generate PNG files for all embedded WMF files of type EM_ANISOTROPIC.

ScroogeXHTML is also available for Delphi and Free Pascal.

Habarisoft on-line demo pages migrate to secure domain

Habarisoft started migrating demo web pages for its libraries to the secure domain https://secure.habariwebcomponents.de.

*) the Habari Web Components demo pages include links to non-secure resources (http instead of https) so they may cause browser security warnings.