This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of Darcy DeClute's Scrum Master Certification Guide: The Definitive Resource for Passing the CSM and PSM Exams and have Darcy DeClute on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
Bartenders:

Doubt in servlet context & distributed enviorment

 
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have a problem in understanding the following from the spec.

SRV.3.2

Servlets in a container that were not deployed as part of a Web application are implicitly part of a �default� Web application and have a default ServletContext.In a distributed container, the default ServletContext is non-distributable and must only exist in one JVM.

how could there be a servlet in the container as not a part of a web-application.

And one more doubt emerges in my mind while reading the above.
1.what does the distributed container means here.
As i have understood " A distributed application is the one which is deployed in two containers.So there would be two JVMs one per the container."

But the above point from the spec "In a distributed container" confuses me.

Please clarify this..

Thanks
 
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
SRV.14.2.8

A �web application� is a collection of servlets and content installed under a specific subset of the server�s URL namespace such as /catalog and possibly installed via a .war file.


so a servlet outside the war file is not in a web application.

how could there be a servlet in the container as not a part of a web-application.


also from pg 329 in spec

web application, distributable: A web application that is written so that it can be deployed in a web container distributed across multiple Java virtual machines running on the same host or different hosts. The deployment descriptor for such an application uses the distributable
element.


[ September 02, 2006: Message edited by: cheenu Dev ]
 
Without subsidies, chem-ag food costs four times more than organic. Or this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic