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, 7 months ago.

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

    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 :
    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 ?

    Profile photo of cconway

    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.