Re: [tcljava-dev] Question for Tcl/Expect support for Java
Brought to you by:
mdejong
From: Mo D. <md...@un...> - 2003-05-21 00:01:04
|
On Tue, 20 May 2003 22:45:34 +0000 "Mohammad islam" <mis...@ho...> wrote: > Hi: > I am new in this field. I am also not sure whether I am in the right place > to ask this question. Well, not really but there is no harm in asking. > Can any of you please help me out in this regard. My question is - we are > using libexpect (expect library for C) now in our product. Now we need to > port the code into Java. I am wandering whether there is any java package > equivalent to libexpect. I know there are some java packagaes to support Tcl > but no idea about expect support in Java. No, there is nothing like expect for Java. If someone has convinced you that you can do complex interprocess communication with plain Java, then you have been mislead. If your goal is to remove all C code from your product, then you really have a tough road ahead of you. If you instead want to move the majority of code into Java while keeping the expect code to handle interaction with other programs, then you could use Tcl Blend. You could also just write some JNI wrappers for expect C functions. I hope that helps Mo |