Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jboss Conf files

 
RoshaniG Gopal
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
In Jboss, I need to generate the tags in conf files (like jboss-web.xml). Is there any API that can create the above tags?
For eg: <security-domain>java:/jaas/jmx-console</security-domain>

I need to programatically generate the <security-domain> tag.
I have an API with which i can set/get the above tags, but i want to generate the above tags using an API.

Please help.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By API, do you mean you want to use it programatically? Would XDoclet do the job for you? Have a look at the securitydomain attribute in jbosswebxml task. This task will autogenerate the jboss-web.xml with the security-domain tag in it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic