For Programmers: Free Programming Magazines  


Home > Archive > Scheme > August 2005 > [ANN] SISCweb 0.22 - Stateful Scheme web framework for J2EE









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author [ANN] SISCweb 0.22 - Stateful Scheme web framework for J2EE
Alessandro Colomba

2005-08-02, 9:12 am

I would like to announce the release of SISCweb v0.22, available at:

http://siscweb.sf.net/


CHANGES

This release fixes a couple of bugs and completes the basic feature
set introduced in the previous release.

Features:

- Added minimalistic shopping cart example to show a clean, stateful
approach to the typical MVC pattern.

- SXML additions:

* Deprecated @dispatch and @[href|src|action|data]-ce SXML
attributes. The former is replaced by @href-p, and the latter
are not needed because @[href|src|action|data]-c already encode the
generated URL.
* The @bindings attribute can now be combined with
@[href|src|action|data]-[p|c]; when left on its own, it will pass the
specified bindings to the suspended continuation.
* Added *COMMENT* tag to SXML, converted to XML comments (<!-- --> )

The first two items make the extensions to the HTML markup complete
in respect to basic flow control.

- Request forwarding functions can now pass along URLs to stored
closures as bindings. This allows Servlet/JSPs to emulate some
features more naturally available in SXML via the
@[href|src|action|data]-[p|c] attributes.

- It is now possible to specify a global error handler that one can
use to display the stack trace, etc.

- Initial support for PostgreSQL contributed by Ben Simon. Thank you!


Bug fixes:

- Bindings can now be used as objects across suspended continuations.

- Date/time conversion bug between SQL and Scheme types.

Thanks to Ben Simon for spotting these two bugs and providing a fix to
the latter.

Known bugs:

- Locking problems with file-based HSQLDB when the appserver restarts
the context. For now this can be circumvented by stopping and starting
the context in separate steps.


OVERVIEW

SISCweb is a framework to facilitate writing stateful Scheme web
applications in a J2EE environment.

Through the use of continuations, SISCweb does away with the
page-centric execution model typical of web programming. Every time a
response is sent to the browser, the program execution flow is
suspended, to be then resumed from that exact point when the browser
submits a request.

SISCweb is implemented in SISC, a Scheme interpreter for the JVM with
support for full continuations.


FEATURES

Benefiting from both its implementation language, Scheme, and its
environment, J2EE, SISCweb offers:

* An interactive, REPL-based web application development
style. Developers can write web applications incrementally without
ever needing to restart the J2EE context or the application itself.
* A powerful, yet unobtrusive SXML-based extension to HTML mostly
oriented toward flow control. For instance, it is possible to define
closures on the fly, and associate them to a link.
* Solid support for using standard J2EE view components such as
JSP/Servlets in place of SXML.
* Continuations can be persisted to the session, as well as to
databases. HSQLDB, Oracle and PostgreSQL are currently supported.
* A handy (if incomplete) SQL library easily extended to various
database vendors through plug-in Scheme modules.
* Generation of Graphviz graphs through an SXML version of DOTML.


REQUIREMENTS

SISCweb requires a J2EE 1.3 application server and a JDK 1.4 or
later. More detailed information is contained in the INSTALL file.


SUPPORT, CONTRIBUTING, BUG REPORTS

Questions, comments, ideas, and bug reports are welcome at:

acolomba@users.sourceforge.net

If you believe your questions may be useful to others, Scott Miller is
kind enough to host SISCweb-related topics on his SISC mailing list,
sisc-users (sisc-users@lists.sf.net), for the time being.

Thank you!
___
Alessandro


--
___
Alessandro

Jonathan Bartlett

2005-08-02, 9:12 am

I'm curious why you need database-specific support. Shouldn't JDBC give
you all you need?

Jon
----
Learn to program using Linux assembly language
http://www.cafeshops.com/bartlettpublish.8640017
Alessandro Colomba

2005-08-02, 10:02 pm

In article <42ef6811$1@news.tulsaconnect.com>,
Jonathan Bartlett <johnnyb@eskimo.com> wrote:
>I'm curious why you need database-specific support. Shouldn't JDBC give
>you all you need?
>


The SQL library in SISCweb is in fact based on JDBC. It simply adds a
thin layer that provides some API abstraction and vendor-specific type
conversion between SQL and Scheme types.

I hope this clarifies things a bit.
___
Alessandro
--
___
Alessandro

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com