This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Bear Bibeault's Front Man™ is an implementation of the Front Controller and Command patterns that serves as an ultra-lightweight framework (if you could call it that) for quickly creating Java web applications of all sizes.
The purpose of Front Man is to provide an ultra-light-weight web framework that adheres to the principle that the answer to the question "How big should a framework be?" is "Barely enough!".
New features since previous release (1.5.0):
General internal code improvements.
Added the ability to map command verbs to Command classes using Java annotations rather than (or in addition to) mapping them in a properties file. See Section 3.1.2 of the documentation for details.
Added the ability to map command verbs to command classes without explicit configuration using a "configuration by convention" approach. In this approach, the class name of a Command class to be invoked by a command verb is implicitly surmised by convention. See Section 3.1.3 of the documentation for details.
<a href="http://www.bibeault.org/frontman/" target="_blank" rel="nofollow">Click here to visit the project site</a>.
I am going to try to use FrontMan as the controller for an ExtJS AJAX application. (i.e. I'm hoping this: The FrontMan-based command classes will receive AJAX requests and send back their reply.) Is this a reasonable use of FrontMan? Is there a sample application using FrontMan for AJAX ? If FrontMan is not AJAX-ready out-of-the-box, any advice?
Thanks in advance (Sorry if the answer is too obvious, 'cus I haven't studied the FrontMan source yet).
Juan Rolando Prieur-Reza, M.S., LSSBB, SCEA, SCBCD, SCWCD, SCJP/1.6, IBM OOAD, SCSA
Has anyone tried frontman on weblogic 9.2? For some reason, I can get it to register the command verbs and views, but then when it goes to call the Command class, I get a ClassNotFoundException. It works fine if I deploy to Tomcat. Didn't know if there were any tricks someone knew to get it working on Weblogic. My guess is it uses classloaders differently. Thanks for reading. Sorry for the obscure and vague question.
Basically, it looks like weblogic deploys the classes in a jar file within the folder. So when you do an
That folder doesn't exist, because it is within a jar. Not sure how to handle this. I think I'm going to try Stripes instead, so you don't need to fix it for me anymore, but if you know an easy fix, it might be worth doing for other folks in the future. I still may use it in the future, because it is easier to rewrite some of our servlets with yours, than change them to the Stripes convention of having setters in the actionBean.