People and Technology Logo

About  Contact  Wiki  LinkedIn  Articles and Whitepapers

.Net11 20076 3g7 Agile24 Ajax33 Architect17 architecture8 Articles22 awards26 barcamp14 barcampbelfast6 Belfast16 blog65 blogging42 blogs31 BPM10 Business111 comment13 Company9 Consultant11 Consulting14 CV9 Database7 design7 Development29 Drogheda18 Dublin108 Dundalk10 eclipse8 EJB10 Ejb38 enterprise22 enterprise java18 enterprise web 2.022 EnterpriseWeb2.021 Entrepreneur8 event13 Events66 Excel7 Finance15 firefox7 flash6 Google15 Government14 Health6 IE6 Information Technology8 Internet Explorer7 Ireland95 Irish27 IrishBlogAwards28 IT21 j2ee14 Java56 java enterprise13 Java Enterprise Edition24 Java Enterprise Edition25 Java Server Faces (JSF)12 java58 JBoss17 jobs12 jruby6 JSF9 JUnit12 jvm8 Knowledge Management33 Linux7 meetup28 Microsoft11 mobile8 network22 networking13 Networks20 NoUnit11 Office13 Open Source18 Oracle23 People95 PHP11 presentation16 Process19 Project15 RedPiranha16 rp7 rss6 ruby15 Rule Engine18 rules7 Security16 Spring11 Sql7 struts6 Technology46 Testing9 Training34 UK9 Uncategorized17 Unix7 VOIP8 Web48 Web 2.050 web225 Web2Ireland22 website16 Workflow19 Xml14

Archives


21
Aug

java@cork 2008 – 1 day Java Conference

IT@Cork have got good speakers from Eclipse, Springsource and Sun, and a Bargain at 130 Euro .. More details are available here.

IT at Cork Logo

Java@cork 2008

Tuesday, September 9, Radisson SAS Hotel, Little Island, Cork
Featuring speakers from SpringSource, Sun Microsystems, Eclipse Foundation and much more…

Agenda

OSGI and the Enterprise Ben Hale, SpringSource Lucene - Open Source Search Engine - Case Study, Phil Corcoran, RR Donnelley Eclipse Verticals - From Open Source Consumption to Creation , Ralph Mueller, Director, Eclipse Foundation Leveraging Eclipse For Desktop Applications - Case Study, James Sugrue, Pilz Ireland Demo of Spring plugin tools for Eclipse, Jonas Partner, SpringSource Spring Integration, Jonas Partner, SpringSource SOA In Practice, Oisin Hurley, Iona Technologies The Future of Java for Rich Internet Applications, Simon Ritter, Sun Microsystems

Fee: €80pp for members. €130pp for non members. Students fee is €40.
Registration: email admin@itcork.ie or visit www.itcork.ie


18
Aug

Why corporates should blog - reason one (of many)

I recently got into a conversation about corporate blogging. The sort of conversation that starts with ‘what is a blog?’ and ends with ‘it’ll never work here’. And, as always, the killer argument for corporate blogging popped into my head 5 minutes too late.

A tractor in a field yesterday

Many years ago, I used to work for Case, the company that builds big red tractors. It was great work, especially as people understood what you did - none of this ‘I work in computers’ malarchy. Only problem was that we were working in Navan Ireland, with most of our colleagues based in Racine, just north of Chicago.

Not too much of a problem for the first 15 or so people - people who worked out of Chicago for the first 4 or 5 months. We were able to build up personal relationships with a colleagues. We could ask later ‘how are the kids?’ or ‘are you still playing football?’. Small things, but make the real work discussions a lot easier.

The problem came with employees 15-100 - the ones that didn’t spend any amount of time in the US. Technically great people, but didn’t ‘click’ in the same way with Chicago. As a result, small misunderstandings became big misunderstandings, and projects got delayed.

And that’s where corporate blogging comes in. It allows people in far flung offices to connect. Doesn’t matter what you blog about - personal life, or some small project that’s happening in your local office. Chances are somebody else in the company will pick up on it and vital connections will be made.

And if you’re in the market for a big red tractor, click on the photo above. 125 BHP, Diesel Engine, a bargain at 16,500 Euro.


