Java 2 Ada

AWA 2.3.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 and also Debian 10.

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.3.0

  • Update Trumbowyg editor to version 2.23.0
  • Fix generation of og:image meta for blog articles written in Markdown
  • Fix wiki preview with latest xkhtmltoimage 0.12.6
  • Use Dynamo 1.2.2, Ada Server Faces 1.4.3, Ada Servlet 1.5.2, OpenAPI Ada 0.5.0
  • Use Ada Wiki 1.3.2, Ada Database Objects 2.2.0
  • Use Ada Keystore 1.3.2, Ada EL 1.8.3, Ada Utility Library 2.4.1

Links: Download GitHub GitLab

Dynamo, Version 1.2.2

  • Fix the SQL type definition for double on PostgreSQL
  • Fix double support and nullable entity_type
  • Fix SQL generation for a foreign key with variable length

Links: Download GitHub GitLab

Swagger Ada, Version 0.5.0

  • Fix for GNAT 2021
  • Update the openapi generator to version 5.2.0

Links: Download GitHub GitLab

Ada Servlet, Version 1.5.2

  • Fix for GNAT 2021

Links: Download GitHub GitLab

Ada Wiki Library, Version 1.3.2

  • Fix <hr> and <br> generation to follow HTML5 convention.
  • Add option -H to the render example
  • Fix for GNAT 2021

Links: Download GitHub GitLab

Ada Server Faces, Version 1.4.3

  • Add jQuery 3.6.0
  • Add a programmer's guide
  • Remove very old jQuery 1.11.3, jQuery UI 1.11.4, jQuery Chosen 1.4.2

Links: Download GitHub GitLab

Ada Database Objects, Version 2.2.0

  • Improvement of query loaders
  • Fix reading database schema with float/double values
  • Rename Get_Double into Get_Long_Float

Links: Download GitHub GitLab

Ada EL Library, Version 1.8.3

  • Fix compilation warning with GNAT 2021

Links: Download GitHub GitLab

Ada Utility Library, Version 2.4.1

  • Fix compilation issues with GNAT 2021
  • Fix serialization of Util.Beans.Objects holding arrays or maps

Links: Download GitHub GitLab

Ada Keystore, Version 1.3.2

  • Minor compilation warning fixes

Links: Download GitHub GitLab

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-2.3.0.tar.gz

After downloading the awa-all-2.3.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

Debian 10 Buster

A third repository provides Debian packages targeted at Debian 10 buster. They are built with the gnat-8 package and depend on libgpr2-dev, libaws18-dev and libxmlada-sax8-dev. Add the following line to your /etc/apt/sources.list configuration:

deb https://apt.vacs.fr/debian-buster buster 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

Add a comment

To add a comment, you must be connected. Login