Server – development environment

Forside Forum Developer discussions Server – development environment

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3908
    Ayat
    Participant

    Hello,Which development environment is the used to develop the webserver? Is it JSP or something else?When i read the documentation about the server, i understood that both openTele-citizen-server and opentele-server are placed in two physical separated servers, is it correct? Or are they placed in one physical server?What is the role of the Tomcat7 server? When we run the opentele-server we must stop the tomcat server, because they both run on port :8080. This dosen't give any sense, if we have understood the Tomcat7 and applicationsserver correct? Does the clinican and patient applicationserver run on their own Tomcat7 server?Can you explain this in detail?Thanks!

    #3949
    mikek
    Participant

    The Clinician and Citizen servers are written in Groovy using the Grails framework (Groovy translates into Java “executables”). Forgetting about the HTML citizen server which is more or less just a host for a number of webpages, then the servers are separate servers that can be run on different physical servers or they can all run on the same physical server.Grails support that you can run a server in the (grails) environment with the "grails run-app" command, this is useful to use locally on a development machine when developing the software, but is not suited for running the servers in a production environment or an environment where it is used by others than the developer developing the software.Tomcat is kind of a web server where you amongst other things can run Java programs  - hence you can make tomcat run the OpenTele servers in it.  On the 4S demo servers we have all the OpenTele servers running in the same Tomcat instance.A common way to install the servers in Tomcat, is to first generate a .war file with "grails war" (optionally including an environment specification to grails like "grails dev war", telling it to generate a development version of the code) this .war file is then copied into the tomcat webapps folder where Tomcat then automatically loads and executes it.We have a description here: http://wiki.4s-online.dk/doku.php?id=opentele2:developer:serversetup:ubuntudesktop1404 on how to set up a Tomcat instance with the three OpenTele servers (relying on a mySQL server running on the same machine).So to summarize, the OpenTele servers are run inside tomcat, not parallel to it, and all the OpenTele servers can use the same Tomcat instance.I hope the above helps.^__^Mike

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.