473,322 Members | 1,345 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

differentiate me two things .....

dmjpro
2,476 2GB
the web-container and the JVM .... plz help

thnaxxx in advance .... have a good day
Mar 22 '07 #1
7 1429
sicarie
4,677 Expert Mod 4TB
the web-container and the JVM .... plz help

thnaxxx in advance .... have a good day
The JVM, well, what have you looked for on this and where have you looked?

And, what do you think?
Mar 22 '07 #2
dmjpro
2,476 2GB
see ... here is my conception ....

JVM ... is the run time system of .class file ....

and the web-container(here srvlet-container) is reposible for .. initiating executing dynamic-web-pages (written in java related langs) and maintaining their life-cycle

when application server started then which one first gets loaded into the memory .....

here i m totaly lost ... plz explain me ..... here

thanxxx
Mar 22 '07 #3
sicarie
4,677 Expert Mod 4TB
see ... here is my conception ....

JVM ... is the run time system of .class file ....

and the web-container(here srvlet-container) is reposible for .. initiating executing dynamic-web-pages (written in java related langs) and maintaining their life-cycle

when application server started then which one first gets loaded into the memory .....

here i m totaly lost ... plz explain me ..... here

thanxxx
You explained the underlying concepts of each, but not how you thought they worked together. What do you think?
Mar 22 '07 #4
Kirit
2
The JVM runs your java code (.class)

A container (servlet, J2EE...) it a TYPE of java program that can runn special java classes and is typically also a java program itself.

The JVM is needed to run any java program, including any java based containers. Containers adhere to Suns J2EE contracts.

I hope this clears up things for you.
Mar 23 '07 #5
dmjpro
2,476 2GB
ok now i understood ... thanxxx both of u

now one more Q. is here .... once JVM started ... java based container takes the total control of executing java-based web-pages or JVM interferes
plz clear my conception here .....

one more Q. also here
if i have more than one APPs on my system then...

now suppose no application is running .... i start an application first then what happens??? after that if i start the second one then what happens??

plz clear these confusing things.... thanxxx
have a good day
Mar 23 '07 #6
sicarie
4,677 Expert Mod 4TB
ok now i understood ... thanxxx both of u

now one more Q. is here .... once JVM started ... java based container takes the total control of executing java-based web-pages or JVM interferes
plz clear my conception here .....

one more Q. also here
if i have more than one APPs on my system then...

now suppose no application is running .... i start an application first then what happens??? after that if i start the second one then what happens??

plz clear these confusing things.... thanxxx
have a good day
To answer the first part of your question, the JVM will only run the code it has been called to run (what the application server tells it to run). The JVM will leave the execution of the rest of the code (stuff it has no idea about thanks to the scope it was created with) to the application server.

As for the second part or your question, I don't understand what you are asking. What do you mean "what happens"? When? Are you asking about memory management, or threading, or what?
Mar 23 '07 #7
dmjpro
2,476 2GB
now the total picture is clear to me ....

thanxxx guyessss
Mar 23 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

13
by: jing_li | last post by:
Hi, you all, I am a newbee for php and I need your help. One of my coworker and I are both developing a webpage for our project using php. We have a copy of the same files in different location...
0
by: Chung Leong | last post by:
Q. How do I differentiate an empty string or numeric zero from false? A. Use the === operator.
13
by: dpj5754 | last post by:
Is there a simple and determinist way to make the difference between the 2 sequences: <XX></XX> and <XX/> The EndElement callback does not provide this information.
1
by: Suresh | last post by:
Hi all, Here is my code, if(event.which) keycode = event.which;//For Mozilla else keycode = event.keyCode;//For IE But my problem is, the value of keycode returns 46 for pressing...
4
by: GazK | last post by:
I have a script which takes the results of a form and updates or creates a record in a db table. So far so dull. It works fine, except when I leave certain fields blank; these are entered in the...
2
by: adam | last post by:
Hi ASP Expert, I encounter a page reload situation in ASP. It is I need a way to differentiate whether the current page - "Application_Result.asp" got reloaded itself when user click on the...
7
by: Jo | last post by:
Hi, How can i differentiate between static and dynamic allocated objects? For example: void SomeFunction1() { CObject *objectp = new CObject; CObject object;
3
by: mayur_hirpara | last post by:
Hi, I am writing a VB.NET application. It is a Windows application at the moment. The application contains a button. the click event of button perform a long running task. It needs to be started...
2
by: Hans-Joerg Unger | last post by:
Hi ! How can I differentiate nodes in an xml-schema which have the same name (see "file"-element in the example) , but different locations and meanings in the xml tree: How can i...
2
by: Peter | last post by:
Hi, I could not find a group dealing with just regular expressions. This groups seems to answer such questions. Hence I am posting it here. In my grammar, I need to differentiate between GT...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.