protected void stopService() {
}
public void testEJBCallside() throws Exception
{
SimpleHome home = (SimpleHome)new InitialContext().lookup("ejb/test/Simple");
Simple bean = home.create();
SimpleBeanCallerInterceptor.wasCalled = false;
String value = bean.getTest();
if (!SimpleBeanCallerInterceptor.wasCalled) throw new Exception("Caller interceptor wasn't called");
if (!value.equals(SimpleBeanInterceptor.RETURN_VALUE)) throw new Exception("bean interceptor failed");