Just a quick query as i would like to see if anyone else has had similar 
experiences as this.

Basically I am using jboss4.0.3SP1 (though the same thing appeared to be 
happending on jboss 4.0.2 as well). I have a stateless session bean which i 
expose via JBossWS using a document literal webservice.. One of the methods 
which is exposed has the potential to return a fairly large result set of xml 
(Nothing massive, a couple of hundred serialized objects and is approx. 200k in 
size. 

What i have found is that my ejb method executes in around 150ms and that 
includes the parsing of xml clobs from oracle by castor (using a mapping file) 
of the information to be returned via the webservice. It then takes JBoss Axis 
approximately 6/7 seconds to deserialize this result to send back to a SOAP 
client. The time is definitely on the deserialization. I dont really know why 
this should take so long?

I decided to try and add in a bean simlar to WSMessageEndpoint which passed in 
and returned a w3c.dom.Element object. I found deserialization.. this time 
using the ElementSerializer took just as long.. again 6/7 seconds. Finally i 
have looked into just sending XML strings back and forth to skip serialization 
on the jboss axis server totally and this seems to do the trick and everything 
is back on the client and back in objects in around 600ms. 

However, I dont want to have to do this. To me 6/7 seconds is way too long and 
is an unreasonable time to have to wait, so I think maybe I am missing 
something.. Does anyone have any ideas?



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912302#3912302

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912302


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to