Apr 21

For those of you who don’t know what OpenID is, get to know it now. This post is going to be about how to use OpenID authentication in your GWT applications.

First, a reminder of what OpenID is:

OpenID is a free and easy way to use a single digital identity across the Internet.

Continue reading »

Feb 26

Functors are defined as a function encapsulated in an object. In most cases, the function’s parameters can be set and the result retrieved using the common accessor pattern, such as setParameter1(Object value) or getResult(). The fact that these functions are encapsulated by real objects is also the reason for its greatest benefit: the use of many design patterns including structural ones such as the Decorator pattern and behavioral ones such as the Visitor pattern.

Functors in software design

While the classic object oriented design encourages inheritance and method overloading to achieve code reuse and code specialization, the functors’ design promote another approach, of composition. Functors are created to accomplish simple tasks and are later connected together, by connecting one functor’s result to another’s parameter, to satisfy a greater goal of the application.

Continue reading »

May 31

I guess I completely missed out on this because it seems like there was a better looking documentation of Java out there (still a prototype, but is stable) and I kept using the old JavaDoc one.

Anyway, if you’re using JavaDoc and want to have killer web documentations, take a look at this open source project, DocWeb!

I can see one good thing about it and one bad thing: It allows for dead-easy translation of the documentation using the community as translators - Great for open source projects that are relying on the community for so many things, just takes their minds off needing to manage it. However, it is being installed as a servlet which requires you to have some sort of container for it.

I wonder if the open-source hosts (SourceForge, Tigris, Google Projects, etc) are going to start supporting this feature?

Chaotic Java is Digg proof thanks to caching by WP Super Cache!