Categories
General

Google Keywords

It’s quite amazin what Google manages to put into it’s search engine. Take a look at this cheat sheet to see what you can do with the correct keywords.

Categories
Development

SOA explained (sort of)

This article over at JavaWorld tries to explain just what SOA means. It’s still fuzzy. 🙂

What it all boils down to is that it’s a buzzword for integration, and that when you provide services you should provide a separate stable interface to represent them. It doesn’t really matter if that interface is WS, EJB or Corba. What’s new for WS is that all the vendors are jumping on the bandwagon and agreeing on XML and some extra services like transactions and security.

Use integration when you need to. Forget about it the rest of the time. I shiver when I hear someone ask in a planning meeting if we should do SOA…

Categories
Development

Fast testing of EJBs

Javaworld has an article where Nader Aeinehchi uses a combination of XStream, OpenEJB and JUnit to test EJBs with a low roundtrip time of 3sec. Anyone that has worked with projects that use EJBs know that this is a relatively short time.

One of the interesting concepts of the article was actually using XStream for specifying mock data to pass the EJBs and services. I feel kind of stupid for not thinking of this before. Next time around. 🙂