Initial DBWS Simple structure
diff --git a/dbws/dbws.simple/.classpath b/dbws/dbws.simple/.classpath new file mode 100644 index 0000000..2784a1b --- /dev/null +++ b/dbws/dbws.simple/.classpath
@@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" output="target/classes" path="src/main/java"> + <attributes> + <attribute name="optional" value="true"/> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"> + <attributes> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="src" output="target/test-classes" path="src/test/java"> + <attributes> + <attribute name="optional" value="true"/> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"> + <attributes> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> + <attributes> + <attribute name="maven.pomderived" value="true"/> + <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/> + </attributes> + </classpathentry> + <classpathentry kind="output" path="target/classes"/> +</classpath>
diff --git a/dbws/dbws.simple/.project b/dbws/dbws.simple/.project new file mode 100644 index 0000000..85977ec --- /dev/null +++ b/dbws/dbws.simple/.project
@@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>dbws.simple</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.wst.jsdt.core.javascriptValidator</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.wst.common.project.facet.core.builder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.wst.validation.validationbuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jem.workbench.JavaEMFNature</nature> + <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.wst.common.project.facet.core.nature</nature> + <nature>org.eclipse.wst.jsdt.core.jsNature</nature> + </natures> +</projectDescription>
diff --git a/dbws/dbws.simple/.settings/.jsdtscope b/dbws/dbws.simple/.settings/.jsdtscope new file mode 100644 index 0000000..b46b920 --- /dev/null +++ b/dbws/dbws.simple/.settings/.jsdtscope
@@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" path="src/main/webapp"/> + <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/> + <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject"> + <attributes> + <attribute name="hide" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/> + <classpathentry kind="output" path=""/> +</classpath>
diff --git a/dbws/dbws.simple/.settings/org.eclipse.jdt.core.prefs b/dbws/dbws.simple/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..45a6e0e --- /dev/null +++ b/dbws/dbws.simple/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,8 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.source=1.5
diff --git a/dbws/dbws.simple/.settings/org.eclipse.m2e.core.prefs b/dbws/dbws.simple/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000..f897a7f --- /dev/null +++ b/dbws/dbws.simple/.settings/org.eclipse.m2e.core.prefs
@@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1
diff --git a/dbws/dbws.simple/.settings/org.eclipse.wst.common.component b/dbws/dbws.simple/.settings/org.eclipse.wst.common.component new file mode 100644 index 0000000..a973b07 --- /dev/null +++ b/dbws/dbws.simple/.settings/org.eclipse.wst.common.component
@@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0"> + <wb-module deploy-name="dbws.simple"> + <wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/> + <wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/> + <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/> + <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/> + <property name="context-root" value="dbws.simple"/> + <property name="java-output-path" value="/dbws.simple/target/classes"/> + </wb-module> +</project-modules>
diff --git a/dbws/dbws.simple/.settings/org.eclipse.wst.common.project.facet.core.xml b/dbws/dbws.simple/.settings/org.eclipse.wst.common.project.facet.core.xml new file mode 100644 index 0000000..d74c55e --- /dev/null +++ b/dbws/dbws.simple/.settings/org.eclipse.wst.common.project.facet.core.xml
@@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<faceted-project> + <fixed facet="wst.jsdt.web"/> + <installed facet="java" version="1.5"/> + <installed facet="jst.web" version="2.3"/> + <installed facet="wst.jsdt.web" version="1.0"/> +</faceted-project>
diff --git a/dbws/dbws.simple/.settings/org.eclipse.wst.jsdt.ui.superType.container b/dbws/dbws.simple/.settings/org.eclipse.wst.jsdt.ui.superType.container new file mode 100644 index 0000000..3bd5d0a --- /dev/null +++ b/dbws/dbws.simple/.settings/org.eclipse.wst.jsdt.ui.superType.container
@@ -0,0 +1 @@ +org.eclipse.wst.jsdt.launching.baseBrowserLibrary \ No newline at end of file
diff --git a/dbws/dbws.simple/.settings/org.eclipse.wst.jsdt.ui.superType.name b/dbws/dbws.simple/.settings/org.eclipse.wst.jsdt.ui.superType.name new file mode 100644 index 0000000..05bd71b --- /dev/null +++ b/dbws/dbws.simple/.settings/org.eclipse.wst.jsdt.ui.superType.name
@@ -0,0 +1 @@ +Window \ No newline at end of file
diff --git a/dbws/dbws.simple/README.md b/dbws/dbws.simple/README.md new file mode 100644 index 0000000..fa2675d --- /dev/null +++ b/dbws/dbws.simple/README.md
@@ -0,0 +1,6 @@ +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. + +For more DBWS examples please see: http://wiki.eclipse.org/EclipseLink/Examples/DBWS \ No newline at end of file
diff --git a/dbws/dbws.simple/pom.xml b/dbws/dbws.simple/pom.xml new file mode 100644 index 0000000..0fbf85e --- /dev/null +++ b/dbws/dbws.simple/pom.xml
@@ -0,0 +1,21 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <groupId>eclipselink.example.dbws</groupId> + <artifactId>dbws.simple</artifactId> + <packaging>war</packaging> + <version>2.4.2-SNAPSHOT</version> + <name>dbws.simple Maven Webapp</name> + <url>http://maven.apache.org</url> + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>3.8.1</version> + <scope>test</scope> + </dependency> + </dependencies> + <build> + <finalName>dbws.simple</finalName> + </build> +</project>
diff --git a/dbws/dbws.simple/src/main/webapp/WEB-INF/web.xml b/dbws/dbws.simple/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000..8e81a4d --- /dev/null +++ b/dbws/dbws.simple/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee + http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"> + <display-name>EclipseLink Simple DBWS Example</display-name> +</web-app>
diff --git a/dbws/dbws.simple/src/main/webapp/index.jsp b/dbws/dbws.simple/src/main/webapp/index.jsp new file mode 100644 index 0000000..c38169b --- /dev/null +++ b/dbws/dbws.simple/src/main/webapp/index.jsp
@@ -0,0 +1,5 @@ +<html> +<body> +<h2>Hello World!</h2> +</body> +</html>