{
InitialContext ctx = new InitialContext();
SimpleBMPHome home1 = (SimpleBMPHome)ctx.lookup("SimpleBMP");
SimpleBMPHome home2 = (SimpleBMPHome)ctx.lookup("CompressionSimpleBMP");
SimpleBMP bmp1 = home1.create(1, "bill");
SimpleBMP bmp2 = home2.findByPrimaryKey(new Integer(1)); // should find it.
getLog().debug("");
getLog().debug("bmp1 name: " + bmp1.getName());
getLog().debug("bmp2 name: " + bmp2.getName());
getLog().debug("setting name to burke");
bmp1.setName("burke");
getLog().debug("bmp1 name: " + bmp1.getName());
getLog().debug("bmp2 name: " + bmp2.getName());
assertTrue("bmp1 " + bmp1.getName() + " == bmp2 " + bmp2.getName(), bmp1.getName().equals(bmp2.getName()));
StatelessSessionHome shome1 = (StatelessSessionHome)ctx.lookup("StatelessSession");
StatelessSessionHome shome2 = (StatelessSessionHome)ctx.lookup("CompressionStatelessSession");
StatelessSession ss1 = shome1.create();
StatelessSession ss2 = shome2.create();