My custom-built api directory.
As a developer, repeating the same process, like creating a data access object DAO for every database for every new project can be tiresome. Imagine having a program that can implement jdbc DAO for every database irrespective of the difference in the schema. For example, a dao that works with a database table with 10 fields as well as with another table with 8 fields without having to recreate it.
Introducing the following Java API bundled in jovine360_api_web api:
- AutoIdDAO: for generating unique identity codes. it can be used for primary key values
- CheckDAO: for checking and validating records in the database.
- CodeGen: can be used to generate refcodes for unique transactions.
- DataAccessObject: for all jdbc DAO operations. it also performs custom query execution.
- DataConnection: creates database connection (Note: this release works with MySQL)
- DateTime: it works with date and time operation, generate expiry dates, formats date and time (e.g. 2023-03-14 to 14th March|Mar, 2023), etc
- Ellipsis: for triming and adding ellipsis(...) to the end of a sentence or descriptions.
- Files: from creating to writing to deleting of a file and folder.
- Formatter: it formats numeric values in either int, Double or String type to a currency format and returns a String result.
- GeneratePassword: generates unique random passwords. Alphabets only, Alphanumeric and numeric only (for otps)
- ReportDataDAO: for fetching datas/single values from any database.
Note: For detail information on the package and their clasess and examples kindly refer to the javadoc in the target/sites folder.
Other APIs include:
- DataEncription: for encrypting data like passwords.
- Connection (ongoing review and update): for establishing connection to additional database, Oracle, Postgres, etc