Hi,
in principal you are able to deal with multiple schemas within one X-Application, but you are not able to generate Applications with multiple schemas.
Please, read the one post I have written before: http://tamino.forums.softwareag.com/viewtopic.php?p=14198
If I understood you right, you want to build an application with several “sub applications”. Am I right?
In this special case, you could put all common files like gifs, jpgs etc into one folder called “images”. Then you’ll create further directories for each “sub application” containing the specific JSP files.
You’ll need to modify the pathes within the JSP files.
On the main level you’ll need to adapt/create a common xapplication.xml file for the whole application.
Within the xapplication.xml file you’ll need to define all collections and schemas you need.
e.g.: /webapps/anApplication/
|–WEB-INF/…
|–images
|–sub_app_01/
| |–file1.jsp
| |–…
| |–fileN.jsp
|–sub_app_02/
| |–file1.jsp
| |–…
| |–fileN.jsp
…
|–sub_app_M/
| |–file1.jsp
| |–…
| |–fileN.jsp
|–xapplication.xml.
Within the xapplication.xml file
<collection name="collection01" variable="xappCollection01">
<schema name="customer" />
<schema name="invoice" />
</collection>
...
<collection name="collectionN" variable="xappCollectionN">
<schema name="schemaN" />
</collection>
If you want to keep every “sub application” as an individual application then you should able to
put common jar files into the /shared/lib directory to make them aware for all of your applications.
Your common files like gifs, jpgs etc. could be placed within a normal application and you need to
reference them in your applications by appsolute pathes.
By the way, whe are a little bit inquisitive
Is it able to you to tell us, what kind of application you are building?
Hope this message will help you.
Bye
Thorsten
#API-Management#webMethods#Tamino