aspose file tools*
The moose likes Other Application Frameworks and the fly likes Web framework Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Web framework" Watch "Web framework" New topic
Author

Web framework

mic ta
Greenhorn

Joined: May 13, 2009
Posts: 28
Hello,
I am looking for a Java web framework which is similar to Grails or Ruby on Rails. I mean that I can use still Java and I do not need any configuration.

Cheers,
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

And what is wrong with Grails?


GenRocket - Experts at Building Test Data
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Agreed--why not just use Grails?

If you need to use Java-the-language, it seems like all the popular frameworks provide some sort of zero-configuration mode.
mic ta
Greenhorn

Joined: May 13, 2009
Posts: 28
@Gregg Bolinger: Grails use Groovy and this is a new language and I prepare use further Java.

@David Newton: Which framework do you mean?

I only found AppFuse: http://en.wikipedia.org/wiki/AppFuse , but I could not find any books or examples how to create a web application.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Stripes
Wicket
Tapestry
Struts
SpringMVC

None of those really require configuration anymore.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61610
    
  67

Don't forget Front Man, the anti-framework!


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
mic ta
Greenhorn

Joined: May 13, 2009
Posts: 28
On the stripes site I found this:
Struts is pretty feature-light and has some serious architectural issues. Others, like WebWork 2 and Spring-MVC are much better, but still require a lot of configuration, and seem to require you to learn a whole new language just to get started.


Is it true?
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8964
    
    9

Bear Bibeault wrote:Don't forget Front Man, the anti-framework!


Astrotuf!


[How To Ask Questions On JavaRanch]
Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
mic ta wrote:On the stripes site I found this:
Struts is pretty feature-light and has some serious architectural issues. Others, like WebWork 2 and Spring-MVC are much better, but still require a lot of configuration, and seem to require you to learn a whole new language just to get started.


Is it true?

True of false depends on "when" they said that.


SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Struts1 is pretty much legacy and shouldn't be used anymore. Struts2 is pretty popular and their are ways to make it's configuration minimal. SpringMVC is mostly configuration free at this point with support for annotations, although you can still wire things up using XML if you like. As I said, most other frameworks these days are pretty light on configuration; Tapestry, Wicket, etc.

Basically, the way I look at projects these days is can it be done in Grails? If not, then can it be done in Stripes? If not, I'm not sure what I'd look at because that hasn't happened yet.
Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
I think it is also up to personal taste. For me I don't like CoC much, I prefer to write configuration because it's much more clear.
mic ta
Greenhorn

Joined: May 13, 2009
Posts: 28
Is it possible to use GWT with Stripes, Struts 2 or Spring MVC? Are there howtos?
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8964
    
    9

mic ta wrote:Is it possible to use GWT with Stripes, Struts 2 or Spring MVC? Are there howtos?


Struts 2 GWT plugin
There's also an alternate approach to integrating GWT with S2.
mic ta
Greenhorn

Joined: May 13, 2009
Posts: 28
The plugin looks good.

I found howtos for:
* Stripes: http://www.kaigrabfelder.de/en/2007/07/12/stripes_google_web_toolkit_integration.html

* Spring:
http://software-wonders.blogspot.com/2007/02/it-is-not-mistery-that-google-web.html
http://technophiliac.wordpress.com/2008/08/24/giving-gwt-a-spring-in-its-step/
http://gwt-widget.sourceforge.net/
http://g.georgovassilis.googlepages.com/usingthegwthandler
http://it.toolbox.com/blogs/web2-place/integrating-spring-and-gwt-19994

Has anyone tried GWT with Stripes or Swing?
ikenna okpala
Greenhorn

Joined: Jul 12, 2006
Posts: 27
has anyone looked at PRIME FACES

This framework is a very good implementation of JSF and easy to use and test.


SCJP 5.0, SCWCD 1.4, SCBCD 5.0, SCEA 5.0, OCP:AD "there is no traffic in the extra mile..."
mic ta
Greenhorn

Joined: May 13, 2009
Posts: 28
I have found this Play Framework
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Web framework