• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

[UPDATED] Announcing FrontMan 1.6.2

 
Sheriff
Posts: 67753
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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>.
 
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you have a java 1.4 compliance jar for frontman?
 
Bear Bibeault
Sheriff
Posts: 67753
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No, sorry. Frontman requires at minimum Java 1.5.
 
Ranch Hand
Posts: 598
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
 
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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).
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrats on the release.

Mark
 
Bear Bibeault
Sheriff
Posts: 67753
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I use FrontMan all the time with Ajax applications (jQuery-powered).

And thanks Mark!
 
Juan Rolando Prieur-Reza
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Looks good. Thanks. Maybe I'll post a sample later.
 
Bear Bibeault
Sheriff
Posts: 67753
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Front Man 1.6.2 is available.
 
Amit Ghorpade
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Steven,

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

Please create a new topic with the details, there.
 
Bear Bibeault
Sheriff
Posts: 67753
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 67753
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Nothing up my sleeve ... and ... presto! A tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic