Bento Logo
> Bento Home > Bento FAQ

Frequently Asked Questions


1.1 What is Bento?

Bento is a non-proprietary object-oriented, declarative language for defining web sites, web services and other web-based applications, along with a free, open source and freely redistributable reference implementation.

1.2 What exactly does Bento do?

Bento lets you define a web site as a collection of interconnected objects. A Bento server can then generate web pages on the fly based on the Bento code.

1.3 Who is Bento most useful for?

Bento is useful for all kinds of web sites and applications, large and small. But the more complex, fast-changing or interconnected with other systems a site is, the greater the benefit from using Bento.

1.4 What are the requirements for using Bento?

The reference implementation of Bento is written in Java. To serve dynamic content with Bento, you need a web server with standard Java support (Java Servlet API version 2.0 or greater), for example Apache and Tomcat 4.

You can also run the Bento compiler to generate static web pages from Bento code; for this you need the Java Runtime Environment, version 1.3 or greater.

1.5 What is the difference between Bento and HTML?

Bento and HTML are both declarative languages, but only Bento is dynamic and object-oriented. HTML is a static language; it has no intrinsic ability to generate content dynamically. Nor does HTML have the features required to support object-oriented development techniques.

1.6 What is the difference between Bento and PHP, JSP, ASP and other such languages and spplications?

Most widely used dynamic web site technologies, including PHP, JSP and ASP, follow the general model of embedding programming code into HTML-like templates. While such an approach does support dynamic content, in most other regards it inherits the defects and limitations of HTML. Even when the embedded language is object-oriented, there is no simple way to develop and organize the site itself in an object-oriented way.


2.1 What are the benefits of using Bento?

The benefits of Bento include increased developer productivity, improved reliability, lower maintenance cost and simplified integration.


3.1 What kind of language is Bento?

Bento is an object-oriented declarative language.

How do you ...?

4.1 How do you use Bento?

First you write Bento code, using your favorite test editor, and save it as one or more files. Then you either run a Bento server to serve the site directly, or, assuming your site is static, run a Bento compiler to generate HTML files from the Bento code.


Use of any software, source code and documentation obtained from this site is governed by the Bento Poetic License.

Copyright © 2003 by