Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is the relationship between Application server and JVM?

A quick question that come up to my mind and I thought to post it here to clarify my inner concerns.

What is the relationship between APP server (i.e. JBoss, WebLogic etc) and JVM?

Where is APP server located; does it run within JVM?

Many Thanks!

like image 336
Simple-Solution Avatar asked Oct 10 '13 10:10

Simple-Solution


2 Answers

In the case of Java application servers, the server behaves like an extended virtual machine for running applications, transparently handling connections to the database on one side, and, often, connections to the Web client on the other.

  • Application Server vs JVM
like image 140
Masudul Avatar answered Sep 21 '22 02:09

Masudul


JVM is java run time platform on top of which every java applications runs, it can be a simple stand alone application, an applet or web application. It provides support for execution life cycle of an application. In other words any thing written in Java runs on top of this platform.

An application server is a container in which a specialized Java application, a web application, runs. It provides support for web application life cycle like Servlet and JSP life cycle management, JNDI, JMS and other supports. Actually, an application server is generally a java application running on top of JVM.

like image 37
user2866507 Avatar answered Sep 24 '22 02:09

user2866507