Habari Web Components is a web application framework for small to medium size HTTP services, based on the popular open source TCP/IP library for Delphi and Free Pascal, Internet Direct (Indy). Changes in this version:
uses Internet Direct (Indy) version 10.6 (revision 5002 or newer)
compiles with Free Pascal 2.6.2
object pool, an example implementation for interfaced object pool
GlassFish 4 – the first Java EE 7 application server – has been released. It is open source and available for download here – in two versions (Full Java EE platform and the Java EE Web Profile with reduced resource footprint) for Windows, Solaris, Linux and OS X.
New features include standardized API support for the WebSocket (JSR 356) and JSON (JSR 353) specifications, HTML5 support in the JavaServer Faces version 2.2, JMS 2.0, a Batch processing API (JSR 352), Concurrency support, and more. See also: GlassFish 4 Brings Java EE 7
Delphi and Free Pascal applications can be integrated in GlassFish (Full Java EE platform) web applications and web services using the Habari Client libraries from Habarisoft, which provide direct communication with the Open Message Queue (Open MQ) message broker, which is the default JMS provider in GlassFish 3 and 4.
Habarisoft introduces dynamic connection pooling with the next release of its message broker client libraries for Delphi and Free Pascal. Connection pools save resources in multi-threaded applications, as connections are initialized only once and then shared between threads. They can speed up the program execution because the pool returns and stored them in started state.
This article shows the code for a Delphi server which receives a RPC call message from the inbound RabbitMQ request queue, and sends the response message back to the Java client. It is the mirror code for the previous article.
But access to the RPC server process is not limited to Java applications – Delphi and Free Pascal applications using the Habari Client for RabbitMQ library can invoke the server process method too.
This article shows the code for a Delphi client which sends a RPC call message to the inbound RabbitMQ request queue, and receives the response message over a temporary queue, which exists only for the duration of the connection.
Fabricio Colombo created a Delphi REST client API to consume REST services written in any programming language on Github. It supports two implementations, using Indy 10 and WinHTTP.The API was tested in Delphi 7, XE, XE2 and XE3.
The library uses JSON serialization to and from Delphi objects and supports Generics. This allows to perform complex REST commands with little code, for example a GET which retrieves a TPerson object list:
vList : TList<TPerson>;
vList := RestClient.Resource('http://localhost:8080/java-rest-server/rest/persons')
May 7, 2013 – Habarisoft is pleased to announce release 2.5a1 of its
Delphi and Free Pascal client library for the Open MQ open source
message broker (http://mq.java.net/).
This is the first alpha of release 2.5, which introduces support for
Indy 10.6 and has been tested with build 14 of Open MQ 5.0, the
next-generation message broker version which implements JMS 2.0
(introduced with the new Java EE 7.0 specification). Continue reading →
The RabbitMQ team announced the release of RabbitMQ 3.1.0 – This release introduces eager synchronisation of mirror queue slaves, automatic cluster partition healing, and improved statistics (including charts) in the management plugin. It also adds many smaller new features, bug fixes and performance improvements.
The developers encourage all users of earlier versions of RabbitMQ to upgrade to this latest release.
JBoss Community has released the final release of HornetQ 2.3.0. This includes new features such as replication, multiple backups, multiple failover, fallback and STOMP 1.2 support as well as many other enhancements, fixes and performance tweaks.
A STOMP based Delphi and Free Pascal client library for HornetQ is available from Habarisoft.