Friday, July 30, 2004

Workplace 2.0

So apparently workplace 2.0 is out and they are all talking about it in the Workplace forum.

Just had a quick shufty at the hardware requirements and apparently:


Server Minimum Minimum
platform processor RAM

IBM AIX(R) 1.2 GHz Power 4+ 4 GB
(single-server, demo processor
deployment)
Linux(TM) (single-server, 2.0 GHz Pentium(TM) 4 GB
demo deployment) 4 or equivalent
Microsoft(TM) Windows(TM) 2.0 GHz Pentium 4 GB
(single-server, demo 4 or equivalent
deployment)



Maybe I'm a lightweight, but these kind of numbers make me think of HMS Ark Royal

Scheduled Tasks and Websphere

In my Domino to Websphere app re-write I need to run a number of scheduled tasks which perform various bits of business logic/run report etc. Now I am expecting (being a crusty old Domino Charlie) that there is some way to set this up within the application itself. Trouble is I can't seem to find a standard/common/best practice way of doing this. Doesn't seem to be any standard J2EE way, is there any proprietary way in Websphere? ... any one know?

Maybe you have to use things like "Quartz Job Scheduler" ..

Please please don't say you have to create cron jobs because I will burst into tears.

Thursday, July 29, 2004

Thirty-four wagon and we call it a woody ...

Surfs up here at "Can I get down now dad?" and I am the proud owner of:



I am currently teaching myself "Wipe Out"; the only problem is Mrs Spuggy is steadfastly refusing to do the drum solo bit on the kitchen table .... help me Rhonda please.

Java Standard Tag Libray

Today I have been re-writing my big domino web application. This app uses a lot of views to create statistical data for the end users. I have kind of replicated this in a j2EE stylee by creating a table full of select statements:



The app then picks the right view by via a URL like like:

http://localhost:8080/sampler/displayReport.do?name=SITBYTEAM

This gets executed and the results stuffed in a Data Transfer Object and pushed back into a jsp page (which is kind of acting like a $$defaultviewtemplate).

In the JSP I use the rather nobby Java Standard Tag library to chuck the view on the page:


<table>
<tr>
<c:forEach var="colName" items="${reportDTO.columnNames}">
<th><c:out value="${colName}"/></th>
</c:forEach>
</tr>
<c:forEach var="row" items="${reportDTO.rows}" varStatus="lineNo">
<tr class="AltTable<c:out value="${lineNo.index % 2}"/>">
<c:forEach var="col" items="${row}">
<td><c:out value="${col}"/></td>
</c:forEach>
</tr>
</c:forEach>
</table>


This is kind of fab as it avoids all the nastty scritplet cobblers which are so frowned upon.

So now if want to do a new view I just create a new view record with some SQL in it, give it a name like BORINGTHEBOLLOCKSOFUS and whack a url on a page like

http://localhost:8080/sampler/displayReport.do?name=BORINGTHEBOLLOCKSOFUS

and Bob is your aunties live in lover.




Wednesday, July 28, 2004

Maybe it's me ...

Am I missing something in these?

Monday, July 26, 2004

From the boundary's edge

One of my ambitions when moving to the country was to join the local cricket team. This Sunday I achieved my aim when I turned out for my local team: "The Commoners".

We met at the pub for a pre match pint (how fab is that) and then drove off to a picturesque cricket pitch, somewhere in the darkest Cotswolds.

Village cricket is full of fascinating and terrifying characters: huge public schoolboy fast bowlers, with huge noses and giant ears who speak as though they have mouth full of ball bearings; ex-army lance corporals, brickies and roofers; little fat blokes who can surprisingly run very very fast; ancient old ladies who do the tea and buns between innings; mysterious Indian spin bowlers from the local Balti house; it's just fab.

Anyhow, I batted number four and came in at a crisis point when we had lost two quick wickets. Amazingly, after some stout defence, I managed to score thirty-nine runs with seven fours; returning to the pavilion, flushed with pride, to a ripple of applause from my team mates.

Sadly, my bowling was a mixture of Julian Clarey and Ray Charles and I was quickly ushered to mid-off with a: "thanks very much mate" from our wicketkeeper captain. Still, a successful debut, not so much because I scored a few runs but rather avoiding getting out for duck and looking, as my team mates would have no doubt whispered: "a bit of a w@nker that new bloke, aint he, eh?"

This page is powered by Blogger. Isn't yours?