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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T18:31:52+00:00 2026-06-05T18:31:52+00:00

I am a little confused about the roles of a java application server and

  • 0

I am a little confused about the roles of a java application server and its differences from a web server.
I found many sites explaining the same difference between the two but not to my satisfaction.
So please explain me about the two following cases:-

1)App. Server and its difference with web server:

From these two links:
Difference between an application server and a servlet container?
What is the difference between application server and web server?

web server: It handles everything through http protocol by accepting requests from clients and sending
responses to them with the help of its servlet container(e.g Apache Tomcat)
App. Server: An application server supports the whole of JavaEE like JMS,JPA,RPC etc.

Now what I am confused with is that how can I use a lot of JavaEE APIs like JMS,JPA etc. with my Tomcat
by adding their jar files in my web application ?
Does that mean that if I use an appliation server I don’t have to add those jar files?(I don’t think so)

2)The roles of an appl. server (This is very important to me)

From Wikipedia
http://en.wikipedia.org/wiki/Application_Server

An application server provides services such as security,transaction support etc.
“The term is often used for web servers which support the JavaEE” — It sounds like if we add the required jar files of JavaEE APIs a web server becomes an appl. server.What about it.

Now my question is how an application server performs the tasks of security control or transaction management by itself ?
E.g. in my web application using Spring framework I am providing security by using spring-security and transaction management by using @Transactional annotation and all those things you know.
So does the appl. server have anything to do with my security or transaction management or it has its own ways ?

Forgive my ignorance.

  • 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-05T18:31:54+00:00Added an answer on June 5, 2026 at 6:31 pm

    Using Spring, you’re in fact embedding some kind of Java EE container inside your application. But even when using Spring, if you need JTA support (because you need distributed XA transactions), you’ll need to use an additional transaction manager. If you need JMS, you’ll need to install an additional JMS broker. If you need connection pooling, you’ll need to use an additional connection pool. Sometimes it’s as simple as adding additional jars to the classpath and properties or XML files. Sometimes it’s harder.

    A Java EE app server comes with everything bundled. You have less flexibility, but you don’t need to install, configure and make everything work by yourself.

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

Sidebar

Related Questions

I'm a little confused about what is going on in Perl constructors. I found
I'm a little confused about how to properly declare a class inherited from a
I am a little confused about the setActualSize method. It appears from what I've
I'm looking to create a web.config file and I'm a little confused about which
I am a little confused about memory clean up in an ASP.NET application. I
I am a little confused about what the partial application of flip might do.
I'm little confused about controller and model in MVC framework (codeIgniter). Its clear to
I am a little confused about how to handle a web service result in
I'm a little confused about raising an event in Objective-C, I came from C#
I'm a little confused about MongoDB's read locking. How many concurrent read operations can

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.