11
Aug

The Economic Crisis, from the horses mouth

Heard on the Doirt

Girl 1: I can’t believe my car is only worth 15 thousand but the car loan is still 20. It’s so unfair.

Girl 2: What colour is it?

Girl 1: Red

Girl 2: That’s ok then.

And women are normally more careful with money. We’re all doomed.


04
Aug

3 Steps to GTD: Time management for really, really busy people

Stressed? No time to talk to people? Losing sleep over tomorrow’s work? You don’t have a lot of time to read this, so I’ll keep this short.

Have a task / todo list. On Outlook , Excel , wiki or paper. Daily, pick off most important tasks and allocate time for them on your calendar. Schedule your time in some sort of calendar. Use Outlook, Google Calendar , Mozilla Lightening or even a paper diary. Keep about 1/3rd free for the unexpected. Timeslots no shorter than 30 minutes; bunch smaller todo’s together to make up. Set your mail program to show first your calendar and not your email - that way your daily agenda is set by your plans, not somebody else. Clear mail inbox twice a day (and only twice a day). Do same for phone calls (using voicemail) if that’s disrupting you too much. Only touch mails once: delete, respond, or make room on calendar / tasklist (action).

Adjust steps 1,2, and 3 as required. Get as fancy or as simple as you want.  Don’t aim for perfect, so you’ll be flexible enough when you need to change. Works for me. What works for you?

And yes, it’s probably already covered in ‘Getting things done‘.


28
Jul

Dear Mr LinkedIn, will you show me yours if I show you mine?

I like LInkedIn a lot, and have written about the business social networking tool before, so I’m not going to repeat myself.

There is one small change I’d like them to make - you have only the black or white option of either showing , or hiding your connections.

I think there should be a third option: ‘Show mine if you show me yours’. I’ve only met a handful of people that hide their connections; I’m still happy to connect to them - I typically scan my LinkedIn list when asked to recommend people. But there’s no incentive for them to open their list - they get a free ride no matter what they choose.

It may be co-incidence, but all of the people with hidden connections make their living from their professional network (e.g. recruiters, high end management consultants).

What do you think? Are these people being business savvy, or just parasites stealing our networking time?


15
Jul

Toddle - Drogheda man about to take over the world

I thought I was good at shameless self publicity. But Alan O’Rourke is even better at it. And he’s got a great business idea in Toddle (a very easy to use tool that allows people to send out dramatic, relevant emails).
Toddle - Alan O Rourke

The above picture is from the Irish Independent writeup on Toddle. And if you want to check out Alan’s mad-take-over-the-world-ideas , he blogs at PinStripe.

I’ll almost forgive him for being from ‘the faaaaaar soide’ - that’s the Meath side of Drogheda if you don’t follow our local tradition of ignoring people from the other side of the River Boyne.


08
Jul

And now for something completely different

I’ve been very lucky in the 9 years that I’ve been working for myself. Lucky in the opportunities to travel and the people that I’ve met. Lucky in I’m doing something I love - playing with and building the latest technologies.  Lucky on the financial side of things that it’s given me a wide range of choices.

So, it’s surprised the people I’ve told that I’m now going to be doing something completely different.

Why?
No it’s not the economy. I can see the effects of the slowdown but I’m one of the most ‘low maintenance’ people I know (anybody who lives in Drogheda and drives a ‘98 Toyota isn’t exactly into bling!) I’d be ok. And the uptick (in 18months - 2 years time) is the most profitable bit of the economic cycle.

No , it’s not through lack of clients. One of the most painful parts of the decision have been the 3 prospective projects that I’ve had to turn down. The sort of ideal projects that I’d working to land for the previous 2 years.

No, it’s not through lack of choices. Two other ‘life changing’ choices I had to turn down were to scale inside a well known consultancy, or specialise in one tool and go international (you know who you are guys, thanks for making the final decision so hard :-)

So why then?
The basic reason is that I’m enjoying this now (as in big smile on Monday mornings), but can see that I might not be enjoying it in 3 years time. And chances like this one don’t come along every day. That, and I’m fascinated by the new area and people that these guys are working with.

