Marringtons Adept
Java Library
Adept requires general support - classes that have more uses than in the Adept system. Packages include an Java object database, advanced file I/O, caches, session management and more.
This monolog provides insite into the working of the Adept Java Library. It can be read as a news feed, web page or email. Responses are accepted for the web and email versions.
Advanced File I/O
Advanced path processing. A file cache with ageing. A file reader for simplified archive and text file access. Simplified archive (zip) I/O. Recording reader (for later playback).
Network/Internet
Simplified client socket I/O. A simplified HTTP support system for clients, header, requests and response.
Numeric
A class for working with fractions - including math and greatest common denominator. Integer maps and stack convenience classes.
Easy-to-use minimalist object database package. It is relational with reflection optimisation, multiple indexes, write protection and transactions. Data can be transferred to and from POJOs (to create pure DTOs), XML files and dictionaries (for web pages) using flexible translation and formatting controls.
Articles here:
1,
2.
Strings
More flexible boolean conversion. Integer conversions with zero padding. Advanced properties management (in memory and file). Helpers to join, split and make lists into arrays. Tests for empty strings. A String stack. Message collections with instance, thread and session stores. String formatting and parameter inclusion.
Date and Time
A Date helper for creating timestamps, date maths (add, subtract and term) and date comparisons. It can create a date instance for persistent storage. The Time helper is used for time maths (add, until), formatting and comparison. There is also a timer object to hold and record times between calls.
Utilities
A sophisticated object cache for LRU, time sensitive (files, records) and/or time limited (sessions, connections) applications. An idle interface to run code when the application is waiting on other work - including specifying earliers start times for reminders and regular tasks. Simplified logging for when log4j is way too much. Static loading of maps and sets. Semaphores. Session and Thread local data retrieveal and maintenance. Stacks.
XML
The Adept Library includes a light-weight XML parser for use with known XML sources. It is designed to be used by sub-classing and implementing element start, end and data processing methods. There is a class to generate a Map tree for when an application needs to inspect rather than walk a tree. The package is designed for trusted XML sources. There is no DTD, Schema or tree validation.