Spring DSL Service with Hessian Protocol ?

Home Forums MyEclipse IDE Spring Development Spring DSL Service with Hessian Protocol ?

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of cconway cconway 3 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #323148
    Profile photo of kadirb
    kadirb
    Member

    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 ?

    #323776
    Profile photo of cconway
    cconway
    Member

    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.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.