aspose file tools*
The moose likes Blatant Advertising and the fly likes [UPDATED] Announcing FrontMan 1.6.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Other » Blatant Advertising
Bookmark "[UPDATED] Announcing FrontMan 1.6.2" Watch "[UPDATED] Announcing FrontMan 1.6.2" New topic
Author

[UPDATED] Announcing FrontMan 1.6.2

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61769
    
  67

What is Front Man?

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

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>.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2718
    
    6

Cheers!! for the new release.
I've been thinking to try out Frontman from a long time, but haven't got an opportunity yet.But will definitely try in near future.
Anyways


SCJP, SCWCD.
|Asking Good Questions|
Chenthil Rajan Kathirvel Rajan
Greenhorn

Joined: Dec 14, 2002
Posts: 1
Do you have a java 1.4 compliance jar for frontman?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61769
    
  67

No, sorry. Frontman requires at minimum Java 1.5.
Himanshu Gupta
Ranch Hand

Joined: Aug 18, 2008
Posts: 598



My Blog SCJP 5 SCWCD 5
Juan Rolando Prieur-Reza
Ranch Hand

Joined: Jun 20, 2003
Posts: 236
Bear,

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
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17260
    
    6

Congrats on the release.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61769
    
  67

I use FrontMan all the time with Ajax applications (jQuery-powered).

And thanks Mark!
Juan Rolando Prieur-Reza
Ranch Hand

Joined: Jun 20, 2003
Posts: 236
Looks good. Thanks. Maybe I'll post a sample later.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61769
    
  67

Front Man 1.6.2 is available.
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2718
    
    6

Amit Ghorpade wrote:Cheers!! for the new release.
I've been thinking to try out Frontman from a long time, but haven't got an opportunity yet.But will definitely try in near future.
Anyways


+1
Steven Miller
Greenhorn

Joined: Apr 29, 2009
Posts: 4
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.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10290
    
168

Steven,

You might have better luck asking this question in the Other Open Source Projects forum here http://www.coderanch.com/forums/f-64/Other-Open-Source-Projects

Please create a new topic with the details, there.

[My Blog] [JavaRanch Journal]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61769
    
  67

Sorry for not seeing this earlier.

I don;t have access to weblogic for testing, but yeah, it's probably a class loader issue.

Can you turn on Log4J DEBUG level for the CommandBroker class and let me know what's sent to the log?
Steven Miller
Greenhorn

Joined: Apr 29, 2009
Posts: 4
15:36:24,698 DEBUG ClassFinder:? - searching by resource...
15:36:24,714 DEBUG ClassFinder:? - resource: zip:C:/bea/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/_appsdir_Front_war/o6lrs0/war/WEB-INF/lib/_wl_cls_gen.jar!/com/me/front
15:36:24,714 DEBUG ClassFinder:? - added directory: C:\bea\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_Front_war\o6lrs0\war\WEB-INF\lib\_wl_cls_gen.jar!\com\me\front
15:36:24,714 DEBUG ClassFinder:? - resource: zip:C:/bea/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/_appsdir_Front_war/o6lrs0/war/WEB-INF/lib/_wl_cls_gen.jar!/com/me/front
15:36:24,714 DEBUG ClassFinder:? - added directory: C:\bea\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_Front_war\o6lrs0\war\WEB-INF\lib\_wl_cls_gen.jar!\com\me\front
15:36:24,714 DEBUG ClassFinder:? - Done searching by resource...
15:36:24,714 DEBUG ClassFinder:? - searching folders...
15:36:24,714 DEBUG ClassFinder:? - processing folder: front at C:\bea\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_Front_war\o6lrs0\war\WEB-INF\lib\_wl_cls_gen.jar!\com\me\front package: com.me.front

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.

Thanks for the reply,
Steve
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61769
    
  67

No problem. Thanks for the head's up.

Aside: I'm in the process of getting Front Man 2 ready for release within the next month or so with a completely re-written command finder.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [UPDATED] Announcing FrontMan 1.6.2