A performance problem
"LiveH Chan" <[email protected]> Wed, 22 Nov 2006 21:31:45 +0800
| Newsgroups | gmane.comp.java.openamf.user |
|---|---|
| Message-ID | <001101c70e3a$905a7d90$765810ac@chenlihaost> |
I try OpenAMF in tomcat using default gateway configuration.
But it is slow sometime. My example is simple .
My example works on flash server side script under flash com 1.5v
Client sends a service request with some data. My service inserts data to
database and returns generated ID.
I find it is very slow when the gateway maps the request to appropriate java
method.
The script looks like:
Conn is a global variable for connecting.
var result = new Object ();
result.owner = this;
result.onResult = function (id)
{
if(id > 0)
{
xxxxx
}
}
var service= Conn.getService("xxx.xxx.Service", result);
service.addData(“test”);
thx.
Live Chan
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Openamf-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openamf-user