The Illusion of Retirement

Section of a Vintage Car

The problem is not the work!Section of a Vintage Car

A Retirement Myth?

In a previous article, “Making the best of your 9-5“, I mentioned my dad.  Along with hundreds of other employees of a national monopoly, he was forced into retirement in his 50s. But he still had a lot to live for and so continued in active self-employment as a travel agent for another 20 years and then selling his business, and once again retiring. He is now in his 80s, and it is only in the last 3 years that he has really stopped all productive activity and finally retired to the golf course and social circuit.

So, what was difference between my dad’s state in his 50s, 70s and 80s?  Since it would appear that he retired three times. It is obvious that there is more to retirement! One could be retired but still working, and one could stop working and yet not have retired? What does it mean to retire? One wonders if retirement is real, or just an illusion that we have conjured.  Much like that of wealth causing happiness.  I suspect that retirement is not an ideal.  That it is not something one should even aspire to, but rather to seek something much better! I wonder if I can persuade you? Have a look at this picture. What do you see?

Too Much Happiness!

A person who lives for 70 years has about 2640 weekends to enjoy from birth to transition. Time to get the abacus out, and to count, how many already used up, what remains, and how best to use them? Well, yes and no. Yes, the breaks that weekends bring are vital to our well-being and we ought to enjoy them as best as we can. After all, all work and no play makes Jack a dull boy, and if one is to plan effectively for a retirement of prolonged breaks, it would be expedient to get some practise before launching out. No?

Well, it turns out that our yearning for weekends is actually fuelled by the drudgery, tedium and stress of our “working” week days. In a perverse way, the week days that we would like to wish away are shades that give meaning to the light of our weekends. Without those grey days, the weekends would slowly loose their glow and allure.  Without weekdays, weekends would eventually fade in with the rest of a meandering meaningless cycle of existence. There is an Italian saying that translates roughly to this: “a life of too much happiness, no man can bear, it would be Hell on earth!”; and there is a recent study lends credence to what those Italians had to say.

To Work or Not to Work; …

Did I hear you say “damned if you work and condemned if you don’t”? The picture is only half painted and the fat lady has yet to sing. Have you ever tried tossing coins? If you haven’t, you need to get out more, or see someone that can help you understand why you need to. For the rest of us; reason says its either heads or tails, but a few have been lucky enough or persevered sufficiently to discover that their is a third way. Life is not always binary and coins have been known to land on the edge. It is crazy, but I have seen it. There is a third way.

If you have not read my article on 9-5, now is a good time to do so, if you have, recall the gist of the story. The destination is not a tenth of the journey, and we all need to make the absolute best of the latter. The reason is simple: the destination is itself an illusion! Rather, it is a product of our journey through life. Not everyone will get to “retire” (the destination), and not everyone that gets to “retire” will enjoy the state. By and by, our financial trajectory is pretty much set by our 30s to 40s, and most already have an idea of when and how they will retire long before they come to it.

senex est libertus

Apart from a select (famous) minority, retirement spells downsizing in almost all aspects of living, and a careful shunt to the exits of existence. The famous minority have a peculiarity that is amiss to many observers.  They cling to any and every opportunity for relevance and productivity. They engage in charitable acts, serve on boards and advisory groups, act as mentors.  Some even engage in physically tasking work; helping others and also keeping in shape. Why? Well, it turns out (BBC article) that a retired life that is not kept occupied soon dies!

When most of us conceive of retirement, we imagine an end to work, being presently encumbered in wage-slavery, or more preferably, money-chasing. But if we could step out of our present circumstance, what we would discover is this truth. We do not really desire to stop work, rather we want to be free from having to work. It is the “must” in work that we really yearn to shake off rather than the work itself, and there is the delusion that is “retirement”. No one should aspire to retire, in the sense of not doing anything, but we should all aim to pilot our lives away from the constraints of working-to-survive.

Perspective is Key

