ApowerfulfeatureofTclhasalwaysbeenitsintegrationwiththeExpectlibrary(http://expect.nist.gov).AsTclhasbeenportedtotheJavaplatform(http://tcljava.sourceforge.net/)certainC-basedlibrarieshavebeenleftbehind.Expect4jisanattempttorewriteExpectinJavaandprovidebindingstotheTclJavainterpreter.T