File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What does ? and * stand for in the deployment descriptor?

 
Drepe Trooper
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could anybody please tell me what does ? and * stand for in the deployment descriptor?
Thanks,
Drepe
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, I can certainly cover "*". When you have "*" in a deployment descriptor (at least in the sections for applying security roles to methods, or transaction attributes to methods) it means use this role for all methods in both the home and remote interfaces.
See Richard Monson-Haefel's book for a good description of this.
Kyle
------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.
 
Drepe Trooper
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sorry, I was refering to the XML-DTD and not the deployment
descriptor itself.
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
* = may appear any number of times or not at all
? = Must appear once or not at all
+ = Must appear at least once
[default] = Must appear exactly once
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic