Thursday, February 5, 2009

A Java Developer Recites The Lord's Prayer


import org.religion.*;

public class LordsPrayer {
public void pray() {
// Our Father, who art in heaven,
//
God ourFather = Heaven.getGodInstance();

// Hallowed be thy Name.
//
ourFather.getName().setHallowed(true);

// Thy kingdom come.
//
ourFather.getKingdom().setWelcome(true);

// Thy will be done in earth
// As it is in heaven.
//
boolean isWillDone = Heaven.isWillDone(ourFather);
Earth.setWillDone(ourFather, isWillDone);

// Give us this day our daily bread.
//
Bread dailyBread = ourFather.getBread(new Date());

// And forgive us our trespassess,
// As we forgive those who trespass against us.
//
synchronized
{
ourFather.forgive(this.getTrespasses());
this.forgive(this.getTrespassers());
}

// And lead us not into temptation;
// But deliver us from evil:
//
ourFather.removeTemptationListener(this);
ourFather.deliverFrom(Evil, this);

// For thine is the kingdom, and the power,
// and the glory, for ever.
//
for (; ;) {
Kingdom.setOwner(ourFather);
Power.setOwner(ourFather);
Glory.setOwner(ourFather);
}

// Amen.
//
finalize();
}
}