• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

InitParameter in a distibutable

 
jamel bal
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Following the SCWCD kit book:
It says
ServletContext initialization parameters are available in all of the JVMs.
Recall that ServletContext initialization parameters are specified in the
deployment descriptor.

but in the following linkclick here
it has a different idea
The parameters are local to the virtual machine (VM) in which they are created. If information needs to be shared between servlets in a distributed environment, it should be placed in a session (which migrates with the user between servers), or a store such as a database, EJB, or directory service

 
Louise Haydu
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the following statement would be corrected if you changed the word "parameters" (in bold below) to "attributes".
The parameters are local to the virtual machine (VM) in which they are created. If information needs to be shared between servlets in a distributed environment, it should be placed in a session (which migrates with the user between servers), or a store such as a database, EJB, or directory service.
[ June 19, 2003: Message edited by: Louise Haydu ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic