GeWorkbench Web
From Informatics
(Difference between revisions)
(→Technologies) |
(→When new development affects the underlying database ...) |
||
(9 intermediate revisions not shown) | |||
Line 3: | Line 3: | ||
"geWorkbench Web" is a vaadin based web application and the new development of the desktop application geWorkbench. | "geWorkbench Web" is a vaadin based web application and the new development of the desktop application geWorkbench. | ||
- | Code repository: https:// | + | Code repository: https://github.com/geworkbench-group/geworkbench-web |
- | + | ===Deployment to Test Server and Production Server=== | |
+ | * [[Auto_deploy_geWorkbench_web_to_afdev]] deploy geWorkbench web to afdev as daily cron job | ||
+ | * [[Deploy_geWorkbench_web_to_production]] deploy geWorkbench web to production server | ||
+ | |||
+ | Older wiki about deployments: http://wiki.c2b2.columbia.edu/informatics/index.php/Deployment_of_geWorkbench_Web | ||
* test deployment: on afdev | * test deployment: on afdev | ||
** deployment location /ifs/data/c2b2/af_lab/cagrid/apache-tomcat-7.0.30 | ** deployment location /ifs/data/c2b2/af_lab/cagrid/apache-tomcat-7.0.30 | ||
Line 11: | Line 15: | ||
* production: on geworkbench.c2b2.columbia.edu | * production: on geworkbench.c2b2.columbia.edu | ||
** URL http://geworkbench.c2b2.columbia.edu/geworkbench/ | ** URL http://geworkbench.c2b2.columbia.edu/geworkbench/ | ||
+ | |||
+ | ===When new development affects the underlying database ...=== | ||
+ | The current procedure to make such change not impact existing data, and not demand recreating all tables: | ||
+ | # identify the tables that are created by the new development | ||
+ | # export a SQL script to create all the tables involved | ||
+ | # always keep the JPA persistence setting as 'none' | ||
+ | # execute the script on the existing database | ||
+ | |||
+ | ===Setting up eclipse workspace, and Building with maven=== | ||
+ | *https://wiki.c2b2.columbia.edu/informatics/index.php/Using_Maven_With_geWorkbench_Web geWorkbench web with maven | ||
===Technologies=== | ===Technologies=== | ||
Line 21: | Line 35: | ||
Tomcat | Tomcat | ||
+ | * http://tomcat.apache.org/tomcat-7.0-doc/RUNNING.txt essential information about setting up tomcat 7 | ||
+ | * https://www.mulesoft.com/tcat/tomcat-configuration a good, concise introduction about tomcat configuration, including links to more useful stuff | ||
JPA, ElicpseLink -> appfoundation (vaadin plugin) | JPA, ElicpseLink -> appfoundation (vaadin plugin) | ||
Line 33: | Line 49: | ||
*https://vaadin.com/wiki/-/wiki/Main/Using%20Vaadin%20with%20Maven for vaadin 6 | *https://vaadin.com/wiki/-/wiki/Main/Using%20Vaadin%20with%20Maven for vaadin 6 | ||
*https://vaadin.com/wiki/-/wiki/Main/Creating+a+Maven+project for vaadin 7 | *https://vaadin.com/wiki/-/wiki/Main/Creating+a+Maven+project for vaadin 7 | ||
- | + | ||
- | + | ||
- | + | ||
-------- | -------- | ||
====earlier documents==== | ====earlier documents==== |
Latest revision as of 19:22, 4 March 2015
Contents[hide] |
geWorkbench Web
"geWorkbench Web" is a vaadin based web application and the new development of the desktop application geWorkbench.
Code repository: https://github.com/geworkbench-group/geworkbench-web
Deployment to Test Server and Production Server
- Auto_deploy_geWorkbench_web_to_afdev deploy geWorkbench web to afdev as daily cron job
- Deploy_geWorkbench_web_to_production deploy geWorkbench web to production server
Older wiki about deployments: http://wiki.c2b2.columbia.edu/informatics/index.php/Deployment_of_geWorkbench_Web
- test deployment: on afdev
- deployment location /ifs/data/c2b2/af_lab/cagrid/apache-tomcat-7.0.30
- URL http://afdev.c2b2.columbia.edu:8082/geworkbench/
- production: on geworkbench.c2b2.columbia.edu
When new development affects the underlying database ...
The current procedure to make such change not impact existing data, and not demand recreating all tables:
- identify the tables that are created by the new development
- export a SQL script to create all the tables involved
- always keep the JPA persistence setting as 'none'
- execute the script on the existing database
Setting up eclipse workspace, and Building with maven
- https://wiki.c2b2.columbia.edu/informatics/index.php/Using_Maven_With_geWorkbench_Web geWorkbench web with maven
Technologies
Vaadin
- we depend too much (persistence and authoetication) on appfoundation plugin, which is a personal project. Better use official plugins when possible.
- authentication
Tomcat
- http://tomcat.apache.org/tomcat-7.0-doc/RUNNING.txt essential information about setting up tomcat 7
- https://www.mulesoft.com/tcat/tomcat-configuration a good, concise introduction about tomcat configuration, including links to more useful stuff
JPA, ElicpseLink -> appfoundation (vaadin plugin)
- http://www.vogella.com/articles/JavaPersistenceAPI/article.html#simple_main
- http://www.eclipse.org/eclipselink/documentation/
- http://code.google.com/p/vaadin-appfoundation/wiki/Persistence
JavaScript
Maven
- https://vaadin.com/wiki/-/wiki/Main/Using%20Vaadin%20with%20Maven for vaadin 6
- https://vaadin.com/wiki/-/wiki/Main/Creating+a+Maven+project for vaadin 7
earlier documents
GeWorkbench-Web-Initial the initiation materials of the geWorkbench web project
geWorkbench-Web Documentation early documentation of the geWorkbench web project
Slow_Response_Issue_of_geWorkbench_Web most of the issues collected there have been resolved by now