Fabrizio Giudici is a Senior Java Architect with a long Java experience in the industrial field. He runs Tidalwave, his own consultancy company, and has contributed to Java success stories in a number of fields, including Formula One. Fabrizio often appears as a speaker at international Java conferences such as JavaOne and Devoxx and is member of JUG Milano and the NetBeans Dream Team. Fabrizio is a DZone MVB and is not an employee of DZone and has posted 67 posts at DZone. You can read more from them at their website. View Full User Profile

Idioms for the NetBeans Platform: Injectable Lookup Factory

01.15.2009
| 21898 views |
  • submit to reddit
With this article I'm starting a series of posts that will hopefully last for a few months, about a set of idioms (= technology-specific patterns) for the NetBeans Platform. All the things that I'll be talking about have been used during the development of blueMarine (and its new cousin blueOcean), some learnt or derived by others' work, a few as my original contribution. After almost three years of work with blueMarine on the NetBeans Platform they seem mature enough to be talked about and maybe useful for others; but of course I hope there will be discussions here as patterns and idioms need many different perspectives from the community for consolidating.

While I suppose that most of readers have at least a bit of knowledge about the NetBeans Platform, I'll try to write short introductions to put things in context; also because patterns/idioms are here also to help us in making better designs and I think that many concepts could be useful even outside the NetBeans Platform. Consider also that some parts of the NetBeans Platform can be used in regular applications as well (such in the case of the idiom I'm presenting today).

I'll use a really informal style here, while I'll later replicate the post contents to the NetBeans Wiki, with a more structured "pattern catalog" scheme and incorporating feedback and improvements.

There will be another related series of posts that I'll be starting on DZone soon - focused on how I designed one of the most important components of blueMarine - and, for the record, I've submitted related talk proposals to JavaOne and Jazoon 2009.

So, let's start with the Injectable Lookup Factory.

Published at DZone with permission of Fabrizio Giudici, author and DZone MVB.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Comments

Fabrizio Giudici replied on Thu, 2009/01/15 - 10:18am

Hmm... the idiom UML diagram has got two unnecessary navigation arrows in a couple of associations.

Fabrizio Giudici replied on Wed, 2009/01/28 - 9:02am

A better UML diagram for the idiom could be this:

 

Mateo Gomez replied on Fri, 2012/06/22 - 2:58am

the idioms are great..mexican drinks

Matt Coleman replied on Thu, 2012/07/26 - 2:35am

thanks for the UML diagram Fabrizio

 buffalo web design

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.