Mon
24
Jul '06
|
|
Sorry for another non-ruby post, but I’m currently very busy at work playing with JBoss 4, EJB 3, EasyMock, and a bunch of other pretty cool technologies.
I’m a big fan of EasyMock but frequently I ran into problems when code performed lookups to get resources like:
Context ctx = new InitialContext();
UserTransaction trans = (UserTransaction) ctx.lookup("UserTransaction");
trans.begin();