https://github.com/stcarrez/ada-servlet
Ada Servlet - Web Servlet Library following JSR 154, JSR 315
https://github.com/stcarrez/ada-servlet
ada servlet servlet-filter web
Last synced: 3 months ago
JSON representation
Ada Servlet - Web Servlet Library following JSR 154, JSR 315
- Host: GitHub
- URL: https://github.com/stcarrez/ada-servlet
- Owner: stcarrez
- License: apache-2.0
- Created: 2018-01-04T07:18:12.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-09-08T08:26:39.000Z (9 months ago)
- Last Synced: 2024-09-08T09:38:21.460Z (9 months ago)
- Topics: ada, servlet, servlet-filter, web
- Language: Ada
- Homepage:
- Size: 9.33 MB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: NEWS.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-ada - ada-servlet - Ada Servlet allows to create web applications using the same pattern as the Java Servlet (See JSR 154, JSR 315). (Frameworks / Web)
README
# Ada Servlet
[](https://alire.ada.dev/crates/servletada)
[](https://porion.vacs.fr/porion/projects/view/ada-servlet/summary)
[](https://porion.vacs.fr/porion/projects/view/ada-servlet/xunits)
[](https://porion.vacs.fr/porion/projects/view/ada-servlet/summary)
[](http://download.vacs.fr/ada-servlet/ada-servlet-1.7.0.tar.gz)
[](LICENSE)
[](https://gitlab.com/stcarrez/ada-servlet)
[](Commits)Ada Servlet allows to create web applications using the same pattern
as the Java Servlet (See JSR 154, JSR 315).The Ada Servlet library is used by the [Ada Server Faces](https://gitlab.com/stcarrez/ada-asf) framework,
the [OpenAPI Ada library](https://github.com/stcarrez/swagger-ada)
and [Ada Web Application](https://gitlab.com/stcarrez/ada-awa)
to provide server web requests.## Version 1.8.0 - Under development
- Fix #15: wrong client_secret initialization in OAuth servlet: copy paste error
- Feature #16: Better control of response types in REST servlet from the operation
- Allow to build and install without Alire## Version 1.7.1 - Aug 2024
- Cleanup build environment to drop configure[List all versions](https://gitlab.com/stcarrez/ada-servlet/blob/master/NEWS.md)
## Using with Alire
If you are using [Alire](https://alire.ada.dev/) in your project, run the following command
within your [Alire](https://alire.ada.dev/) project to use the library:```
alr with servletada
```For the web server, you have the choice between:
* [AWS](https://github.com/AdaCore/aws)
* [EWS](https://github.com/simonjwright/ews)Choose one of the following crates:
```
alr with servletada_aws
alr with servletada_ews
```## Using without Alire
If you don't have [Alire](https://alire.ada.dev/) or want to build and install the library
on a specific place, run a `setup` command to configure the build as well as installation
directory.The `HAVE_ALIRE` configuration allows you to disable the build with [Alire](https://alire.ada.dev/),
the `HAVE_AWS` controls the support for AWS and the `HAVE_EWS` controls the support for EWS.```
make setup BUILD=debug PREFIX=/build/install HAVE_ALIRE=no HAVE_EWS=no HAVE_AWS=yes
```Since this build method does not verify that all dependencies are met, make sure that you
have already built and install the following components and they are available to `gprbuild`
through `ADA_PROJECT_PATH` if needed:* [Ada Security Library](https://gitlab.com/stcarrez/ada-security/)
* [Ada EL Library](https://gitlab.com/stcarrez/ada-el/)
* [Ada Utility Library](https://gitlab.com/stcarrez/ada-util/)Then build, run the unit tests and install by using:
```
make
make test
make install
```To use the installed libraries, make sure your `ADA_PROJECT_PATH` contains the directory
where you installed the libraries (configured by the `PREFIX=` option in the setup phase).
The installed GNAT projects are the same as those used when using [Alire](https://alire.ada.dev/).## Samples
The samples can be built using:
```
make samples
```or
```
cd samples
alr build
```## Documentation
The Ada Server Faces sources as well as a wiki documentation is provided on:
https://github.com/stcarrez/ada-asf/wiki