This text describes in detail how a JavaVM and consequently a Swing application can be started from a C++ program developed in Borland or Codegear or Embarcadero or whatever BDS 2006 / RAD Studio / C++ builder.
To connect ij to a derby-database from a windows batch script seems to be not too well documented, but it turns out to be extremely easy : you can set environment variables in advance. (I wanted to use the provided batch files for setting the classpath etc.)
@echo off
set DERBY_OPTS=-Dij.user=XXXXX -Dij.password=YYYYY -Dij.database=jdbc:derby://localhost/DATABASENAME
Often one has to retrieve a record based on - say - a phone number. The phone numbers in the database may have some layout (e.g. +32 412/123.123.123). A user who types a differently formatted search word (e.g. 412-123 12.31-23, so with different punctuation and without countrycode) still expects to find the correct row in the database.
Setting : a HP PC on which originally a Microsoft Office trial version was pre-installed. It was removed (not sure if the trial was effectively fully installed before). Thunderbird was installed (Thunderbird has simple mapi support).
Java Web Start applications have to be signed in order to get certain permissions (accessing different websites e.g.) on the client computer. By default, if the "self-sign" property is on, Netbeans signs Java Web Start applications with a key which is only valid for 6 months and generated on the fly during the build process.
We summarize the steps required to deploy a Netbeans Platform Suite which consumes an EJB as a Java Web Start application in Glassfish.
I came across this nice set of VCL components, now free and open (MIT-style license I guess), which allows you to render and show a relatively extensive set of html constructs inside a C++ builder application. It can even do some CSS.
If you want to test if the installation of a trusted CA in Glassfish (or any SSL-based http-server) has succeeded (see e.g. http://www.nogid.org/Belgian-identity-card-Glassfish-beid-eid ), you can test with
openssl s_client -connect host:port
In order to have a web application running on Glassfish 2.1 (http://www.glassfish.org) use the Belgian electronic identity card (eid) for authentication :
First, download the certificates from http://certs.eid.belgium.be/belgiumrca2.crt and http://certs.eid.belgium.be/belgiumrca.crt. (see also http://eid.belgium.be/nl/Achtergrondinfo/De_eID_technisch/index.jsp )