Remember the picture earlier; look again: what do you see now? Perspective is key in life.  One person sees a journey another beholds a sight, and yet the reality is the same! It all depends on the one who looks and the mindset that they bring to bear on what they perceive. We all could apprehend more, and live better. With some reinvention we can sidestep some of our illusions and observe realities that were always there but we just never saw. Work and retirement are two such.  The former is not a curse unless it controls us.  The latter is not really a blessing unless we control it.

Have a blessed day, and start enjoying your retirement, now!


Oyewole, Olanrewaju J (Mr.)
Internet Technologies Ltd.
lanre@net-technologies.com
www.net-technologies.com
Mobile: +44 [0] 793 920 3120

Oracle BPEL Subprocess

There are quite a few new features in Oracle BPEL 12c and here is one that I really like; the BPEL subprocess – a task/algorithm that is an association (not composition) of an activity/process.

The concept has been around for decades and it has featured in process diagrams and BPMN notation for quite a while, but there was no equivalent in program code.  Oracle has finally addressed this lacuna by releasing a feature in BPEL that closely approximates the design concept.  Please note that it is close but not identical in semantics; but that again is to be pedantic – pardon the pun!

The subprocess allows a programmer to define a block of code or algorithm that will be reused as-is at various points within one or more BPEL processes.  I took the liberty of taking a few screenshots of active code from a recent client in order to illustrate a subprocess in action.  Before diving in though, it is useful to set the context.  The subprocess is being used in this scenario to wrap the invocation of operations on a service, and the task is named here as “QueryMaximoSP” – see highlighted item in the diagram below.

Call to the subprocess from the parent process

sub-process
sub-process icon
sub-process assignment

 

This subprocess wraps all the operations on the AWMaxAssetABCS service, and can determine which one is to be invoked by examining the inputs it receives from a main process.  In this simple example, the choice is implemented as if/else paths for “query” and “update” operations.  Once the operation has been determined invocation of the target service follows, using the input that was passed in by the main process.

Subprocess internal details

sub-process detail

There are three benefits that this concept brings to BPEL code:

  • Simplification of design view
  • Improved reusability
  • Improved modularisation

In the design view, hiving off some code into a subprocess frees up the screen from clutter and makes it much easier to see the big picture of what we are doing in the main process.  But what becomes of all this delegated code in production systems?  One fear may be that the subprocess will be displayed as a black-box.  This is not the case, all steps in the subprocess will be revealed at runtime, but only if they are executed.

Modularisation is improved because programmers can delegate as much logic to the subprocess as needed, including specialised error-handling and rollback, pre/post processing, and other conditional processing.  All of this functionality is thereafter available to all processes within a SOA composite, and each can invoke (reuse) the same subprocess multiple times with different inputs.

In the diagram below, input has been provided for the query operation while the update operation has been left blank, and so only the query operation will be acted upon in the subprocess.  Notice also that the “Copy By Value” checkbox of the output variable has been left unchecked.  This is important, as the invocation is likely to fail on the output variable if the checkbox is checked.

sub-process assignment

I have found it really useful to encapsulate the invocations to partner services in subprocesses, so that I can control all necessary pre and post processing in one place, as well as any necessary error handling and recovery that is specific to that partner system.  In future, it would be nice to have subprocesses that more closely resemble the concept in process models, i.e. a unit of functionality that can be reused across the domain, not just within one composite.  Now, some would argue that we should create a new composite to encapsulate the required functionality, but of course that would not be the same thing as in the model, and such a construct would also be significantly slower, not to mention that it would not fit nicely into a service portfolio.  Let’s wait and see if Oracle will be tweaking this feature in the next release of the JDeveloper and SOA Suite; for now though, there are already some great benefits realised in subprocesses.  I hope you find it useful too.

Regards and God bless.


Oyewole, Olanrewaju J (Mr.)
Internet Technologies Ltd.
lanre@net-technologies.com
www.net-technologies.com
Mobile: +44 [0] 793 920 3120