Post new topic   Reply to topic
Author Message
kadirb
Registered Member
Registered Member
Joined: Feb 04, 2012
Posts: 8

hello , i need to send from client to server big binary datas ,
like video and images.

I know , i can send thru Spring DSL with SOAP WebService but the problem is Base64 Encoding and Decoding sucks and slows servers in time.

Whats the fastest way to send binary data thru spring DSL Service ?
I've heard about hessian protocol :
http://hessian.caucho.com/
is it the fastest way to send binary data ?

Any limitations on sending data?
We will send many images , we need fastest solution on Spring DSL.

And my second question is ,
Can we make new Service for Spring DSL ?
Like , we have made Custom TCP protocol , thats based on pure binary.
No string and no XML.
Can we implement it on Spring DSL ?
We can use it on Spring ?
 
 View user's profile Send private message  
Reply with quote Back to top
cconway

Joined: Apr 04, 2011
Posts: 196

Hi Kadirb,

You should be able to create new services with the Spring DSL, but I recommend that if you are making major code changes like this that you do not enable the DSL. The DSL code generator tries to reverse engineer the code into the DSL model and you may encounter problems.

You should be able to use the service as a spring service If you annotate it with @Service.

Sorry but I can't answer your question about the "best" way to upload large files.

_________________
Cindy
MyEclipse for Spring Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
All times are GMT - 6 Hours
Post new topic   Reply to topic
® 2014 - Genuitec, LLC.