And what you’re doing is?
This is a big change for me, so a bit nervous about it and will blog about the new job (and it is very much a job, rather than being self-employed) in due course. It will either be the very best, or very worst thing that I’ve done.

Luckily it’s still dealing with People and Technology so no need to change the blog title … and I’m still a techie at heart (in that I’ll play with the stuff even if I’m not paid to) so expect more in that area!


02
Jul

CV as TagCloud

Idea from Elly and Robin.

From Wordle (a beautiful Java Applet)


30
Jun

Collective Intelligence in Action

Don’t you hate it when you spend months (or years) working on a pet project / book / mad take over the world idea, then somebody comes out with something even better?

Yep, it’s just happened to me. Years working on the idea of the ‘Wisdom of Crowds’ (even prior to web 2.0 in the shape of Red-Piranha). Month’s working on a Masters Dissertation on applying Web 2 techniques to the Finance industry (pdf link). And somebody comes out and does it even better.

Not just better. But much much better.  The sort of better as in ‘If I had this earlier, I’d have just copied it and changed the words around a bit’. The book is available from Manning as ‘Collective Intelligence in Action‘. A free, first chapter (Understanding Collective Intelligence) is available here (pdf).

Collective Intelligence in Action

So what’s it about? We’ve all heard about the Wisdom of Crowds idea. But what if you need to actually implement it on your website? This book shows you how to (using both concepts and practical code, as well as the theory behind all of it that I was missing). It includes

Intelligent, learning search, using Lucene. Extracting data from blogs using web-crawling. Executing Real time feedback on facebook-like sites. Scalable data-mining techniques to manage the torrent of information Making personalised recommendations based on all of the information.

Disclaimer:Manning provided me with a free review copy of the book - but no strings attached. And , maybe if I’m nice enough to the Author (Satnam), I can persuade him to talk about making millions using JBoss Drools and Complex Event processing in the book.


27
Jun

Solution to Dublin Parking Crisis found

From the BBC.

How not to park your Lexus

The best quote from the news report:

The driver of the Lexus declined to be interviewed.


26
Jun

You know the Irish Economy is hurting when …

You know the Irish Economy is hurting when Sainsbury’s Supermarket in Newry (in Northern Ireland) has to close it’s doors at 7.30pm on a Saturday due to too many shoppers from the south trying to get in.

For those of you that don’t understand the above line: It’s unusual for an island as small as Ireland to be blessed / cursed with an international border running through the middle. Bad for politics , good for shoppers as it’s much cheaper to travel from the southern part (in the Euro zone) to the northern bit (where they use Sterling) to save up to half on your weekly grocery bill.

Travel to Sainsbury’s supermarket in Newry on the last Saturday before Christmas and you’ll see something just short of a riot as southern punters fight over the last bottle of (cheap) beer. But they’ve never closed the door due to too many people before - which is what happened last Saturday evening. Even more unusual in that June / July are normally very quiet months for shopping in the North.

Now discuss (in less than 100 words): Did this happen because …

Irish people are fed up with rip off prices in Dublin and are finally voting with their feet? There’s a lot of hidden pain out there - people with no money but desperate to ‘keep up appearances’? Both of the above

23
Jun

How NOT to do Web 2.0 - No Cork is not near Drogheda

Web 2.0 is great - it allows users to get involved on your website.

Allthetopbananas.com shows not how to do it. Just be lazy and not bother to tell your website that Cork is not near Drogheda (for our non-Irish-based readers, they’re at opposite ends of the country, about a 4-5hr commute!).

Why should I bother to report to you that ‘Cork is not Drogheda’ if you haven’t done your basic research and looked at the map? Save your ‘wisdom of crowds’ stuff for items that you can’t find anywhere else.


17
Jun

Barcamp Belfast 2008

In a reminder that it’s now been more than 1 year since Barcamp Dublin, Barcamp Belfast is on this Saturday, 21st June. Looks like it’s going to be bigger and better than last year’s event.

Barcamp Belfast Logo

Belfast hasn’t moved any further away from Dublin in the last 12 months, so I can safely recycle last year’s plug for the event.

For most people in Dublin , the Belfast Barcamp is nearer than the forthcoming Galway and Tipp events. It’s 2 hours by train from Dublin (with the venue pretty close to both the Central and Botanic rail stations) and about the same by Car , with Motorway for all but 15 miles of the journey.


