Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7740483
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T08:47:25+00:00 2026-06-01T08:47:25+00:00

I developed a rest service with apache CXF and Spring mvc with MySQL as

  • 0

I developed a rest service with apache CXF and Spring mvc with MySQL as back end.All the images,audio files are stored in the database(I know its a bad idea) but Its my thesis. When I was testing the response time(RESTclient plugin in fire fox! ) and the payload content being transferred for an individual request. Strange results popped out. Time taken for the XML payload was much less both in time(ms) and content length(bytes) compared to JSON. The payload contains image and audio files encoded with base64 and the compressed with GZIP in the action classes. So, can I come to a conclusion that JSON has more overheads than XML. Please shed your thoughts and experiences.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T08:47:26+00:00Added an answer on June 1, 2026 at 8:47 am

    Yes, GZIP works great on compressing textual data. When image and audio are compressed after retrieving from db, the size of the content did not vary much. So, encoding the content and then compressing it is better if you are transferring them in byte[ ].

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have developed a REST service with Apache Jersey, running on Tomcat. It works
i'm desperate. I try to move my MVC Rest service i developed in C#
I've developed a WCF service that exposes both BasicHttp and WebHttp (REST) endpoints, with
I have developed a sample WCF REST service that accepts that creates an Order
I Developed a REST Service in Jax-RS, and I have some functions that use
I have developed REST web service which is able to accept some data, load
I developed a WCF Rest service to post as add-on on Heroku. I haven't
I have developed a rest web service by using the following link http://www.c-sharpcorner.com/UploadFile/dhananjaycoder/simplerestservice11172009221218PM/simplerestservice.aspx Now,
I have developed an rest enable wcf service by using the following link http://www.c-sharpcorner.com/UploadFile/dhananjaycoder/simplerestservice11172009221218PM/simplerestservice.aspx
What is the best way to access a Rails 3 REST-ful web service, developed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.