Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Scout/Tutorial/3.9/webservices/Create Derby SQL Service"
m |
|||
Line 19: | Line 19: | ||
'''Password''' | '''Password''' | ||
− | The password to access the database | + | The password to access the database. |
Value: ''scout'' | Value: ''scout'' | ||
'''Jdbc Mapping Name''' | '''Jdbc Mapping Name''' | ||
+ | The JDBC connect string to access your Derby database. | ||
Value: ''jdbc:derby:C:\jaxwsDB'' | Value: ''jdbc:derby:C:\jaxwsDB'' | ||
− | + | If you have not downloaded the database yet, download it from [https://github.com/BSI-Business-Systems-Integration-AG/org.eclipsescout.demo/raw/master/jaxws/org.eclipse.scout.tutorial.jaxws.database/database/org.eclipse.scout.tutorial.jaxws.database.zip here] and copy it to a location of your choice. | |
''You can continue the [[{{BASEPAGENAME}}/Webservices_with_JAX-WS|webservices tutorial]].'' | ''You can continue the [[{{BASEPAGENAME}}/Webservices_with_JAX-WS|webservices tutorial]].'' |
Latest revision as of 02:04, 8 August 2013
The Scout documentation has been moved to https://eclipsescout.github.io/. On the server node, go to Common Services > Sql Services. Right click on the node to create a new SQL Service:
For class name, enter DerbySqlService and choose AbstractDerbySqlService as supertype:
Click finish to create the SQL service. This creates the SQL service to access your Derby database. Also, the service registration in plugin.xml of the server Plug-In is done by Scout SDK automatically.
Finally you have to configure the path to your Derby database and specify username and password. Thereto, click on the created DerbySqlService. In the Scout Property View, please change the following properties.
Username The username to access the database. Value: tutorial
Password The password to access the database. Value: scout
Jdbc Mapping Name The JDBC connect string to access your Derby database. Value: jdbc:derby:C:\jaxwsDB
If you have not downloaded the database yet, download it from here and copy it to a location of your choice.
You can continue the webservices tutorial.