15
Jun

How to combine Workflow and Business Rules - in 5 easy steps

Tom has a good post on the jBPM (JBoss workflow) community day held at the Guinness brewery in Dublin. Warning - slides may contain pictures of people drinking beer.

Drools jPBM Business rules presentation

How to combine (jBPM) Workflow and (Drools) Business Rules - here’s the summary. Slideset is available on this blogpost.

Workflow (e.g. JBoss jBPM) is great - it allows you to take spaghetti code and draw it as a workflow diagram (flowchart) so that it can be reviewed by the business (the nice people who pay our wages). You then attach standard (Java) actions to these steps. Only problem is when you come to a decision node (the one circled in red below): How do you decide to go left or right (in the workflow)? Normally this is coded in Java - good for us, but hidden from those nice business people (which means that this is more room for errors-in-translation). Business Rules allow you to keep those decision making rules in Plain English: When something is true , then do this. That’s it. The rule engine does most of the hard work. Integrating Workflow and Rules is easy. Use JBoss Seam (link) or do it by hand (link). And it works on non-JBoss web / app servers such as Websphere, Oracle Application Server, Tomcat and Weblogic. Repeat x6 : Use workflow and rules. Use workflow and rules …

Simple Workflow

In a maybe related development, Tom Baeyens is now using strangely Rules-y like examples over on his workflow blog ….


10
Jun

Lisbon No voter converted to YES

Update: It looks like 862,415 Irish people (53% of the electorate) don’t read this blog and voted no. Note to self: must increase blog readership. Looks like we’re all going to find out what the consequence (big or small) of a No vote is.

I don’t normally talk about politics on this blog, but this one is important , so excuse me if I make a rare exception. For readers from outside of Ireland, we’re the only country that is holding a referendum vote on the Lisbon treaty next Thursday (12th), which changes how the European Union (EU) is going to go about it’s internal business.

Like a lot of Irish people I was initally going to vote ‘No‘, partly because of unhappiness with the current political and economic outlook. Also partly by the poor ‘Yes’ campaign - loads of posters with policiticans faces, but no reasons why I should cast my vote in favour.

There’s been no official explanation of the (incomprehensible) treaty text. But the guide on RTE’s website shows the treaty changes and gives clear explanations as to what the changes mean.

European Flag

Why I’ve changed my mind to vote yes. And not because of the patronising ‘jobs jobs jobs’ or ‘laughing stock of Europe’ arguments. (For the record , I find the no campaigns scaremongering about neutrality / taxes / take-away-our-babies equally offensive). Here’s why

Europe has been good for Ireland - and not just the free roads. A large part of the peace process happened because the EU removed the differences between Ireland and Britain. I remember stopping at the customs post on the (single lane) main road between Dundalk and Newry. Very different now , with the M1 Motorway crossing what was previously ‘bandit country’. Europe has been good to me personally. I’ve been able to work (visa free) in 3 other European countries. It’s allowed me to study (with the host government paying the fees) in two more. Very different from the alternative of being an undocumented worker in the US. This is not a ‘free’ protest vote. There are consequences to voting no (maybe big, maybe small, nobody can guess at this stage). We’re not teenagers any more; it’s a big decision and should be treated as such. Without Europe, we’re more or less just a region of the UK. Before we signed up to EMU (the prequel to the Euro) in the 70’s the Irish pound was tied one-to-one to UK sterling. All economic decisions were effectively made in London. We may have only a small voice at the big European table, but it’s better that what we had previously - no voice at all.

I still think there is a lot that could be better with the EU - despite the increase in the powers of the European Parliament, the EU isn’t (yet) democratic enough. It’s far from perfect. It’s messy. But that’s life, and previous generations of Irish people would love to have a choice like this.

But what pushed me over the edge to vote yes is the Spoofers guide to the Lisbon treaty. Read it. Then decide.


05
Jun

JBoss Business Rules and jBPM Workflow presentation - Dublin

Update: Shortcut to slides (pdf, with notes following) here.

