{
public static void main(String[] args) throws Exception
{
InitialContext ctx = new InitialContext();
EntityTest test = (EntityTest) ctx.lookup("EntityTestBean/remote");
test.manyToManyCreate();
Flight one = test.findFlightById(new Long(1));
Flight two = test.findFlightById(new Long(2));