I've been a zone leader with DZone since 2008, and I'm crazy about community. Every day I get to work with the best that JavaScript, HTML5, Android and iOS has to offer, creating apps that truly make at difference, as principal front-end architect at Avego. James is a DZone Zone Leader and has posted 639 posts at DZone. You can read more from them at their website. View Full User Profile

WEB4J - A Minimalist Web App Framework

05.19.2008
| 3863 views |
  • submit to reddit

WEB4J is a java web application framework built by the author of javapractices.com. It was built out of deep frustration with existing tools. WEB4J is appropriate for people looking for a simpler way to build java web apps. Some important things about it:

  • it's a full stack java web app framework
  • it has the smallest 'surface area' of any tool in its class (only 82 classes in its API)
  • it allows you to put your SQL statements in plain .sql text files
  • it allows your Model Objects to be immutable
  • it places validation in the Model Object itself (not external to it)
  • it has no custom xml files or annotations
  • it doesn't use object-relational mapping
  • its forms are implemented with plain HTML (no custom tags for controls)
If this sounds interesting, please see web4j.com for more information.

 

0

Comments

George Jempty replied on Mon, 2008/05/19 - 12:18pm

Who wants to have to deal with even 82 classes? I've written an OO web framework in PHP that I've ported to Python (and could port to Java, but am more interested in porting as an Apache module) that is like 6 classes/interfaces. It's not full stack, nor should it be: this allows the developer to apply a best of breed approach for representing the data/model.

http://code.google.com/p/barebonesmvc-php/

John O'Hanley replied on Mon, 2008/05/19 - 12:31pm

In terms of size, the web4j tool compares favorably with other tools :

http://www.web4j.com/Java_Web_Application_Framework_Overview.jsp#Small

- John

John O'Hanley replied on Sun, 2009/03/22 - 9:09am

By the way, the web4j framework is now free and open source. It has been released under the BSD license.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.