Speaking at the JBoss jBPM community day tomorrow and I’m nervous. I’m nervous because I’m standing up and talking to a group of people that really know their stuff about JBoss workflow. And talking about a project (JBoss Business rules) which has a friendly rivalry with it.

jbpm logo

So here goes

Slides in Powerpoint emailed to myself (check) Slides in PDF available online (check). Slides in Open Office on laptop ready for presentation (check)

Drools Logo
More details on the jBPM wiki if you’re interested in attending the event. Anybody give odds on the laptop bluescreen again (like what happened at the Irish Java Technologies Conference)? It’s not what happens, it’s how you deal with it.


14
May

JBoss workflow invading Dublin (Free Community Conference)

I’m not going to explain what workflow is as I’ve probably blogged enough about it already. But the JBoss Workflow (jBPM) guys are coming to Dublin on June 6th. If you’re into workflow (and if you’re doing any sort of software for large business you should be) then this is a do not miss event and we’re privileged to have it in Ireland.

The JBoss workflow guys are dream guests. They just asked for a couple of venue suggestions and they finally went for the Guinness Hopstore where Barcamp ran last year. Next thing we got was an email saying that the JBoss Workflow event was go. So for the benefit of people flying into Dublin, here’s the information we gave on where to stay and things to do if you’re making a weekend of it.

(More information on the event on Tom Baeyens Blog)

Workflow

How to get there

Dublin is pretty well served by direct flights from Europe and the US. Aer Lingus and Ryanair are the two biggest airlines flying into Dublin - but there are plenty more (list at FlightMapping.com).

Things to do

Tour of Guinness brewery and visit the Gravity bar (one of the highest in Dublin) Dublin Pub Tour and general social scene (it’s a coincidence that the first 2 items are drink related!) Tour of Scenic Wicklow Mountains and Glendalough Liffey River tour by boat Dublin Bus tour - including it’s Georgian buildings and coastline Newgrange - 2000 years older than the pyramids, in the stunning Boyne valley Windsurfing , Kayaking or Rock climbing in Viking Carlingford Fjord. Trinity College Dublin, 400 years old university , right in the city centre including the 1000 year old ‘Book of Kells’ For the more curious , Belfast is 2hrs away by express train in Northern Ireland. Get lost in Phoneix Park, the worlds largest city centre park.

Places to Stay

I don’t tend to say in Dublin hotels too much (!) but the following I know are reasonably good value (and quiet / clean)

3 of the Jury’s Inn (Christchurch is just down the road from the event location, but the IFSC and Parnell Street are also good) Academy hotel is ok, if slightly more expensive , if you’re stuck. If you want an airport location (about 20 mins / 20 Euro Taxi from the city centre) the Premier Inn chain are pretty good. Hotel Isaacs is budget but decent , central and near the main bus / train stations. Morgan hotel is where the presenters were put up for the Dublin Java conference. Central but Slightly more pricey.

For people from the community, there’s also plenty of ‘budget’ backpacker type accommodation.


29
Apr

Agile Projects Using the Spring Framework - Training

Lots of things going on behind the scenes at FirstPartners. One of which is the Spring Framework training course that we’re giving on Wed 30th May in Bewley’s Hotel, Ballsbridge, Dublin. Interested in going? - you can book here (via Trigraph). Can’t make it? We’ll probably do a follow up.

What are you missing? Apart from the crash test dummies (below), there’s loads of lego blocks, Swiss mountains, trains crashing through walls and a Kangaroo. (Spring, Geddit?). You might even learn something about Java along the way.

Agile Projects using the Spring Framework
Executive Briefing
Delivery: Public or In-house
Course Length: 0.5 days. Optional mentoring / follow up session if required by Client
Course Approach: Lecture, discussions
Level: Beginner / Intermediate

Dummies

Course Description:

Spring, with good reason, is the most actively used framework in the Enterprise Java world today. The half- day briefing shows the problems that Spring can solve for your projects, core Spring concepts such as Inversion of Control and integration with existing Enterprise Java technologies for database access, messaging and web deployment. The briefing also shows how to use Spring to make your projects more agile, improving quality and reducing deployment time.

Course Objectives:

