Jun 23, 2005 / Wicket - One more Java Web Component Framework

Wicket is one more component framework like Tapestry, JSF or ASP.NET. However, it's light and very simple. Well, ASP.NET is simpler :)

One example (displays textarea with submit button and messages list):

public GuestBook()
{
 add(new CommentForm("commentForm"));
 add(commentListView = new ListView("comments", commentList)
 {
     public void populateItem(final ListItem listItem)
     {
         final Comment comment = (Comment)listItem.getModelObject();
         listItem.add(new Label("date", comment.getDate()));
         listItem.add(new MultiLineLabel("text", comment.getText()));
     }
 });
}

2 Comments:

At 3:55 PM, Blogger Martijn Dashorst said...

ASP.net is not simpler when you have to type it by hand ;-)

The GUI painter aspect of ASP.net is pretty cool though, especially plugging third party components into your web page. Previewability usually sucks, as does the threading model.

I think I'll stick with Wicket though, as I tend to like to be more browser and platform independent. And of course, Wicket gives me full control over the markup and my Java code.

 
At 6:10 AM, Blogger seology said...

For Cross Platform Development .NET to Java please check: .NET JAVA Applications

 

Post a Comment

Links to this post:

Create a Link

<< Home



TP v.2 online demo


© 2004-2007 TargetProcess. Agile project management software
info@targetprocess.com