Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

<distributable/>??

 
Poonam Agarwal
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which of the following XML elements should be present in a deployment descriptor of a web application so that it can be distributed accross multiple JVMs?(Enthuware)

1. <distributable/>
2. <distributable>true</distributable>
3. <distributed/>
4. <distributed>true</distributed>
5. <distribute>true</distribute>


The correct option is in bold. Can anybody please check on it, it is right or not??

--------------------------------------------------------------------------------------------------------------------------------
Explaination given by Enthuware is
The <distributable/> is an empty element. Its presence itself signifies that the application may be distribtued.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks fine to me. What is your doubt ?
 
Sourin K. Sen
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is correct. I too had stumbled upon that one and I had answered it wrongly. Later checked it and confirmed it.
 
Poonam Agarwal
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Christophe Verré wrote:It looks fine to me. What is your doubt ?



I guess both the options are correct..
1. <distributable/>
2. <distributable>true</distributable>


OR we need to specify one without the body??
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
distributable is an empty tag.
 
Poonam Agarwal
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ohh!! Thanks christophe
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic