Archive

Posts Tagged ‘Web’

WebBeans => Java Contexts and Dependency Injection

January 29, 2009 2 comments

I’ve been watching the WebBeans/JSR-299 specification for quite some time. After some discussion on the webbeans mailing list, the name was recently changed to Java Contexts and Dependency Injection. This removes the “dependency” on “Web” part. Since it’s effectively a new component model for Java, it didn’t make sense to restrict it to Web environments. The new name is long and not as catchy … maybe it’ll become known as JCDI.

An updated public draft is now available. Other useful information – particularly the introductory guide – can be found on the Seam Framework wiki.

The specification draws much from Seam and Guice and consequently Gavin King and Bob Lee. Congratulations to all involved in the specification. It’s really worth looking at particularly if you haven’t been using Seam 2 or Guice 2. I find myself particularly drawn to Guice 2. I hope they release it soon :).

Advertisements

Ext JS 2.1 now GPL :(

April 22, 2008 Leave a comment

Unfortunately Ext JS 2.1 (and Ext GWT 1.0) have been released under the GPL. This will make Ext more difficult to sell to corporate clients.

Ext JS 2.0.2 is still available for download under a LGPL licence and can be used with the GWT integration found in the GWT-Ext project (not to be confused with Ext GWT). i.e. GWT-Ext 2.0.3 and Ext 2.0.2 are still both LGPL. I wonder if Ext GWT 1.0 (GPL) started life as GWT-Ext 2.0.3 (LGPL)…

I wonder if a fork will appear… or perhaps a Yahoo! UI on GWT or a Tibco GI on GWT. Both YUI and GI are BSD and so very business friendly.

I discovered a promise of a tibcogi4gwt project but nothing more 😦

Update: more info can be found in a post by the author of GWT-Ext.

Super Mario in JavaScript

April 10, 2008 Leave a comment

It’s amazing to see this implemented in JavaScript!

Note that there seems to be only one level to the game which isn’t entirely implemented. It’s the concept that such a beast can be implemented in JavaScript rather than Flash that’s interesting.

More praise for Wicket

Wicket has finally graduated to become a top level Apache project and is receiving a much praise as ever.

Categories: Programming Tags: , ,

Oh no, not Yet Another Web Framework!

Just browsing through the Thoughtworks open source projects (after finding Buildix and backing up). I noticed YAJWF (Yet another Java web framework) – or perhaps just YAWF (Yet another web framework) – the Waffle Web Framework. I could not contain the reaction: “Oh no, not yet _another_ Java web framework :(“. However, I had this feeling a couple of years ago when the main author of the Click framework was promoting his framework on the AJUG mailing list. At the time I was developing UI with Macromedia Flex and didn’t feel all the full frontal pain of regular web development. I am currently experiencing Spring MVC (without Webflow) and I feel the pain – oh, I feel it! Click looks to relieve the exact pain I am feeling on my current project but Wicket looks to have a brighter future (and more future proof).

I haven’t looked at Waffle yet. There are too many others to consider first. This is my current short list:

  • Wicket for power and community
  • Click for simplicity.
  • Perhaps some JSF based “stacks”: Facelets + Seam, Oracle ADF, IceFaces, JBoss/RedHat/Exadel Ajax4jsf + RichFaces.
  • Perhaps Tapestry 5 when it’s finished and if the components and community appear 🙂

There are sooo many web frameworks out there. It _is_ so easy to have the reaction: not another please, please, no no no! There is certainly a need for a few. The move away from “model 2 mvc” frameworks is gaining momentum now (thank goodness). The term “model 2 mvc” seems laughable now :). Web frameworks are getting compared all the time! The people involved are often parochial and the forums can get heated 🙂 .

It’d be nice if there were some ideal framework for Java developers (those .NET guys sure have it easy!). The reality is that many frameworks would be suitable. Choose one that works for you and keeps you productive (i.e. avoid model2/action based frameworks if you have much interactive to deal with). I’m currently hoping that Wicket gains an upper hand. JobServe lists zero Wicket contracts currently though 😦 .

Thoughts on web application frameworks

Here’s a brain dump of my current thoughts on Web Frameworks:

  • Click with OpenRico. A simple and effective however there are some gaps for more complex flows. Some good OpenRico examples for simple DHTML effects and AJAX.
  • Wicket. More complicated than Click and generates less HTML for you. However, it would work well with Web designers – templates are valid XHTML. I like it but the documentation leaves something to be desired.

On the radar is JSF, GWT, Tibco GI, Yahoo UI, Dojo:

will update again soon…

CrudPage for Click?

Portuguese Article on CrudPage for Click (translation here). Compelling but mysterious 🙂

Categories: Programming Tags: , ,