Java

  • submit to reddit

Generate your TLD Using Java Annotations

If you are stuck with JSP and keeping your TLD files by hand (like me), you are probably ignoring the elephant in the room:Tag classes must be kept up-to-date...

0 replies - 5696 views - 02/24/10 by Ignacio Coloma in Articles

An (Overlooked?) Use Case for the Strategy Pattern Part 2: It’s Not About Template Method

As I explained in my previous post, I think there is a use case for the strategy pattern that, in my opinion, we often overlook: This is what I’ve seen:...

0 replies - 3484 views - 02/24/10 by Alex Ruiz in Articles

Hello World Portlet using Spring 3.0 Portlet MVC—Part I

This article is taken from the book Portlets in Action from Manning Publications. It’s part of a three-part series that creates a portlet example using the...

13 replies - 103249 views - 02/23/10 by Lyndsey Clevesy in Articles

Design Patterns Uncovered: The Abstract Factory Pattern

Having gone through the Factory Method pattern in the last article in this series, today we'll take a look at Abstract Factory, the other factory...

14 replies - 45231 views - 02/23/10 by James Sugrue in Articles

Base X Encoding

Ever needed to shorten a number so that its easier to remember? Or provide someone with a temporary PIN which is short enough to remember, but long enough to...

1 replies - 4781 views - 02/23/10 by Ant Kutschera in Articles

iPFaces Mobile Application Framework - How to Start?

iPFaces is a flexible solution for easy development of form-oriented network mobile applications. With the iPFaces solution, mobile devices are able to render...

0 replies - 4314 views - 02/22/10 by Pavel Strzinek in Articles

DSL: Grow Your Syntax on Top of a Clean Semantic Model

A DSL primarily has two components - a semantic model that abstracts the underlying domain and a linguistic abstraction on top that speaks the dialect of the...

0 replies - 6705 views - 02/22/10 by Debasish Ghosh in Articles

Automated Planning Problems Are Cursed With NP Completeness

Drools Planner (formerly known as Drools Solver) optimizes automated planning. Real world planning problems are almost always NP complete. But what does NP...

0 replies - 5240 views - 02/22/10 by Geoffrey De Smet in Articles

Builder: Design Pattern or Obsession?

Recently, I had a familiar thing happen: I recognized that I needed a class to make an instance of another class based on some preferences a user had...

2 replies - 5918 views - 02/22/10 by Rob Williams in Articles

Concurrent Programming in Groovy

It seems that the Groovy has a project for just about anything.  That's one of the reasons why the language is so popular.  The GPars library is an...

0 replies - 16278 views - 02/22/10 by Mitch Pronschinske in Articles

Datalator - Fast RIA Tool and Hosting Environment

There is great interest in Agile/RAD tools for cloud environment with AJAX-style messaging and persistence and so on. Here is the deal: I have built a tool...

3 replies - 3579 views - 02/21/10 by Alex Semenov in News

Groovy ANTLR Plugins for Better DSLs

DSLs, ANTLR, and Groovy in one blog post? Oh yes, this should be good: a trifecta of interesting keywords. There is a horrible scourge upon Groovy based...

0 replies - 6145 views - 02/20/10 by Hamlet D'Arcy in Articles

Testing Asynchronous Code with GPars Dataflows

In my last post I showed how to use JConch 1.2 to unit test asynchronous code. It contains a locking/barrier mechanism that allows you to gracefully tell...

0 replies - 4222 views - 02/19/10 by Hamlet D'Arcy in Articles

Java in the Eclipse IDE for Education

The IDE for Education (ide4edu) project has made some progress over these last few months with the help of some undergraduate students. Most of the effort...

1 replies - 5829 views - 02/19/10 by Wayne Beaton in Articles

Resin and the Web Profile are Meant for Each Other

'Lightweight' is the term that Caucho's Resin developers live by.  You won't commonly see application server developers who write low level facilities like...

0 replies - 6120 views - 02/19/10 by Mitch Pronschinske in Articles