We wrote a java bean that we used to call using the bean handling interface of T2K. However, since we couldn't get Java Beans to work on WT 054 we modified the bean to also work from the command line. Now we've got a bean that works well as a bean, and as an external action. As soon as the next version of witango with support for setting your own virtual machine is production, then we'll go back to using the bean.
Right now it is not packaged up for redistribution. If there is enough interest, I could package it up with some examples, of course I'll have to get permission from the boss to put it out there for anybody to use, since it wasn't written on my own personal time.
Anybody who would be interested in a filesystem bean that lists directories, creates directories, moves files, etc... let me know off the list if you're interested.
/John
Campbell Steve wrote:
Hi Bill
I have always wanted to do part of the following that you mention. The pathway that you are embarking on is quite interesting. If you do receive any info offlist, could you pass it along?
Thanks sir!
Steve Forerunners
On 6/18/03 3:25 PM, "Bill Conlon" <[EMAIL PROTECTED]> wrote:
I want to be able to manipulate directories (read directory listings and file permissions) and create/delete directories. The built-in file actions only provide file access, and don't seem to offer anything for directories.
It looks like I could use:
* a JavaScript File Object within a Script action. This is probably easiest for me to do.
* a JavaBean within a CallMethod action. This is probably the most effective in terms of server utilization, but I've never used witango methods & objects, and it's been a while since I did any Java programming (though I have found some templates online).
* use a shell script or Java applet within an external action. This would seem to require spawning a new process, hence would probably be the most expensive in terms of server utilization.
Anyone have any thoughts before I embark on this voyage?
Bill Conlon
To the Point 345 California Avenue Suite 2 Palo Alto, CA 94306
office: 650.327.2175 fax: 650.329.8335 mobile: 650.906.9929 e-mail: mailto:[EMAIL PROTECTED] web: http://www.tothept.com
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.ta
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
