Ada Server Faces is moving ahead at a steady pace with the latest 0.4.0 release. It is, as you might remember from earlier Ada-DK posts about it, a framework for making web-applications using the same methodology as Java Server Faces:
Ada Server Faces allows to create web applications using the same pattern a the Java Server Faces (See JSR 252, JSR 314 or JSR 344).
ASF provides a security framework which allows to protect web pages according to some security policy. This framework allows users to authenticate by using OpenID Authentication 2.0.
You can get the latest version here or you can grab the dev version from the SVN repository:
svn checkout http://ada-asf.googlecode.com/svn/trunk/ ada-asf-read-only
New in version 0.4.0 is:
- Support for shared or static build configuration.
- Support for file upload.
- New components , , , .
- New EL function util:hasMessage.
- ASF now Implements the JSF phase events and phase listeners.
- Implements the JSF/Ruby on Rails flash context.
- Adds the pre-defined JSF beans: initParam, flash.
- Support for locales and honors the Accept-Language.
- New demos are available in French and English
There’s a live online demo available. You can read the full release announcement here.
Stephane Carrez from Java 2 Ada is hard at work on his Ada Server Faces framework, and as this online demo clearly is showing, he’s making good progress. The version 0.3.0 release announcement outlines some of what Ada Server Faces is:
Ada Server Faces is a web framework which uses the Java Server Faces design patterns (See JSR 252 and JSR 314).
JSF and ASF use a component-based model for the design and implementation of a web application. The presentation layer is implemented using XML or XHTML files and the component layer is implemented in Ada 05 for ASF and in Java for JSF.
I can’t claim a whole lot of knowledge about the Java Server Faces design patterns, but judging from the demo, it’s some pretty powerful stuff. I look forward to tracking this project further, especially considering my involvement in the AdaHeads K/S project.
As long as Stephane Carrez keep hammering out new articles, we’re going to post links to them.
His latest article is named Ada Server Faces Application Example part 4: the server.
In previous articles, we have seen that an Ada Server Faces application has a presentation layer composed of XHTML and CSS files. Similar to Java Server Faces, Ada Server Faces is a component-based model and we saw how to write the Ada beans used by the application. Later, we also learnt how an action bean can have a procedure executed when a button is pressed. Now, how can all these stuff fit together?
So in this chapter we actually end up with a working web-application! The entire article is well-written, with lots of code and comments. Stephane finishes it all with a nice chart on how exactly requests are handled by an Ada Server Faces application.
The previous chapters are available here:
Stephane Carrez has written the third installment of his Ada Server Faces Application article series:
Ada Server Faces Application Example part 3: the action bean
In a previous article, I presented in the cylinder volume example the Ada Server Faces presentation layer and then the Ada beans that link the presentation and ASF components together. This article explains how to implement an action bean and have a procedure executed when a button is pressed.
Here are the links to the previous articles:
There are other Ada goodies at Stephane Carrez’s website, so be sure to visit it, and if you have an Ada related website yourself, why not help boost the community by adding a link to the Java 2 Ada blog?
The other day I wrote about the interesting Java 2 Ada blog written by Stephane Carrez, and today I discover (or rather my feed reader does) that Stephane has updated his blog with part two of his Ada Server Faces article series:
The first article explained how to design the presentation page of an Ada Server Faces application. This article presents the Ada beans that are behind the presentation page.
In case you haven’t already caught on to this, Ada Server Faces is an Ada implementation of the JavaServer Faces way of building web applications.