Introduction
The FEWS Data Access Component (DAC) is a web application that allows Webservices to directly access the FEWS system. The DAC communicates directly with the FEWS data store component. The database is created and updated by a FEWS Operator Client system.
Webservices hosted in a Tomcat container can access the DAC and exchange data with the underlying FEWS system.
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8"?>
<clientConfiguration xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/clientConfig.xsd">
<databaseServer>
<!--jdbc url. jdbc:postgresql://host:port/database OR jdbc:oracle:thin:@//host:port/service_name OR jdbc:oracle:thin:@host:port:SID OR jdbc:oracle:thin:@TNSName OR jdbc:jtds:sqlserver://host:port/database, use DBVisualizer to test the url-->
<url>jdbc:oracle:thin:@oraclex:1521:database</url>
<user>user</user>
<!-- use F12 in explorer to encrypt password--->
<encryptedPassword>PTEROds4OabQI=</encryptedPassword>
</databaseServer>
<!-- The JMSServer section is only required for the writing of timeseries
For a read only instance this section must be omitted. -->
<jmsServer>
<appServerType>jboss</appServerType>
<appServerName>jbossx.infra.xtr.deltares.nl</appServerName>
<appServerPort>1099</appServerPort>
<rootJNDI>/wd/nz/mc00/</rootJNDI>
</jmsServer>
<localCacheSizeMB>500</localCacheSizeMB>
</clientConfiguration>
|