tomcatsample first version