Filed Under (c0ding, java, Netbeans) by j on 02-06-2013
Overview
Our goal is to create a simple plugin mechanism in Java. On top of that we want our execution environment to be divided into three distinct phases. These phases are named:
PRE_PROCESS PROCESS POST_PROCESS
This will allow us to run certain plugins at specific phases during program execution. So if a plugin is for [...]
Filed Under (c0ding, enum, java) by j on 04-11-2010
This article shows a basic implementation of a Java enumeration type that you can use to do a switch on Strings for example.Continue reading: Using Java Enumerations
Filed Under (APR, c, c0ding) by j on 02-11-2010
This short article will show how to use the Apache Portable Runtime (APR) with it’s built in hashtable.Continue reading: Programming with the APR – Using APR HashTables
Filed Under (APR, c, c0ding) by j on 02-11-2010
This article intends to show how to basically use the MD5 hashing algorithm that ships with the Apache Portable Runtime (APR) library.
Continue reading: Programming with the APR – Using MD5
Filed Under (APR, c, c0ding) by j on 02-11-2010
This article will show you how to use the built in command line parser that comes with the APR. There will be two source files, one showing you how to use apr_getopt just to parse simple, single options and the other peace of source will show you how to use it with so called long options. You can download the single option parser here and the long options parser here.
Continue reading: Programming with the APR – Using apr_getopt
Filed Under (APR, c, c0ding) by j on 01-11-2010
This article will show you how to store information in the database that comes with the Apache Portable Runtime (APR). Basically a simple struct data type is persisted into that database. You can download the code here.
Continue reading: Programming with the APR – Persisting information
Filed Under (APR, c, c0ding) by j on 01-11-2010
This article will give you an introduction of how to program with the Apache Portable Runtime (APR). It illustrates a simple command line program.
Continue reading: Programming with the APR