Skip to content
/ webapp Public

The Uberdust Web Application that provides a user web Interface for the data, as well as access to the database for read/write operations

Notifications You must be signed in to change notification settings

CTI-ru1/webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ÜberDust - Web/REST Interface Application
======

<dependency>
    <groupId>eu.uberdust</groupId>
    <artifactId>webapp</artifactId>
    <version>1.0</version>
</dependency>

The repository contains the following packages:


Related links


What do I need?
---------------



Latest stable version
---------------


Hibernate Configuration
======
You can configure wisedb access by providing the appropriate configuration in your local Maven settings file `~/.m2/settings.xml`:

	<settings>
        ...
        <servers>
            <server>
                <id>tomcat6</id>
                <username>tomcat</username>
                <password>tomcat321</password>
            </server>
        </servers>
    	...
		<profiles>
        	<profile>
				<id>wisedb-on-remote-host</id>
            	<properties>
                	<wisedb.hibernate.dialect>org.hibernate.dialect.MySQLDialect</wisedb.hibernate.dialect>
                	<wisedb.jdbc.connection.driver_class>com.mysql.jdbc.Driver</wisedb.jdbc.connection.driver_class>
                	<wisedb.jdbc.connection.url>jdbc:mysql://ip-on-remote-wisedb/wisdeb</wisedb.jdbc.connection.url>
                	<wisedb.jdbc.connection.username>wisedb</wisedb.jdbc.connection.username>
                	<wisedb.jdbc.connection.password>wisedbpassword</wisedb.jdbc.connection.password>
                	<wisedb.jdbc.connection.pool_size>10</wisedb.jdbc.connection.pool_size>
            	</properties>
        	</profile>
        	<profile>
        	 <id>tomcat-on-gold.cti.gr</id>
                <properties>
                        <gold.tomcat.manager.url>http://150.140.5.11:8080/manager</gold.tomcat.manager.url>
                </properties>
        	</profile>
        	<profile>
        	    <id>tomcat-on-localhost</id>
                <properties>
                        <local.tomcat.manager.url>http://localhost:8080/manager</local.tomcat.manager.url>
                </properties>
        	</profile>
		</profiles>
		<activeProfiles>
		    <activeProfile>tomcat-on-gold.cti.gr</activeProfile>
            <activeProfile>tomcat-on-localhost</activeProfile>
			<activeProfile>wisedb-on-remote-host</activeProfile>
		</activeProfiles>
		...
	</settings>

Note that you should provide two profiles one for the main sources and one for the test resources. Configuration is now stored in jar using `mvn package`.

Simple execution
======


Use in your Maven project
======




Contact
======

About

The Uberdust Web Application that provides a user web Interface for the data, as well as access to the database for read/write operations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published