This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[UPDATED] Announcing FrontMan 1.6.2

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65115
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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>.
 
Amit Ghorpade
Bartender
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • 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
 
Chenthil Rajan Kathirvel Rajan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have a java 1.4 compliance jar for frontman?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65115
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, sorry. Frontman requires at minimum Java 1.5.
 
Himanshu Gupta
Ranch Hand
Posts: 598
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Juan Rolando Prieur-Reza
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • 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).
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats on the release.

Mark
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65115
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Looks good. Thanks. Maybe I'll post a sample later.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65115
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Front Man 1.6.2 is available.
 
Amit Ghorpade
Bartender
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • 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
 
Steven Miller
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • 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.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65115
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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
  • 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
Author and ninkuma
Marshal
Pie
Posts: 65115
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic