The Holy Java

Building the right thing, building it right, fast

Archive for March, 2011

Most interesting links of March

Posted by Jakub Holý on March 31, 2011

Articles, links etc.


Quotes of the month

  • I told them that quick-and-dirty is an oxymoron. Dirty always means slow.” by Uncle Bob in his blog on 12/13/2007

Posted in General, Testing, Top links of month | Comments Off on Most interesting links of March

CKEditor: Scroll dialogs with the page, i.e. not fixed to the middle

Posted by Jakub Holý on March 31, 2011

Dialogs in the popular rich-text wysiwyg JavaScript editor CKEditor 3.5.2 are fixed-positioned and thus when you scroll the editor’s page they always stay in the middle as you can see in its demo. That is a problem if the dialog is longer then the height of the page because you will be never able to scroll to its end (where the Ok/Cancle buttons are located).

It could be perhaps solved by adding a scrollbar to the dialog but I solved it by overriding the dialog’s position: fixed with position: absolute. Here is how to do it. Read the rest of this entry »

Posted in General | Tagged: | 4 Comments »

Introduction to ObjectTeams/Java, a Role-Based Approach to Modularity With AOP

Posted by Jakub Holý on March 27, 2011

I’ve recently stumbled upon an interesting Eclipse project called ObjectTeams/Java (OT/J), which promises improved reusability and maintenance and support for evolvable architectures by creating well-encapsulated bundles of behavior – modules – that can be applied to existing classes (via AOP), when they are in the appropriate context of interaction (and not simply always, as is the case with AOP). An example application is the addition of NonNull constraint to JDT via an OT/Equinox plugin, without the necessity to modify JDT’s base classes. I’ve decided to write down my discoveries as the project is missing a clear and brief introduction (though it has otherwise very good documentation). This blog borrows heavily from [1]. Read the rest of this entry »

Posted in Languages, Tools | Tagged: , , , | Comments Off on Introduction to ObjectTeams/Java, a Role-Based Approach to Modularity With AOP

Why not to be afraid of 2012

Posted by Jakub Holý on March 12, 2011

You don’t need to be afraid of the foretold end of the world in 2012. To end the world is a big project and I think we can easily compare it to large scale IT projects. Consequently:

  1. Such a large-scale change certainly wont’t be delivered on time. Most likely it will take several times longer, i.e. we can expect it around 2020 earliest.
  2. Anyway it will be necessary to downsize it considerably, so don’t expect a complete destruction of everything to take place.
  3. Most likely the project will be canceled at the end.

So calm down 🙂

PS: I hope they won’t try to go with agile, I wouldn’t appreciate frequent deliveries 🙂

Posted in General | Tagged: | 3 Comments »