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 7675433
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T16:57:41+00:00 2026-05-31T16:57:41+00:00

I understand web service provides all SOAP,WSDL support, and it stands at a higher

  • 0

I understand web service provides all SOAP,WSDL support, and it stands at a higher level than Servlet.But if I just simply wanted to expose a rest api to allow another application(client) to make a few very easy queries which can be done even via web browser.

eg. http://serverIP/getUserInfo/123
where 123 is like user’s id. Let’s just assume user info is returned as json.

Questions are:
Is there a big difference between implementing it in Servlet and Jersey?
If the client application is written in .net, does that make any difference?
Is it true that jax-ws allows you to specify the MIME type to be json while servlet’s client has to parse the result?
From performance perspective, which one is quicker? I noticed that normally, Jersey is meant not to be deployed on Tomcat while Servlet is.

  • 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-05-31T16:57:42+00:00Added an answer on May 31, 2026 at 4:57 pm

    Is there a big difference between implementing it in Servlet and
    Jersey?

    Jersey is a framework that makes it a lot easier to write Restfull services. It uses the Servlet API, so it abstracts away a lot of the low level stuff.

    You have to write a lot more code doing it using only the Servlet API, and the code has to deal with a lot of low level stuff that you can configure in a declarative way using Jersey.

    If the client application is written in .net, does that make any
    difference?

    No

    Is it true that jax-ws allows you to specify the MIME type to be json
    while servlet’s client has to parse the result?

    Jersey lets you declare the mime type using annotations, but that’s only for convenience, you still have to parse the incoming payload to check for correct mime type.

    From performance perspective, which one is quicker?

    Depends if you are able to write a faster implementation than the Jersey team. Jersey use servlets as well.

    I noticed that normally, Jersey is meant not to be deployed on Tomcat
    while Servlet is.

    Tomcat is a servlet container. Jersey uses the servlet API to communicate over HTTP. There are web-frameworks that don’t use servlets, for instance Play framework.

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

Sidebar

Related Questions

i'm trying to learn codeigniter (following a book) but don't understand why the web
This might be obvious but i just still don't understand how i'd do it
I'm developing a little web service and ran into a detail I don't understand.
I have read several posts about WSDL and SOAP but still I'm confusing the
I'm attempting to build a REST based web service that provides a currency conversion
I am creaing a soap based web service with JAXB and Spring framework to
We need to call a web service, described in a wsdl and multiple technical
I understand that Web Site Projects compile source on-the-fly, and Web Application Projects pre-compile
I'm writing a multi-threaded Java web crawler. From what I understand of the web,
I understand how to use ClickOnce and deploy an application to a web site

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.