tree: 081b270748661b5939976e45f14ce80c21da4b0d [path history] [tgz]
  1. .classpath
  2. .project
  3. .settings/
  5. builder/
  6. dbws-builder.xml
  7. pom.xml
  8. service/
  9. src/

EclipseLink DBWS: Simple Example

This simple example illustrates how EclipseLink DBWS can be used to generate a JAX-WS web service based on a very simple database schema. This example is based on:

For more DBWS examples please see:

Running the Example

  1. Download the example - Clone the examples GIT repo
  2. Configure database and application server information for use by the DBWS builder (dbws-builder.xml)
  3. Configure application server information for use by the DBWS runtime (../ The following two properties must be set according to the target application server: - - Valid values for each are: - WebLogic - org.eclipse.persistence.platform.server.wls.WebLogic_10_Platform - org.eclipse.persistence.transaction.wls.WebLogicTransactionController - GlassFish - org.eclipse.persistence.platform.server.sunas.SunAS9ServerPlatform - org.eclipse.persistence.transaction.sunas.SunAS9TransactionController - JBoss - org.eclipse.persistence.platform.server.jboss.JBossPlatform - org.eclipse.persistence.transaction.jboss.JBossTransactionController - WebSphere - org.eclipse.persistence.platform.server.was.WebSphere_7_Platform - org.eclipse.persistence.transaction.was.WebSphereTransactionController
  4. Run the Packaging: mvn package
  5. Test the generated web service by executing ‘mvn’ in the service sub-directory