Query Statistics for Apache ActiveMQ with Delphi

Last October, Rob Davies wrote about the new Statistics plugin which is included in Apache ActiveMQ 5.3 and yesterday I found that it works very well using Delphi and the Habari ActiveMQ Client library (using the Stomp protocol) too. Broker Configuration To configure ActiveMQ to use the statistics plugin just add the following to the … Continue reading Query Statistics for Apache ActiveMQ with Delphi

Receive Apache Log4j messages with Delphi

The Habari ActiveMQ Client library for Delphi and Free Pascal can be used for monitoring of Java(tm) applications which use the popular Apache Log4j logging framework. This screenshot shows the output of a Delphi console application. It listens to a logging topic which receives log messages from an ActiveMQ message broker. The log messages have … Continue reading Receive Apache Log4j messages with Delphi

Java EE 6, GlassFish 3 and NetBeans 6.8 released

GlassFish 3 released Sun GlassFish Enterprise Server v3 is the industry's first application server to support the new Java Platform Enterprise Edition 6 (Java EE 6). Java EE 6 introduces features to increase the flexibility of the platform and enable companies to use the new, lightweight Web Profile, in addition to the full enterprise platform, … Continue reading Java EE 6, GlassFish 3 and NetBeans 6.8 released

Dopplr: It’s made of messages

Dopplr use ActiveMQ as their messaging provider - see Matt's presentation Made of Messages: https://www.slideshare.net/slideshow/dopplr-its-made-of-messages-matt-biddulph-presentation/647973 Dopplr: It's made of messages - Matt Biddulph View more documents from Carsonified Team.

How can I simulate ‘Send To…’ with Delphi?

Default mail client with selected files auto-attached The following code is based on these two articles: Dateien von der eigenen Anwendung per Drag and Drop zum Windows Explorer kopieren? Programmatically use the SendTo mail recipient shortcut Drop a FileListBox and a button on a form and set the FileListBox MultiSelect property to true. Use this … Continue reading How can I simulate ‘Send To…’ with Delphi?

Why 1.99 suddenly no longer equals 1.99

A strange problem suddenly occurs in all my Delphi 7 and Delphi 2009 unit tests. I used DUnit CheckEquals to compare two Currency values, like [sourcecode language="pascal"] CheckEquals(1.99, SomeCurrencyValue) [/sourcecode] This worked fine in the IDE and in our build scripts, which run using the same version of DUnit for two years. Now, all of … Continue reading Why 1.99 suddenly no longer equals 1.99

Why is “Self” assignable in Delphi?

This code in a GUI application compiles and runs (tested with Delphi 6 and 2009): procedure TForm1.Button1Click(Sender: TObject); begin Self := TForm1.Create(Owner); end; Questions that come to mind: why is Self writeable and not read-only? in which situations could this be useful? If you know the answer, I would be happy if you post it … Continue reading Why is “Self” assignable in Delphi?

stackoverflow.com

Stack Overflow is a collaboratively edited question and answer site for programmers — regardless of platform or language. You can answer and ask questions to your heart's content as an anonymous user, much like Wikipedia. URL: http://stackoverflow.com/ It is still a public beta, but looks very interesting.

Delphi 2009 (Tiburón) Sneak Peek Videos

Some Delphi 2009 (Tiburón) sneak peek videos have been posted on the CodeGear™ Developer Network web site http://dn.codegear.com Sneak Peek Video - What's new in the Delphi 2009 IDE Sneak Peek Video - What's new in the C++Builder 2009 IDE Sneak Peek Video - What's New in the VCL in Delphi and C++Builder 2009 Sneak … Continue reading Delphi 2009 (Tiburón) Sneak Peek Videos

Delphi tool box: a starter kit

Tests First things first: unit tests. Before you start to write a program, think about testing. Download DUnit if it is not already included in your version of Delphi. DUnit is Open Source. New versions of DUnit include automatic memory leak detection for all test cases, using FastMM4. DUnit GUI test runner There are also … Continue reading Delphi tool box: a starter kit