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

Question about deployer

 
bhilla ratna
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does deployer use the deploytool to edit the environment enteries or edit the dd dirctly?

bhilla
 
Thomas Vezhambacheril
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That depends upon the provider
 
Ådne Brunborg
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As I understand the spec, the Deployer can only edit the environment entries and not the deployment descriptor - that is the responsibility of the Bean Provider and Application Assembler.

Section 22.3 of the EJB 2.0 spec (Deployment Descriptor / Application Assembler's responsibility) says
Each output ejb-jar file is either a deployment unit intended for the Deployer, or a partially assembled application that is intended for another Application Assembler.


Chapter 22 which details the deployment descriptor, has sections about both the Bean Provider, Application Assembler, and Container Provider responsibilities - nothing about the Deployer. Which I take to indicate that the Deployer has no responsibility for the dd, but only for the environment entries (which are read from the dd).
[ August 10, 2005: Message edited by: �dne Brunborg ]
 
Jesus Angeles
Ranch Hand
Posts: 2068
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
since env entry can be used to customize the application, then the deployer who will make your application work on the operational environment, can change the env entry value

since env entry is accessed programmatically, then its meaning is dependent on the provider.....so the bean provider or assembler must inform the deployer on what that env entry is for, so he will give appropriate value....usually via comments on the dd

just my 2 cents
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic