[asterisk-users] agi with java?
Lenz
lenz-ml at loway.it
Fri Jun 8 07:47:20 CDT 2007
Hello Matthew,
Java is not a great solution for AGIs because they are script you should
fire up and terminate very fast, while the overhead of launching a JVM,
loading all classes, etc, is pretty large. Also, you don't want multiple
JVMs in parallel loading everything multiple times.
This is not to say AGI is not feasible: you should look for FastAGI, where
* connects to an external server with resident proceses, and that suits
the Java model much better. Of course, if all you want to do is lookup the
callerid on mysql or something just as trivial, go for a 20-line Perl
script.
Just my two eurocents,
l.
On Thu, 07 Jun 2007 23:32:12 +0200, Matthew Pease <matt at parkinghero.com>
wrote:
> Hi all -
> Searching for java agi in the mailing list archives turns up ancient
> posts.
>
> Anyone else using java for their AGI? How well is it working &
> what are you using?
>
> My script is pretty simple, and I could write it with perl easy
> enough, but I just would feel better if I can keep most programming
> code for our system in java.
>
> Thank you-
> Matt
--
Loway Research - Home of QueueMetrics
http://queuemetrics.com
More information about the asterisk-users
mailing list