Qwicap is a web application framework written in Java and based on the XHTML, CSS2 and Java Servlet technologies. It dispenses with the usual hit-run-exit and inversion-of-control models for web applications, automatically provides a state-rich environment, and includes an XML engine that makes the manipulation of XHTML web pages simple, while keeping the pages pure, 100% standards-compliant XHTML markup.
Qwicap is intended to reduce the learning curve associated with writing web applications, and the amount of time even experienced developers spend dealing with the mechanics of such development. Furthermore, it seeks to offer an alternative to the intimate mixing of code and content promoted by Java Server Pages (JSP), the confusion and code fragmentation associated with JSP tag libraries, and, for that matter, the embedding of content into Servlet or CGI code, with the associated code-clutter and code/content maintenance problems.
Qwicap is especially well suited to building secure enterprise intranet applications, but is in no way limited to that niche. Of course, there are no silver bullets, nor one-size-fits-all solutions. Like every other method for writing web applications, Qwicap has its limitations. The trick is finding the right tool(s) for each job. Have a look.
Contents
Documentation
- Features Summary
- Security: Qwicap and the OWASP Top 10 for 2007
- Introduction – Meet Qwicap using a 30-line, truly complete, Java "number guess" game.
- Templating Introduction – Meet the custom XML engine.
- Prompt Pattern – The most basic structure of a Qwicap web application.
- The Qwicap API: The 6 Vital Classes
- API Documentation
- Deployment Descriptors – The default "web.xml" file, and what you might change.
- Change History
- Notes
- Copyright and License – It's LGPL, for a start.
- Acknowledgements – Dear Apache, Thanks for the libraries!
Downloads, Source Code, Binaries, Etc.
- Qwicap's Home on SourceForge
- Subversion repository URL:
svn://svn.code.sf.net/p/qwicap/code/
- Browse the source code.
- Subversion repository URL:
- Qwicap version 1.4b26 of 27-Apr-2010:
- Example Applications of 26-Sep-2008 (Updates in Progress):
- Number Guess - This is the web application discussed in "Qwicap Introduction." It is a good place to begin tinkering. [Source & Project] [WAR file] (Drop the WAR into Tomcat's "webapps" directory. The URL will usually be "http://localhost:8080/guess/".)
- TimeCalc - A simple utility for adding and subtracting time quantities expressed in H:MM and decimal hours formats. [Source & Project] [WAR file] (Drop the WAR into Tomcat's "webapps" directory. The URL will usually be "http://localhost:8080/timecalc/".)
- Hunt the Wumpus - A classic computer game. This example demonstrates a multi-page application (it has three pages); transparently receiving input from links (the dynamically generated "area" elements of a client-side image map), rather than from form controls; and including dynamically generated downloads in web pages (the JPEGs that represent the current state of the game map). [Source & Project] [WAR file] (Drop the WAR into Tomcat's "webapps" directory. The URL will usually be "http://localhost:8080/wumpus/".)