cancel
Showing results for 
Search instead for 
Did you mean: 

Deployment descriptor file(portalapp.xml)

Former Member
0 Kudos

Hi All,

Can you tell me why portalapp.xml is a xml file why cannot it be a .txt or any other ?

Accepted Solutions (1)

Accepted Solutions (1)

marcel_frei
Participant
0 Kudos

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.

Answers (4)

Answers (4)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Marcel & Priyanka,

Thank you,you have solved my problem.You answers were very helpful.

Former Member
0 Kudos

Hello,

could anyone tell me where I can find these xml-files and how can I access to them? What do I need for access?

Thanks

Regards

Philipp

Former Member
0 Kudos

it will inside every PAR file and you can find all the par files under

System Administration-support-portal runtime-browse deployment-download any of those files

unzip it-under PORTAL-INF you will find the xml file

Former Member
0 Kudos

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 .