Java 2 Ada

Ada Web Application release 2.1.0

By Stephane Carrez

Ada Web Application is a framework to build high performance secure web applications. This is a new release with 99 Debian packages ready to be installed on Ubuntu 20.04 or 18.04.

The framework provides several ready to use and extendable modules that are common to many web applications. This includes the login, authentication, users, permissions, managing comments, tags, votes, documents, images. It provides a complete blog, question and answers and a wiki module.

AWA simplifies the Web Application development by taking care of user management authentication and by providing the foundations on top of which you can construct your own application. AWA provides a powerful permission management that gives flexibility to applications to grant access and protect your user's resources.

A typical architecture of an AWA application is represented by the picture below:

awa_architecture_overview.png

This version of AWA integrates smoothly with Ada Keystore in order to protect the server sensitive configuration.

AWA, Version 2.1.0

  • Update Trumbowyg editor to version 2.21.0
  • Fix compilation issues with GNAT 2020
  • Update mail UI component to attach external files
  • Improved setup for secure configuration with Ada Keystore
  • Use Dynamo 1.2.0, Ada Server Faces 1.4.1, Ada Servlet 1.5.0, OpenAPI Ada 0.3.0
  • Use Ada Security 1.3.1, Ada Wiki 1.3.0, Ada Database Objects 2.1.1
  • Use Ada Keystore 1.2.1, Ada EL 1.8.1, Ada Utility Library 2.3.0

Download: http://download.vacs.fr/ada-awa/ada-awa-2.1.0.tar.gz

GitHub: https://github.com/stcarrez/ada-awa

GitLab: https://gitlab.com/stcarrez/ada-awa

Dynamo, Version 1.2.0

  • Integrate ArgoUML 0.35.2-2020-07-05
  • Fix SQL generation with 'auto' generator
  • Fix XML Hibernate mapping support
  • Improvement in SQL schema generation

Download: http://download.vacs.fr/dynamo/dynamo-1.2.0.tar.gz

GitHub: https://github.com/stcarrez/dynamo

GitLab: https://gitlab.com/stcarrez/dynamo

Swagger Ada, Version 0.3.0

  • Install the openapi generator
  • Update the openapi generator to version 5.0.0
  • Update to use Swagger UI 3.36.0
  • Fixed Ada client code generator to support `FreeFormObject` and multi-path parameters
  • Add support for HTTP HEAD, OPTIONS and PATCH requests
  • Initial implementation of Swagger OpenAPI to easily implement REST clients and servers

Download: http://download.vacs.fr/swagger-ada/swagger-ada-0.3.0.tar.gz

GitHub: https://github.com/stcarrez/swagger-ada

GitLab: https://gitlab.com/stcarrez/swagger-ada

Ada Servlet, Version 1.5.0

  • Added support for PATCH and fix OPTIONS and HEAD requests
  • Added a Docker image to play with Ada Servlet

Download: http://download.vacs.fr/ada-servlet/ada-servlet-1.5.0.tar.gz

GitHub: https://github.com/stcarrez/ada-servlet

GitLab: https://github.com/stcarrez/ada-servlet

Ada Wiki Library, Version 1.3.0

  • New plugin and filter to setup and expand variables in Wiki texts
  • Add support for Markdown tables
  • Fixes in the Markdown and Creole syntax parsers
  • New Ada Wiki Engine Programmer's Guide

Download: http://download.vacs.fr/ada-wiki/ada-wiki-1.3.0.tar.gz

GitHub: https://github.com/stcarrez/ada-wiki

GitLab: https://gitlab.com/stcarrez/ada-wiki

Ada Server Faces, Version 1.4.1

  • Fix translations, compilation warnings

Download: http://download.vacs.fr/ada-asf/ada-asf-1.4.1.tar.gz

GitHub: https://github.com/stcarrez/ada-asf

GitLab: https://gitlab.com/stcarrez/ada-asf

Ada Database Objects, Version 2.1.1

  • Fix using the configuration with multiple config environments

Download: http://download.vacs.fr/ada-ado/ada-ado-2.1.1.tar.gz

GitHub: https://github.com/stcarrez/ada-ado

GitLab: https://gitlab.com/stcarrez/ada-ado

Ada EL Library, Version 1.8.1

  • Fix compilation issue with GNAT 2020

Download: http://download.vacs.fr/ada-el/ada-el-1.8.1.tar.gz

GitHub: https://github.com/stcarrez/ada-el

GitLab: https://gitlab.com/stcarrez/ada-el

Ada Utility Library, Version 2.3.0

  • New stream operations to read/write UTF-8 sequences in Wide_Wide character
  • Fix AES encryption in CFB, OFB and CTR modes
  • Add HTTP support for HEAD, OPTIONS, PATCH requests

Download: http://download.vacs.fr/ada-util/ada-util-2.3.0.tar.gz

GitHub: https://github.com/stcarrez/ada-util

GitLab: https://gitlab.com/stcarrez/ada-util

Ada Security Library, Version 1.3.1

  • Fix AWS example

Download: http://download.vacs.fr/ada-security/ada-security-1.3.1.tar.gz

GitHub: https://github.com/stcarrez/ada-security

GitLab: https://github.com/stcarrez/ada-security

All these Ada projects can be downloaded individually but they are also packaged together to help in their download and build process. You can also download everything at http://download.vacs.fr/ada-awa/awa-all-1.1.0.tar.gz

After downloading the awa-all-1.1.0.tar.gz package, have a look at the Ada Web Application Programmer's Guide to learn how to build, install and start using all this.

If you don't have time to build all this, a docker container is available: https://hub.docker.com/r/ciceron/ada-awa/

Debian packages

I've created and setup a Debian repository to give access to several Debian packages for several Ada projects that I manage. The goal is to provide some easy and ready to use packages to simplify and help in the installation of various Ada libraries.

Access to the repository

The repository packages are signed with GPG. To get the verification key and setup the apt-get tool, you should run the following command:

wget -O - https://apt.vacs.fr/apt.vacs.fr.gpg.key | sudo apt-key add -

Ubuntu 18.04 Bionic Beaver

A first repository provides Debian packages targeted at Ubuntu 18.04 bionic. They are built with the gnat-7 package and depend on libgpr1-dev, libaws3.3.2.2-dev and libxmlada-sax7-dev. Add the following line to your /etc/apt/sources.list configuration:

deb https://apt.vacs.fr/ubuntu-bionic bionic main

Ubuntu 20.04 Focal Fossa

A second repository provides Debian packages targeted at Ubuntu 20.04 focal. They are built with the gnat-9 package and depend on libgnatprj7-dev, libaws19-dev and libxmlada-sax9-dev. Add the following line to your /etc/apt/sources.list configuration:

deb https://apt.vacs.fr/ubuntu-focal focal main

Installation

Once you've added the configuration line, you can install the packages:

sudo apt-get update
sudo apt-get install -y dynamo akt libawa2-dev libawa-unit2-dev

The Ada Web Application framework contains several plugins which are provided by separate Debian packages.

sudo apt-get install -y libawa-blogs2-dev libawa-questions2-dev libawa-wikis2-dev libawa-setup2-dev

The documentation is packaged in separate Debian packages, you can install them with:

sudo apt-get install -y libawa-doc libado-doc libawa-doc libkeystoreada-doc libsecurity-doc libutilada-doc libwikiada-doc

For the curious, you may browse the repository here.

Add a comment

To add a comment, you must be connected. Login