CB2 is a free light-weight, while complete framework for server-side Java development. It consists of a software library, development environment, and a number of architectural and stylistic approaches. CB2 is intended to provide developers with a comprehensive software infrastructure for creating Java applications. The most common case of CB2 usage is building data-driven web-applications.

Although CB2 has been published just recently, it has been developped and actively used by its creators for more than two years. By now, CB2 is very stable and mature product, which is being used on some complex large-scale commercial projects.

As a framework, CB2 provides software developers with a complete set of infrastructural services, it also defines the application's architecture and a few types of software components that are created by developers and "plugged-in" to the predefined structure to implement the application's logic. In a sense, CB2 is an alternative to such heavy-weight technologies as EJB covering virtually all their practically useful functionality, while being much more light-weight and flexible. See more information about CB2 and its philosophy in the CB2 User Manual available in the Documentation section on this site.

For any questions please email [levahim@hotmail.com].

Latest News
date info
Oct 11, 2004 Published CB2 library source code on the site. See "Downloads" section.
Aug 28, 2004 Updated CB2 development environment so it uses Apache Tomcat 5 now. Also upgraded other tools and libraries included in the development environment to the latest versions.
Jun 8, 2004 CB2 version 1.0.5 has been released. The major changes are:
  • Added DynamicDataModel, which allows the DAO to fetch data to a hashtable-like data structure with a dynamic set of fields.
  • Added setField method to DataModel allowing to set DM field values by the field's name.
  • Support for multiple-value request parameters as PE input parameters. An input parameter can now be an array, so a multipe-value request parameter can be saved in it.
  • Introduced new <formbeanref> element in pages-config.xml file, which creates a reference to a Struts' form bean. The meaning of "inputForm" attribute has been changed - it now referes to a form bean reference rather than to a global presentation element, which makes many things clearer. It also makes "class" attributes required for presentation element and global presentation element descriptors.
  • Component refenrences, that is <componentref> elements in pages-config.xml file, can now have general purpose parameters, which are available to PEs via new input parameter type (the "from" attribute) called "crefattribute".
New binaries, documentation and sample application are available in the appropriate sections.
May 11, 2004 Updated Address Book sample application source and Development Enviroment in the downloads section. The update contains minor fixes related to the changes in the latest version of CB2 library.
Apr 30, 2004 Updated CB2 to version 1.0.4. New library and development environment can be found in the Downloads section. The update contains the following major changes:
  • Application context now has setProperty method, which allows changing application properties at runtime.
  • New application properties management BLO implementation in com.boylesoftware.cb2.commons.property package.
  • Page-level content type via new "contentType" attribute of <page> elements in pages-config.xml file.
  • Method getStats of StatusProvider interface now returns byte arrays instead of strings, which allowed to handle internal data more efficiently and correctly.
  • The library now uses Apache Commons DBCP version 1.1 instead of version 1.0.
  • Slight change to processUserLogin method specification in the BL Manager.
  • Added getBLO convenience method to BLObject.
  • Fixed diff method logic on DataModel, it now correctly ignores nested DM and nested array fields.
  • Added updateDiff convenience method to the DAO.
Apr 20, 2004 Updated CB2 to version 1.0.3. New library and development environment can be found in the Downloads section. The update contains minor improvements and major review of the JavaDoc documentation.
Apr 4, 2004 This site is launched.