Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

WSAD 5.0 - web.xml and application.xml

 
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I was reading some old threads in this forum and noticed that some people modify the web.xml and application.xml. I was wondering under what situations we have to manually modify these files.

Thanks !
 
author & internet detective
Posts: 40239
819
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dilip,
You rarely, if ever, have to modify these files directly. The graphical interfaces allow you to set most common options. There are a few unsupported ones (I don't recall which ones at the moment.)

The graphical screens are just a view for the xml files. So if you feel comfortable editing the XML directly this is fine too. Often, I find it faster to modify the XML than hunting for a certain option. It is also faster for a search and replace.
 
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Dilip,

I recently have to edit my deployment descriptor application-client.xml manually, as explained in a recent thread here to get the following result:



You MUST do it manually because wizard doesn't propose to declare Queue or Topic Connection factory as resource-env-ref, and that is the only way I have found so that the JNDI binding succeeds.

Regards,
Cyril.

[ December 18, 2004: Message edited by: cyril vidal ]
[ December 18, 2004: Message edited by: cyril vidal ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic