This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Embedding kawa in a multi-threaded servlet environment (a few questions).


I am working on embedding kawa into, what will be, a
pretty heavily threaded servlet environment. I have a
few questions, as I was searching for documentation I
came accross the entry in c2 for kawa scheme.

http://c2.com/cgi/wiki?KawaScheme

Not allot of information but there is one guy there
claiming that kawa is very thread *unsafe* and I would
just like one of you guys to confirm or deny. I
suspect that sense kawa is already being used in a
servlet environment it is threadsafe, but I wouldn't
mind confermation on that.

Also what is the correct way to create an interpreter
and environment in a safe manner. I have glanced at
some examples that are included in the source to get
an idea and it looks like its done in different ways
in each example I have seen. All I need to do is
create an environment, make some java objects
available to the script and then kick off the script
by name. I would prefer that the compiled version of
the script be stored and used unless it changes, but I
have not quite figured out how to go about that yet.

Thanks,
Eric

__________________________________
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]