on 01-28-2008 8:50 AM
Hi All,
Can you tell me why portalapp.xml is a xml file why cannot it be a .txt or any other ?
because in an xml file you have the possibility to easily structure the settings. Look at a portalapp.xml file. For example how would you structure the application-config element with all the properties in a simple text file? The text file would get unreadable. The xml file is also easier to parse and that's why it's possible to create graphical editors to handle the configuration file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Naaz,
The deployment descriptor of a PAR file is an XML file that defines the components and services contained in the PAR, including the initial configuration and the parameters that can
be modified by administrators and users. The descriptor also contains configuration information for the entire
application..So,it is deployed has portalapp.xml
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The deployment descriptor which contains the properties of the portal application is an XML form.So,it is deployed as portalapp.xml to run in webserver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Marcel & Priyanka,
Thank you,you have solved my problem.You answers were very helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In java enterprise edition deployment descriptor denotes how the web or enterprise application should be deployed. It is a directive to the deployment tool regarding the specific configuration requirements that a deployer must fulfill.
XML allows developers to set standards,helps in defining the configurations and the required information and the sequence as well and easy to parse also.
portalapp.xml ,the deployment descriptor of a PAR file defines the components and services contained in the PAR, including the initial configuration and the parameters that can be modified by administrators and users. The descriptor also contains configuration information for the entire application.
So considering the close relationship between java and xml,it makes sense to have the deployment descriptors, be it portalapp or ejb-jar.xml or any other deployment descriptor, as xml , as
these parameters and sequence becomes rather unlikely to be maintained as a text file as there has always been a .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.