Following completion of this course, students will be able to: Understand why Enterprise Java is the mostly widely used corporate technology, and how Spring both simplifies and improves this technology. Understand core Spring concepts such as Inversion of Control (IOC), configuration , deployment and testing. Describe how to integrate Spring with Enterprise Technologies such as Databases, Messaging and Web 2 frameworks. Understand how Spring can make your projects more agile and the benefits it brings to your organization Map out a plan of how to introduce the Spring framework to existing systems.

Course Syllabus:

Section 1: The Problems That Spring Solves

Introduction Who are you? Who are we? What is Spring? What is (Enterprise) Java? The problems with Enterprise Java Why Enterprise Java is costing you money. The Deployment Scale Java Classes and Objects Just enough XML to get by Core Spring - Inversion of Control pattern Spring Configuration and my First Spring App Deployment via Web, Enterprise Java and Command line Spring on other platforms (.Net , Ruby and Groovy) Alternatives to Spring Spring and Java 5 – easier development Starting out – just a little Spring in your Step.

Section 2: Core Spring and Enterprise Spring Integration

Spring Web Framework (MVC) Spring Web with Struts , JSF , XSLT , Tiles and GWT (Google Web Toolkit) Spring and Ajax in Web 2 Applications. Spring Webflow Spring and Databases (Hibernate and JDBC) Spring and Messaging (MQ and JMS) Spring Remoting and Web Services Aspect Orientated Programming (AOP) Transactions in Spring Appfuse – ready to roll Spring projects with Maven Administration of your Application using Spring and JMX Scheduling using Spring and Quartz Spring and Acegi Security

Section 3: Practical Spring - make your project more Agile

The problems with IT Projects What is Agile Spectrum of Agility How Spring makes your project more agile (and your customer happy) Key Agile Practices Unit Testing with Spring Integration Testing Mock Objects Spring IDE Spring and Business Rules Spring and Workflow Alternative Spring configuration. Extending Spring to meet you (obscure) needs. What’s new in Spring 2.5 (and coming up for Spring 3)

Audience:

Managers and Project Managers wishing to understand the benefits of adding Spring to their projects. Software developers needing an introduction to Java and the Spring Framework and integration with key Enterprise technologies. Support, Database , Web Designers and other IT professionals needing to interface with Spring and Enterprise Java systems. .Net developers wishing to understand the concepts behind the Spring.Net framework.

Related Courses:
Enterprise Java (Trigraph) and Agile Project Management (Trigraph)

Prerequisites:
Some high level exposure to the Java, .Net or other Object Orientated language would be beneficial but
not necessary.


13
Mar

Web2 with Java:Struts2, Spring MVC, Flex, JavaFX and Google Web Toolkit

Originally posted on the O’Reilly Books OnJava blog. 

My fellow Java Developers. Two years ago I wrote an article on ‘Web 2.0 and Enterprise Java - move over Struts‘ looking at what was likely to replace Struts 1 (then and now a de facto web standard). How did our predictions fare?

Remember that article (and this one) isn’t looking for technical best, but which is going to be a best investment of your time to learn (in a mercenary commercial sense). And if you’re deciding which to use in a project , which framework is going to be easiest to support in 5 or 10 years time?

Broadly speaking, the frameworks we talk about break into two types: those that treat the web as a set of pages, and those that treat the web as a set of components (think Visual Basic, Delphi or Oracle Forms act-a-likes).

So , what has changed in the last 2 years:

The rise of Spring. Not only has it gone mainstream, but the Spring MVC, Spring Webflow and Spring-JavaServerFaces are very powerful and widely used web frameworks. A sign of how things have changed is that for Sruts 1 the Spring guys wrote the integration for the (then) bigger Struts framework. For Struts 2 , the integration was provided by the Struts community. With the forthcoming Spring 3 release the framework is increasing momentum; More annotations and less XML in Spring MVC; Rest Web Services out of the box, support for Dynamic languages like Groovy and Spring Webflow becoming a more ‘just use it where you need it’ solution. Adobe Flex and OpenLaszlo - Flash graphical interfaces on the Web, built using Java. I don’t think these will be *the* mainstream choice but I do think the will be more than a just a niche. And for design led companies, nothing else (not even Microsoft Silverlight) can come close in terms of a user ‘wow’ factor. JavaFX and Applets done right (Jim Weaver has a good article on this). More of a competitor to Adobe Flash as both are rich content in the browser using an easily obtainable plugin. JavaFX will appeal to developers because of it’s Java like syntax. I hope I’m wrong, but for rich web content, would you put your money on Sun (an Engineering led company) or Adobe (an almost apple-like design led one)? Frustration with JSF (Java Server Faces). For the last 3 years I’ve thought that ‘*this* is the year of JSF. I’m still waiting not because of lack of demand (as web apps become more complicated and use more Ajax they become more like the JSF component based model). It’s now uphill for JSF as I (and a lot of other Developers) have given up. I’m still waiting for the ‘EJB 3′ moment when JSF becomes more simple and more usable. Remember , we ‘re not talking about technically best, but which is going to be in widespread use. Google Web Toolkit (GWT). Looking at it one way , GWT is JSF done right - a component based web framework , but one that is fast and has a lot of community support. Even then it took me a long while to warm to GWT - I’ve bad memories of web-components that hide their internals (remember Microsoft Interdev 10 years ago?) . What got me over the hump was thinking of GWT as a compiler not to Assembly or bytecode , but to Javascript and HTML.

How has Struts 2 got on in the meantime? I’m not sure. Remember , Struts 2 is very different from Struts 1. Conceptually it’s very similar to Spring MVC (Simple Java Beans based with configuration); Slightly easier to learn and maybe slightly less powerful than Spring (although both are more than capable for most Enterprise web applications.

The ‘I’m not sure’ bit comes from two (non technical) factors:

Struts 2 hasn’t achieved the massive Enterprise developer mind share that Struts 1 did. It’s a better framework, but it’s got more competition. If you’re using Spring in the middle tier, why not have one less framework and use Spring MVC (instead of Struts 2) in the presentation layer as well?

Back to the previous predictions , how did we get on?

Scenario 1: Adding Ajax to existing Struts Applications. Use AjaxAnywhere - closest to the approach taken in the article Sprinkle Some Ajax Magic into your Struts Web Application. Despite writing this article , I see the frameworks evolving rapidly to the point where you would only take such an approach for adding Ajax to ‘Legacy’ applications.

How did we do? I’d maybe widen the choice of Ajax Libraries (to include DWR , Dojo, Prototype and others) but the basic idea of evolving rather than replacing your Struts 1 app still holds true.

Scenario 2: Need Ajax Now for a new Java Application. Use Appfuse as it gives Struts, Ajax (with DWR) and the possiblity of JSF integration now, all ‘out of the box’.

How did we do? I still recommend AppFuse, as it combines (name-your-web-framework) with Spring Hibernate(and other ORM) and Maven. However I’d now tend towards choosing Spring MVC (unless you’ve a reason to use Spring 2), given that you’re probably already using Spring in the mid tier.

Scenario 3: Medium Term. Use an implementation of JSF (either MyFaces or whatever Appfuse promotes - probably Struts Shale). Struts Shale (JSF) has so far released only ‘overnight’ builds. Apache MyFaces (JSF) tool support and Ajax capabilities are likely to improve over time. Both Struts-Shale and MyFaces are likely to play well with AppFuse , making it a safe bet for investing your time checking it out.

How did we do? Struts2 and Spring both still give you migration route to JSF. But do you want it?

So out of the creative ajax-induced chaos of 2 years ago, I see 4 or 5 clear choices in Enterprise web frameworks: Struts 2 (as a follow on from Struts 1). Spring MVC, due to the huge mindshare Spring has on the mid-tier. Google Web Toolkit , both as a natural home of frustrated JSF developers , and because who’s going to argue with the people who gave us maps and mail? Flex, because Flash apps done well just look so good. And JavaFX, because Applets-haven’t-gone-away-you-know.

In my view, we would have been delighted to have any of these framworks 5 years ago. And each (for different reasons) is likely still to be popular in 5 years time. Your missions now is to pick the one that suits your project needs.


08
Mar

And the winner for best Irish business blogger is …

… Kieran from Ice Cream Ireland.

Best Business Blogger Ice Cream Ireland

Photo by rymus on pix.ie


You are viewing a mobilized version of this site...
View original page here

Mobilized by Mowser Mowser