summaryrefslogtreecommitdiffstats
path: root/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang
diff options
context:
space:
mode:
Diffstat (limited to 'Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang')
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/build.xml74
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/nbproject/ant-deploy.xml60
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/nbproject/build-impl.xml847
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/nbproject/genfiles.properties8
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/nbproject/private/private.properties13
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/nbproject/project.properties69
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/nbproject/project.xml30
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/src/conf/MANIFEST.MF3
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/src/conf/application-client.xml4
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/src/java/dsi/ArtikelListeTableModel.java118
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/src/java/dsi/KundenListeTableModel.java118
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/src/java/dsi/Main.form694
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/src/java/dsi/Main.java807
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/build.xml68
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/nbproject/ant-deploy.xml60
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/nbproject/build-impl.xml590
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/nbproject/genfiles.properties8
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/nbproject/private/private.properties9
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/nbproject/private/private.xml4
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/nbproject/project.properties53
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/nbproject/project.xml19
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/conf/MANIFEST.MF2
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/conf/persistence.xml10
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/adressen/AdressenBean.java43
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/adressen/AdressenRemote.java19
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/artikelManager/ArtikelManagerBean.java106
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/artikelManager/ArtikelManagerRemote.java29
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/auftragsAbwicklung/AuftragsAbwicklungBean.java70
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/auftragsAbwicklung/AuftragsAbwicklungRemote.java20
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/bestell/BestellBean.java105
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/bestell/BestellRemote.java23
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/kundenManager/KundenManagerBean.java99
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/kundenManager/KundenManagerRemote.java25
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/lager/LagerBean.java80
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/lager/LagerRemote.java22
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/lieferant/LieferantBean.java48
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/lieferant/LieferantRemote.java22
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/entities/Artikel.java112
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/entities/Kunde.java100
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/exceptions/AuftragsAbwicklungException.java22
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/exceptions/IdBereitsVergebenException.java19
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/exceptions/IllegalerWertException.java26
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/exceptions/UnbekanntesEntityException.java29
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/helper/Auftrag.java69
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/helper/AuftragsPosition.java56
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/build.xml61
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jarbin0 -> 14871 bytes
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/lib/junit/junit-3.8.2-api.zipbin0 -> 72381 bytes
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/lib/junit/junit-3.8.2.jarbin0 -> 118932 bytes
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/lib/junit_4/junit-4.1.jarbin0 -> 111092 bytes
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/lib/nblibraries-private.properties0
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/lib/nblibraries.properties8
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/nbproject/ant-deploy.xml60
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/nbproject/build-impl.xml468
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/nbproject/genfiles.properties8
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/nbproject/private/private.properties9
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/nbproject/project.properties31
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/nbproject/project.xml42
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/src/conf/MANIFEST.MF2
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/build.xml74
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/catalog.xml19
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jarbin0 -> 11178 bytes
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/FastInfoset.jarbin0 -> 287304 bytes
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/activation.jarbin0 -> 62394 bytes
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/http.jarbin0 -> 79619 bytes
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxb-api.jarbin0 -> 89193 bytes
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxb-impl.jarbin0 -> 836655 bytes
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxb-xjc.jarbin0 -> 3088762 bytes
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-2_1-api-doc.zipbin0 -> 230451 bytes
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-api.jarbin0 -> 36005 bytes
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-rt.jarbin0 -> 1109301 bytes
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-tools.jarbin0 -> 492309 bytes
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jsr173_api.jarbin0 -> 23246 bytes
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jsr181-api.jarbin0 -> 7956 bytes
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jsr250-api.jarbin0 -> 5948 bytes
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/saaj-api.jarbin0 -> 18623 bytes
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/saaj-impl.jarbin0 -> 272777 bytes
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/sjsxp.jarbin0 -> 326804 bytes
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/stax-ex.jarbin0 -> 10325 bytes
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/streambuffer.jarbin0 -> 57148 bytes
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/junit/junit-3.8.2-api.zipbin0 -> 72381 bytes
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/junit/junit-3.8.2.jarbin0 -> 118932 bytes
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/junit_4/junit-4.1.jarbin0 -> 111092 bytes
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/nblibraries-private.properties0
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/nblibraries.properties28
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/manifest.mf3
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/build-impl.xml662
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/genfiles.properties8
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/jax-ws.xml107
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/jaxws-build.xml69
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/private/private.properties2
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/private/private.xml4
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/project.properties61
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/project.xml26
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/Bestellung.java174
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/Main.java25
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/MainWindow.form139
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/MainWindow.java159
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/ArtikelManagerBean/wsdl/localhost_8080/ArtikelManagerBeanService/ArtikelManagerBean.wsdl227
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/ArtikelManagerBean/wsdl/localhost_8080/ArtikelManagerBeanService/ArtikelManagerBean.xsd_1.xsd129
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/BestellBean/wsdl/localhost_8080/BestellBeanService/BestellBean.wsdl129
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/BestellBean/wsdl/localhost_8080/BestellBeanService/BestellBean.xsd_1.xsd70
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LagerBean/wsdl/localhost_8080/LagerBeanService/LagerBean.wsdl130
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LagerBean/wsdl/localhost_8080/LagerBeanService/LagerBean.xsd_1.xsd73
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LieferantBean/wsdl/localhost_8080/LieferantBeanService/LieferantBean.wsdl59
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LieferantBean/wsdl/localhost_8080/LieferantBeanService/LieferantBean.xsd_1.xsd33
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/MindestMengeService/wsdl/localhost_8080/DSI-Andere-Webservices/MindestMengeService.wsdl36
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/MindestMengeService/wsdl/localhost_8080/DSI-Andere-Webservices/MindestMengeService.xsd_1.xsd18
-rw-r--r--Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/doc/dsi_praktikum_1_web_service_20090115.pdfbin0 -> 960313 bytes
109 files changed, 7965 insertions, 0 deletions
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/build.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/build.xml
new file mode 100644
index 0000000..d7269c2
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/build.xml
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- You may freely edit this file. See commented blocks below for -->
+<!-- some examples of how to customize the build. -->
+<!-- (If you delete it and reopen the project it will be recreated.) -->
+<!-- By default, only the Clean and Build commands use this build script. -->
+<!-- Commands such as Run, Debug, and Test only use this build script if -->
+<!-- the Compile on Save feature is turned off for the project. -->
+<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
+<!-- in the project's Project Properties dialog box.-->
+<project name="DSI-app-client" default="default" basedir=".">
+ <description>Builds, tests, and runs the project DSI-app-client.</description>
+ <import file="nbproject/build-impl.xml"/>
+ <!--
+
+ There exist several targets which are by default empty and which can be
+ used for execution of your tasks. These targets are usually executed
+ before and after some main targets. They are:
+
+ -pre-init: called before initialization of project properties
+ -post-init: called after initialization of project properties
+ -pre-compile: called before javac compilation
+ -post-compile: called after javac compilation
+ -pre-compile-single: called before javac compilation of single file
+ -post-compile-single: called after javac compilation of single file
+ -pre-compile-test: called before javac compilation of JUnit tests
+ -post-compile-test: called after javac compilation of JUnit tests
+ -pre-compile-test-single: called before javac compilation of single JUnit test
+ -post-compile-test-single: called after javac compilation of single JUunit test
+ -pre-jar: called before JAR building
+ -post-jar: called after JAR building
+ -post-clean: called after cleaning build products
+
+ (Targets beginning with '-' are not intended to be called on their own.)
+
+ Example of inserting an obfuscator after compilation could look like this:
+
+ <target name="-post-compile">
+ <obfuscate>
+ <fileset dir="${build.classes.dir}"/>
+ </obfuscate>
+ </target>
+
+ For list of available properties check the imported
+ nbproject/build-impl.xml file.
+
+
+ Another way to customize the build is by overriding existing main targets.
+ The targets of interest are:
+
+ -init-macrodef-javac: defines macro for javac compilation
+ -init-macrodef-junit: defines macro for junit execution
+ -init-macrodef-debug: defines macro for class debugging
+ -init-macrodef-java: defines macro for class execution
+ -do-jar-with-manifest: JAR building (if you are using a manifest)
+ -do-jar-without-manifest: JAR building (if you are not using a manifest)
+ run: execution of project
+ -javadoc-build: Javadoc generation
+ test-report: JUnit report generation
+
+ An example of overriding the target for project execution could look like this:
+
+ <target name="run" depends="DSI-app-client-impl.jar">
+ <exec dir="bin" executable="launcher.exe">
+ <arg file="${dist.jar}"/>
+ </exec>
+ </target>
+
+ Notice that the overridden target depends on the jar target and not only on
+ the compile target as the regular run target does. Again, for a list of available
+ properties which you can use, check the target you are overriding in the
+ nbproject/build-impl.xml file.
+
+ -->
+</project>
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/nbproject/ant-deploy.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/nbproject/ant-deploy.xml
new file mode 100644
index 0000000..28ca9b4
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/nbproject/ant-deploy.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project default="-deploy-ant" basedir=".">
+ <target name="-init-cl-deployment-env" if="deploy.ant.enabled">
+ <property file="${deploy.ant.properties.file}" />
+ <available file="${deploy.ant.docbase.dir}/WEB-INF/sun-web.xml" property="sun.web.present"/>
+ <available file="${deploy.ant.resource.dir}" property="has.setup"/>
+ <tempfile prefix="sjsas" property="sjsas.password.file" destdir="${java.io.tmpdir}"/> <!-- do not forget to delete this! -->
+ <echo message="AS_ADMIN_PASSWORD=${sjsas.password}" file="${sjsas.password.file}"/>
+ </target>
+
+ <target name="-parse-sun-web" depends="-init-cl-deployment-env" if="sun.web.present">
+ <tempfile prefix="sjsas" property="temp.sun.web" destdir="${java.io.tmpdir}"/>
+ <copy file="${deploy.ant.docbase.dir}/WEB-INF/sun-web.xml" tofile="${temp.sun.web}"/>
+ <!-- The doctype triggers resolution which can fail -->
+ <replace file="${temp.sun.web}">
+ <replacetoken><![CDATA[<!DOCTYPE]]></replacetoken>
+ <replacevalue><![CDATA[<!-- <!DOCTYPE]]></replacevalue>
+ </replace>
+ <replace file="${temp.sun.web}">
+ <replacetoken><![CDATA[<sun-web-app]]></replacetoken>
+ <replacevalue><![CDATA[--> <sun-web-app]]></replacevalue>
+ </replace>
+ <xmlproperty file="${temp.sun.web}" validate="false">
+ </xmlproperty>
+ <delete file="${temp.sun.web}"/>
+ <property name="deploy.ant.client.url" value="${sjsas.url}${sun-web-app.context-root}"/>
+ </target>
+ <target name="-add-resources" depends="-init-cl-deployment-env" if="has.setup">
+ <tempfile prefix="sjsas" property="sjsas.resources.dir" destdir="${java.io.tmpdir}"/>
+ <mkdir dir="${sjsas.resources.dir}"/>
+ <mkdir dir="${sjsas.resources.dir}/META-INF"/>
+ <property name="sjsas.resources.file" value="${sjsas.resources.dir}/META-INF/sun-resources.xml"/>
+ <copy todir="${sjsas.resources.dir}/META-INF">
+ <fileset dir="${deploy.ant.resource.dir}"/>
+ </copy>
+ <jar destfile="${deploy.ant.archive}" update="true">
+ <fileset dir="${sjsas.resources.dir}"/>
+ </jar>
+ <delete dir="${sjsas.resources.dir}"/>
+ </target>
+ <target name="-deploy-ant" depends="-parse-sun-web,-add-resources" if="deploy.ant.enabled">
+ <echo message="Deploying ${deploy.ant.archive}"/>
+ <taskdef name="sun-appserv-deploy" classname="org.apache.tools.ant.taskdefs.optional.sun.appserv.DeployTask"
+ classpath="${sjsas.root}/lib/sun-appserv-ant.jar" />
+ <sun-appserv-deploy user="${sjsas.username}"
+ passwordfile="${sjsas.password.file}"
+ host="${sjsas.host}" port="${sjsas.port}"
+ file="${deploy.ant.archive}" asinstalldir="${sjsas.root}"/>
+ <delete file="${sjsas.password.file}"/>
+ </target>
+ <target name="-undeploy-ant" depends="-init-cl-deployment-env" if="deploy.ant.enabled">
+ <taskdef name="sun-appserv-undeploy" classname="org.apache.tools.ant.taskdefs.optional.sun.appserv.UndeployTask"
+ classpath="${sjsas.root}/lib/sun-appserv-ant.jar" />
+ <sun-appserv-undeploy user="${sjsas.username}"
+ passwordfile="${sjsas.password.file}"
+ host="${sjsas.host}" port="${sjsas.port}"
+ file="${deploy.ant.archive}" asinstalldir="${sjsas.root}"/>
+ <delete file="${sjsas.password.file}"/>
+ </target>
+</project>
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/nbproject/build-impl.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/nbproject/build-impl.xml
new file mode 100644
index 0000000..a9bfc03
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/nbproject/build-impl.xml
@@ -0,0 +1,847 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *** GENERATED FROM project.xml - DO NOT EDIT ***
+ *** EDIT ../build.xml INSTEAD ***
+
+ For the purpose of easier reading the script
+ is divided into following sections:
+
+ - initialization
+ - compilation
+ - jar
+ - execution
+ - debugging
+ - javadoc
+ - junit compilation
+ - junit execution
+ - junit debugging
+ - applet
+ - cleanup
+
+ -->
+<project xmlns:carproject="http://www.netbeans.org/ns/car-project/1" basedir=".." default="default" name="DSI-app-client-impl">
+ <import file="ant-deploy.xml"/>
+ <target depends="dist,javadoc" description="Build whole project." name="default"/>
+ <!--
+ ======================
+ INITIALIZATION SECTION
+ ======================
+ -->
+ <target name="-pre-init">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="-pre-init-am">
+ <!-- Access Manager pre-initialization -->
+ </target>
+ <target depends="-pre-init" name="-init-private">
+ <property file="nbproject/private/private.properties"/>
+ </target>
+ <target depends="-pre-init,-init-private" name="-init-libraries">
+ <property location="..\.\lib\nblibraries.properties" name="libraries.1.path"/>
+ <dirname file="${libraries.1.path}" property="libraries.1.dir.nativedirsep"/>
+ <pathconvert dirsep="/" property="libraries.1.dir">
+ <path path="${libraries.1.dir.nativedirsep}"/>
+ </pathconvert>
+ <basename file="${libraries.1.path}" property="libraries.1.basename" suffix=".properties"/>
+ <touch file="${libraries.1.dir}/${libraries.1.basename}-private.properties"/>
+ <loadproperties srcfile="${libraries.1.dir}/${libraries.1.basename}-private.properties">
+ <filterchain>
+ <replacestring from="$${base}" to="${libraries.1.dir}"/>
+ </filterchain>
+ </loadproperties>
+ <loadproperties srcfile="${libraries.1.path}">
+ <filterchain>
+ <replacestring from="$${base}" to="${libraries.1.dir}"/>
+ </filterchain>
+ </loadproperties>
+ </target>
+ <target depends="-pre-init,-init-private,-init-libraries" name="-init-user">
+ <property file="${user.properties.file}"/>
+ <!-- The two properties below are usually overridden -->
+ <!-- by the active platform. Just a fallback. -->
+ <property name="default.javac.source" value="1.4"/>
+ <property name="default.javac.target" value="1.4"/>
+ </target>
+ <target depends="-pre-init,-init-private,-init-libraries,-init-user" name="-init-project">
+ <property file="nbproject/project.properties"/>
+ </target>
+ <target depends="-pre-init,-init-private,-init-libraries,-init-user,-init-project,-init-macrodef-property" name="-do-init">
+ <condition property="have.tests">
+ <or>
+ <available file="${test.src.dir}"/>
+ </or>
+ </condition>
+ <condition property="have.sources">
+ <or>
+ <available file="${src.dir}"/>
+ </or>
+ </condition>
+ <condition property="netbeans.home+have.tests">
+ <and>
+ <isset property="netbeans.home"/>
+ <isset property="have.tests"/>
+ </and>
+ </condition>
+ <condition property="no.javadoc.preview">
+ <isfalse value="${javadoc.preview}"/>
+ </condition>
+ <property name="javac.compilerargs" value=""/>
+ <property name="work.dir" value="${basedir}"/>
+ <condition property="no.deps">
+ <and>
+ <istrue value="${no.dependencies}"/>
+ </and>
+ </condition>
+ <property name="javac.debug" value="true"/>
+ <property name="javadoc.preview" value="true"/>
+ <available file="${meta.inf}/MANIFEST.MF" property="has.custom.manifest"/>
+ <condition property="classes.dir" value="${build.ear.classes.dir}">
+ <isset property="dist.ear.dir"/>
+ </condition>
+ <property name="classes.dir" value="${build.classes.dir}"/>
+ <condition property="no.deps">
+ <and>
+ <istrue value="${no.dependencies}"/>
+ </and>
+ </condition>
+ <condition property="no.dist.ear.dir">
+ <not>
+ <isset property="dist.ear.dir"/>
+ </not>
+ </condition>
+ <condition property="do.display.browser">
+ <istrue value="${display.browser}"/>
+ </condition>
+ <condition else="" property="application.args.param" value="${application.args}">
+ <and>
+ <isset property="application.args"/>
+ <not>
+ <equals arg1="${application.args}" arg2="" trim="true"/>
+ </not>
+ </and>
+ </condition>
+ <condition else="" property="run.jvmargs.param" value="${run.jvmargs}">
+ <and>
+ <isset property="run.jvmargs"/>
+ <not>
+ <equals arg1="${run.jvmargs}" arg2="" trim="true"/>
+ </not>
+ </and>
+ </condition>
+ <property name="source.encoding" value="${file.encoding}"/>
+ <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
+ <and>
+ <isset property="javadoc.encoding"/>
+ <not>
+ <equals arg1="${javadoc.encoding}" arg2=""/>
+ </not>
+ </and>
+ </condition>
+ <property name="javadoc.encoding.used" value="${source.encoding}"/>
+ <property name="includes" value="**"/>
+ <property name="excludes" value=""/>
+ <condition else="" property="javac.compilerargs.jaxws" value="-Djava.endorsed.dirs='${jaxws.endorsed.dir}'">
+ <and>
+ <isset property="jaxws.endorsed.dir"/>
+ <available file="nbproject/jaxws-build.xml"/>
+ </and>
+ </condition>
+ </target>
+ <target name="-post-init">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="-pre-init,-init-private,-init-libraries,-init-user,-init-project,-do-init" name="-init-check">
+ <fail unless="src.dir">Must set src.dir</fail>
+ <fail unless="test.src.dir">Must set test.src.dir</fail>
+ <fail unless="build.dir">Must set build.dir</fail>
+ <fail unless="dist.dir">Must set dist.dir</fail>
+ <fail unless="build.classes.dir">Must set build.classes.dir</fail>
+ <fail unless="build.generated.dir">Must set build.generated.dir</fail>
+ <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
+ <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
+ <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
+ <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
+ <fail unless="dist.jar">Must set dist.jar</fail>
+ <fail unless="j2ee.platform.classpath">
+The Java EE server classpath is not correctly set up. Your active server type is ${j2ee.server.type}.
+Either open the project in the IDE and assign the server or setup the server classpath manually.
+For example like this:
+ ant -Duser.properties.file=&lt;path_to_property_file&gt; (where you put the property "j2ee.platform.classpath" in a .properties file)
+or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties file is used)
+ </fail>
+ </target>
+ <target name="-init-macrodef-property">
+ <macrodef name="property" uri="http://www.netbeans.org/ns/car-project/1">
+ <attribute name="name"/>
+ <attribute name="value"/>
+ <sequential>
+ <property name="@{name}" value="${@{value}}"/>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-macrodef-javac">
+ <macrodef name="javac" uri="http://www.netbeans.org/ns/car-project/1">
+ <attribute default="${src.dir}" name="srcdir"/>
+ <attribute default="${build.classes.dir}" name="destdir"/>
+ <attribute default="${javac.classpath}:${j2ee.platform.classpath}" name="classpath"/>
+ <attribute default="${includes}" name="includes"/>
+ <attribute default="${excludes}" name="excludes"/>
+ <attribute default="${javac.debug}" name="debug"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" includeantruntime="false" includes="@{includes}" source="${javac.source}" srcdir="@{srcdir}" target="${javac.target}">
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ <compilerarg line="${javac.compilerargs} ${javac.compilerargs.jaxws}"/>
+ <customize/>
+ </javac>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-macrodef-junit">
+ <macrodef name="junit" uri="http://www.netbeans.org/ns/car-project/1">
+ <attribute default="${includes}" name="includes"/>
+ <attribute default="${excludes}" name="excludes"/>
+ <attribute default="**" name="testincludes"/>
+ <sequential>
+ <junit dir="${basedir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true">
+ <batchtest todir="${build.test.results.dir}">
+ <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ </batchtest>
+ <classpath>
+ <path path="${run.test.classpath}"/>
+ <path path="${j2ee.platform.classpath}"/>
+ </classpath>
+ <syspropertyset>
+ <propertyref prefix="test-sys-prop."/>
+ <mapper from="test-sys-prop.*" to="*" type="glob"/>
+ </syspropertyset>
+ <formatter type="brief" usefile="false"/>
+ <formatter type="xml"/>
+ <jvmarg line="${run.jvmargs.param}"/>
+ </junit>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-macrodef-java">
+ <macrodef name="java" uri="http://www.netbeans.org/ns/car-project/1">
+ <attribute default="${main.class}" name="classname"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <java classname="@{classname}" dir="${work.dir}" fork="true">
+ <jvmarg line="${j2ee.appclient.tool.jvmoptions}"/>
+ <jvmarg line="${run.jvmargs.param}"/>
+ <classpath>
+ <path path="${dist.jar}:${javac.classpath}:${j2ee.platform.classpath}:${j2ee.appclient.tool.runtime}"/>
+ </classpath>
+ <syspropertyset>
+ <propertyref prefix="run-sys-prop."/>
+ <mapper from="run-sys-prop.*" to="*" type="glob"/>
+ </syspropertyset>
+ <customize/>
+ </java>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
+ <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/car-project/1">
+ <attribute default="${main.class}" name="name"/>
+ <attribute default="${debug.classpath}" name="classpath"/>
+ <attribute default="" name="stopclassname"/>
+ <sequential>
+ <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ </nbjpdastart>
+ </sequential>
+ </macrodef>
+ <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/car-project/1">
+ <attribute default="${build.classes.dir}" name="dir"/>
+ <sequential>
+ <nbjpdareload>
+ <fileset dir="@{dir}" includes="${fix.classes}">
+ <include name="${fix.includes}*.class"/>
+ </fileset>
+ </nbjpdareload>
+ </sequential>
+ </macrodef>
+ <macrodef name="nbjpdaappreloaded" uri="http://www.netbeans.org/ns/web-project/1">
+ <sequential>
+ <nbjpdaappreloaded/>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-debug-args">
+ <property name="version-output" value="java version &quot;${ant.java.version}"/>
+ <condition property="have-jdk-older-than-1.4">
+ <or>
+ <contains string="${version-output}" substring="java version &quot;1.0"/>
+ <contains string="${version-output}" substring="java version &quot;1.1"/>
+ <contains string="${version-output}" substring="java version &quot;1.2"/>
+ <contains string="${version-output}" substring="java version &quot;1.3"/>
+ </or>
+ </condition>
+ <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
+ <istrue value="${have-jdk-older-than-1.4}"/>
+ </condition>
+ <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
+ <os family="windows"/>
+ </condition>
+ <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
+ <isset property="debug.transport"/>
+ </condition>
+ </target>
+ <target depends="-init-debug-args" name="-init-macrodef-debug">
+ <macrodef name="debug" uri="http://www.netbeans.org/ns/car-project/1">
+ <attribute default="${main.class}" name="classname"/>
+ <attribute default="${debug.classpath}" name="classpath"/>
+ <element name="customize" optional="true"/>
+ <attribute default="${application.args.param}" name="args"/>
+ <sequential>
+ <java classname="@{classname}" dir="${work.dir}" fork="true">
+ <jvmarg line="${debug-args-line}"/>
+ <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
+ <jvmarg line="${run.jvmargs.param}"/>
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ <syspropertyset>
+ <propertyref prefix="run-sys-prop."/>
+ <mapper from="run-sys-prop.*" to="*" type="glob"/>
+ </syspropertyset>
+ <arg line="@{args}"/>
+ <customize/>
+ </java>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-debug-args" name="-init-macrodef-debug-appclient">
+ <macrodef name="debug-appclient" uri="http://www.netbeans.org/ns/car-project/1">
+ <attribute name="mainclass"/>
+ <attribute default="${debug.classpath}" name="classpath"/>
+ <element name="customize" optional="true"/>
+ <attribute default="${application.args.param}" name="args"/>
+ <sequential>
+ <parallel>
+ <java classname="@{mainclass}" dir="${work.dir}" fork="true">
+ <jvmarg line="${j2ee.appclient.tool.jvmoptions}"/>
+ <jvmarg line="${debug-args-line}"/>
+ <jvmarg value="-Xrunjdwp:transport=${jpda.transport},server=y,address=${jpda.address},suspend=y"/>
+ <jvmarg line="${run.jvmargs.param}"/>
+ <arg line="@{args}"/>
+ <classpath>
+ <path path="${javac.classpath}:${j2ee.platform.classpath}:${j2ee.appclient.tool.runtime}"/>
+ <path path="@{classpath}"/>
+ </classpath>
+ <syspropertyset>
+ <propertyref prefix="run-sys-prop."/>
+ <mapper from="run-sys-prop.*" to="*" type="glob"/>
+ </syspropertyset>
+ <customize/>
+ </java>
+ <nbjpdaconnect address="${jpda.address}" host="${jpda.host}" name="${name}" transport="${jpda.transport}">
+ <classpath>
+ <path path="${javac.classpath}:${j2ee.platform.classpath}:${j2ee.appclient.tool.runtime}"/>
+ <path path="@{classpath}"/>
+ </classpath>
+ <sourcepath>
+ <path path="${src.dir}"/>
+ </sourcepath>
+ </nbjpdaconnect>
+ </parallel>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-taskdefs">
+ <fail unless="libs.CopyLibs.classpath">
+The libs.CopyLibs.classpath property is not set up.
+This property must point to
+org-netbeans-modules-java-j2seproject-copylibstask.jar file which is part
+of NetBeans IDE installation and is usually located at
+&lt;netbeans_installation&gt;/java&lt;version&gt;/ant/extra folder.
+Either open the project in the IDE and make sure CopyLibs library
+exists or setup the property manually. For example like this:
+ ant -Dlibs.CopyLibs.classpath=a/path/to/org-netbeans-modules-java-j2seproject-copylibstask.jar
+ </fail>
+ <taskdef classpath="${libs.CopyLibs.classpath}" resource="org/netbeans/modules/java/j2seproject/copylibstask/antlib.xml"/>
+ </target>
+ <target depends="-pre-init,-pre-init-am,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-junit,-init-macrodef-java,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-debug-appclient,-init-taskdefs" name="init"/>
+ <!--
+ ===================
+ COMPILATION SECTION
+ ===================
+ -->
+ <target name="-check-main-class">
+ <fail>
+ Main class must be set. Go to DSI-app-client project properties -&gt; Run and set the main class there.
+ <condition>
+ <not>
+ <or>
+ <isset property="dist.ear.dir"/>
+ <isset property="main.class"/>
+ </or>
+ </not>
+ </condition>
+ </fail>
+ </target>
+ <target depends="init" if="no.dist.ear.dir" name="-deps-module-jar" unless="no.deps">
+ <ant antfile="${project.DSI-ejb}/build.xml" inheritall="false" target="dist"/>
+ </target>
+ <target depends="init" if="dist.ear.dir" name="-deps-ear-jar" unless="no.deps">
+ <ant antfile="${project.DSI-ejb}/build.xml" inheritall="false" target="dist-ear">
+ <property location="${build.dir}" name="dist.ear.dir"/>
+ </ant>
+ </target>
+ <target depends="init, -check-main-class, -deps-module-jar, -deps-ear-jar" name="deps-jar"/>
+ <target depends="init,deps-jar" name="-pre-pre-compile">
+ <mkdir dir="${classes.dir}"/>
+ </target>
+ <target name="-pre-compile">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="compile" name="library-inclusion-in-archive">
+ <mkdir dir="${build.classes.dir}/META-INF/lib"/>
+ <copyfiles files="${reference.DSI-ejb.dist}" todir="${build.classes.dir}/META-INF/lib"/>
+ </target>
+ <target depends="compile" if="dist.ear.dir" name="library-inclusion-in-manifest">
+ <copyfiles files="${reference.DSI-ejb.dist}" manifestproperty="manifest.reference.DSI-ejb.dist" todir="${dist.ear.dir}"/>
+ <manifest file="${build.ear.classes.dir}/META-INF/MANIFEST.MF" mode="update">
+ <attribute name="Class-Path" value="${manifest.reference.DSI-ejb.dist} "/>
+ </manifest>
+ </target>
+ <target name="-copy-meta-inf">
+ <copy todir="${classes.dir}">
+ <fileset dir="${meta.inf}" includes="**/*.dbschema"/>
+ </copy>
+ <copy todir="${classes.dir}/META-INF">
+ <fileset dir="${meta.inf}" excludes="**/*.dbschema **/xml-resources/** ${meta.inf.excludes}"/>
+ </copy>
+ </target>
+ <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-copy-meta-inf" if="have.sources" name="-do-compile">
+ <carproject:javac destdir="${classes.dir}"/>
+ <copy todir="${classes.dir}">
+ <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ </copy>
+ </target>
+ <target name="-post-compile">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
+ <target name="-pre-compile-single">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
+ <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
+ <carproject:javac excludes="" includes="${javac.includes}"/>
+ </target>
+ <target name="-post-compile-single">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
+ <!--
+ ====================
+ DIST BUILDING SECTION
+ ====================
+ -->
+ <target depends="init" name="-pre-pre-dist">
+ <dirname file="${dist.jar}" property="dist.jar.dir"/>
+ <mkdir dir="${dist.jar.dir}"/>
+ </target>
+ <target name="-pre-dist">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,compile,-pre-dist,library-inclusion-in-archive" if="has.custom.manifest" name="-do-dist-with-manifest">
+ <dirname file="${dist.jar}" property="dist.jar.dir"/>
+ <mkdir dir="${dist.jar.dir}"/>
+ <manifest file="${build.classes.dir}/META-INF/MANIFEST.MF" mode="update">
+ <attribute name="Main-Class" value="${main.class}"/>
+ </manifest>
+ <jar compress="${jar.compress}" jarfile="${dist.jar}" manifest="${build.classes.dir}/META-INF/MANIFEST.MF">
+ <fileset dir="${build.classes.dir}"/>
+ </jar>
+ </target>
+ <target depends="init,compile,-pre-dist,library-inclusion-in-archive" name="-do-dist-without-manifest" unless="has.custom.manifest">
+ <dirname file="${dist.jar}" property="dist.jar.dir"/>
+ <mkdir dir="${dist.jar.dir}"/>
+ <jar compress="${jar.compress}" jarfile="${dist.jar}">
+ <fileset dir="${build.classes.dir}"/>
+ </jar>
+ </target>
+ <target depends="init,compile,-pre-dist" if="has.custom.manifest" name="-do-ear-dist-with-manifest">
+ <dirname file="${dist.ear.jar}" property="dist.jar.dir"/>
+ <mkdir dir="${dist.jar.dir}"/>
+ <manifest file="${build.ear.classes.dir}/META-INF/MANIFEST.MF" mode="update">
+ <attribute name="Main-Class" value="${main.class}"/>
+ </manifest>
+ <jar compress="${jar.compress}" jarfile="${dist.ear.jar}" manifest="${build.ear.classes.dir}/META-INF/MANIFEST.MF">
+ <fileset dir="${build.ear.classes.dir}"/>
+ </jar>
+ </target>
+ <target depends="init,compile,-pre-dist" name="-do-ear-dist-without-manifest" unless="has.custom.manifest">
+ <dirname file="${dist.ear.jar}" property="dist.jar.dir"/>
+ <mkdir dir="${dist.jar.dir}"/>
+ <jar compress="${jar.compress}" jarfile="${dist.ear.jar}">
+ <fileset dir="${build.ear.classes.dir}"/>
+ </jar>
+ </target>
+ <target depends="init,compile,-pre-dist,library-inclusion-in-archive,-do-dist-without-manifest,-do-dist-with-manifest" name="-do-dist"/>
+ <target depends="init,compile,-pre-dist,library-inclusion-in-manifest,-do-ear-dist-without-manifest,-do-ear-dist-with-manifest" name="-do-ear-dist"/>
+ <target name="-post-dist">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,compile,-pre-dist,-do-dist,-post-dist" description="Build distribution (JAR)." name="dist"/>
+ <target depends="init,compile,-pre-dist,-do-ear-dist,-post-dist" description="Build distribution (JAR) to be packaged into an EAR." name="dist-ear"/>
+ <!--
+ =================
+ EXECUTION SECTION
+ =================
+ -->
+ <target depends="dist,run-deploy,run-tool,run-jar,run-display-browser" description="Run a main class." name="run"/>
+ <target depends="init" description="Run a main class." if="j2ee.clientName" name="run-jar" unless="j2ee.appclient.mainclass.args">
+ <carproject:java classname="${main.class}">
+ <customize>
+ <arg line="${application.args.param}"/>
+ </customize>
+ </carproject:java>
+ </target>
+ <target depends="init,-as-retrieve-option-workaround" description="Run a main class." if="j2ee.appclient.mainclass.args" name="run-tool" unless="j2ee.clientName">
+ <java classname="${j2ee.appclient.tool.mainclass}" dir="${work.dir}" fork="true">
+ <jvmarg line="${j2ee.appclient.tool.jvmoptions}"/>
+ <jvmarg line="${run.jvmargs.param}"/>
+ <arg line="${j2ee.appclient.tool.args}"/>
+ <arg line="-client ${client.jar}"/>
+ <arg line="${application.args.param}"/>
+ <classpath>
+ <path path="${javac.classpath}:${j2ee.platform.classpath}:${j2ee.appclient.tool.runtime}"/>
+ </classpath>
+ <syspropertyset>
+ <propertyref prefix="run-sys-prop."/>
+ <mapper from="run-sys-prop.*" to="*" type="glob"/>
+ </syspropertyset>
+ </java>
+ </target>
+ <target depends="init,compile-single" name="run-single">
+ <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
+ <carproject:java classname="${run.class}"/>
+ </target>
+ <target if="j2ee.appclient.mainclass.args" name="-as-retrieve-option-workaround" unless="j2ee.clientName">
+ <property name="client.jar" value="${dist.dir}/DSI-app-clientClient.jar"/>
+ <sleep seconds="3"/>
+ <copy file="${wa.copy.client.jar.from}/DSI-app-client/DSI-app-clientClient.jar" todir="${dist.dir}"/>
+ </target>
+ <target name="pre-run-deploy">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="post-run-deploy">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="-pre-nbmodule-run-deploy">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- This target can be overriden by NetBeans modules. Don't override it directly, use -pre-run-deploy task instead. -->
+ </target>
+ <target name="-post-nbmodule-run-deploy">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- This target can be overriden by NetBeans modules. Don't override it directly, use -post-run-deploy task instead. -->
+ </target>
+ <target name="-run-deploy-am">
+ <!-- Task to deploy to the Access Manager runtime. -->
+ </target>
+ <target depends="init,compile,dist,pre-run-deploy,-pre-nbmodule-run-deploy,-run-deploy-nb,-init-deploy-ant,-deploy-ant,-run-deploy-am,-post-nbmodule-run-deploy,post-run-deploy" name="run-deploy">
+ <nbjpdaappreloaded/>
+ </target>
+ <target if="netbeans.home" name="-run-deploy-nb">
+ <nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>
+ </target>
+ <target name="-init-deploy-ant" unless="netbeans.home">
+ <property name="deploy.ant.archive" value="${dist.jar}"/>
+ <property name="deploy.ant.resource.dir" value="${resource.dir}"/>
+ <property name="deploy.ant.enabled" value="true"/>
+ </target>
+ <target depends="init,-run-undeploy-nb,-init-deploy-ant,-undeploy-ant" name="run-undeploy"/>
+ <target if="netbeans.home" name="-run-undeploy-nb">
+ <fail message="Undeploy is not supported from within the IDE"/>
+ </target>
+ <target depends="run-deploy,-init-display-browser,-display-browser-nb,-display-browser-cl" name="run-display-browser"/>
+ <target if="do.display.browser" name="-init-display-browser">
+ <condition property="do.display.browser.nb">
+ <isset property="netbeans.home"/>
+ </condition>
+ <condition property="do.display.browser.cl">
+ <and>
+ <isset property="deploy.ant.enabled"/>
+ <isset property="deploy.ant.client.url"/>
+ </and>
+ </condition>
+ </target>
+ <target if="do.display.browser.nb" name="-display-browser-nb">
+ <nbbrowse url="${client.url}"/>
+ </target>
+ <target if="do.display.browser.cl" name="-get-browser" unless="browser">
+ <condition property="browser" value="rundll32">
+ <os family="windows"/>
+ </condition>
+ <condition else="" property="browser.args" value="url.dll,FileProtocolHandler">
+ <os family="windows"/>
+ </condition>
+ <condition property="browser" value="/usr/bin/open">
+ <os family="mac"/>
+ </condition>
+ <property environment="env"/>
+ <condition property="browser" value="${env.BROWSER}">
+ <isset property="env.BROWSER"/>
+ </condition>
+ <condition property="browser" value="/usr/bin/firefox">
+ <available file="/usr/bin/firefox"/>
+ </condition>
+ <condition property="browser" value="/usr/local/firefox/firefox">
+ <available file="/usr/local/firefox/firefox"/>
+ </condition>
+ <condition property="browser" value="/usr/bin/mozilla">
+ <available file="/usr/bin/mozilla"/>
+ </condition>
+ <condition property="browser" value="/usr/local/mozilla/mozilla">
+ <available file="/usr/local/mozilla/mozilla"/>
+ </condition>
+ <condition property="browser" value="/usr/sfw/lib/firefox/firefox">
+ <available file="/usr/sfw/lib/firefox/firefox"/>
+ </condition>
+ <condition property="browser" value="/opt/csw/bin/firefox">
+ <available file="/opt/csw/bin/firefox"/>
+ </condition>
+ <condition property="browser" value="/usr/sfw/lib/mozilla/mozilla">
+ <available file="/usr/sfw/lib/mozilla/mozilla"/>
+ </condition>
+ <condition property="browser" value="/opt/csw/bin/mozilla">
+ <available file="/opt/csw/bin/mozilla"/>
+ </condition>
+ </target>
+ <target depends="-get-browser" if="do.display.browser.cl" name="-display-browser-cl">
+ <fail unless="browser">
+ Browser not found, cannot launch the deployed application. Try to set the BROWSER environment variable.
+ </fail>
+ <property name="browse.url" value="${deploy.ant.client.url}${client.urlPart}"/>
+ <echo>Launching ${browse.url}</echo>
+ <exec executable="${browser}" spawn="true">
+ <arg line="${browser.args} ${browse.url}"/>
+ </exec>
+ </target>
+ <target depends="dist" name="verify">
+ <nbverify file="${dist.jar}"/>
+ </target>
+ <target depends="init,compile-single" name="run-main">
+ <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
+ <carproject:java classname="${run.class}"/>
+ </target>
+ <!--
+ =================
+ DEBUGGING SECTION
+ =================
+ -->
+ <target depends="init" if="netbeans.home" name="-debug-start-debugger">
+ <carproject:nbjpdastart name="${debug.class}"/>
+ </target>
+ <target depends="init,compile" name="-debug-start-debuggee">
+ <carproject:debug>
+ <customize>
+ <arg line="${application.args.param}"/>
+ </customize>
+ </carproject:debug>
+ </target>
+ <target if="j2ee.clientName" name="debug-jar" unless="j2ee.appclient.mainclass.args">
+ <carproject:debug-appclient args="${application.args.param}" mainclass="${main.class}"/>
+ </target>
+ <target depends="init,-as-retrieve-option-workaround" if="j2ee.appclient.mainclass.args" name="debug-tool" unless="j2ee.clientName">
+ <carproject:debug-appclient args="${j2ee.appclient.mainclass.args} ${application.args.param}" mainclass="${j2ee.appclient.tool.mainclass}"/>
+ </target>
+ <target depends="init,compile,run-deploy,debug-tool,debug-jar" description="Debug project in IDE." if="netbeans.home" name="debug"/>
+ <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
+ <carproject:nbjpdastart stopclassname="${main.class}"/>
+ </target>
+ <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
+ <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
+ <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
+ <carproject:debug classname="${debug.class}"/>
+ </target>
+ <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
+ <target depends="init" name="-pre-debug-fix">
+ <fail unless="fix.includes">Must set fix.includes</fail>
+ <property name="javac.includes" value="${fix.includes}.java"/>
+ </target>
+ <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
+ <carproject:nbjpdareload/>
+ </target>
+ <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
+ <!--
+ ===============
+ JAVADOC SECTION
+ ===============
+ -->
+ <target depends="init" name="-javadoc-build">
+ <mkdir dir="${dist.javadoc.dir}"/>
+ <javadoc additionalparam="${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}">
+ <classpath>
+ <path path="${javac.classpath}:${j2ee.platform.classpath}:${j2ee.appclient.tool.runtime}"/>
+ </classpath>
+ <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/*.java"/>
+ </fileset>
+ </javadoc>
+ </target>
+ <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
+ <nbbrowse file="${dist.javadoc.dir}/index.html"/>
+ </target>
+ <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
+ <!--
+ =========================
+ JUNIT COMPILATION SECTION
+ =========================
+ -->
+ <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
+ <mkdir dir="${build.test.classes.dir}"/>
+ </target>
+ <target name="-pre-compile-test">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test" if="have.tests" name="-do-compile-test">
+ <carproject:javac classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
+ <copy todir="${build.test.classes.dir}">
+ <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ </copy>
+ </target>
+ <target name="-post-compile-test">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
+ <target name="-pre-compile-test-single">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
+ <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
+ <carproject:javac classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" srcdir="${test.src.dir}"/>
+ <copy todir="${build.test.classes.dir}">
+ <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ </copy>
+ </target>
+ <target name="-post-compile-test-single">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
+ <!--
+ =======================
+ JUNIT EXECUTION SECTION
+ =======================
+ -->
+ <target depends="init" if="have.tests" name="-pre-test-run">
+ <mkdir dir="${build.test.results.dir}"/>
+ </target>
+ <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
+ <carproject:junit testincludes="**/*Test.java"/>
+ </target>
+ <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
+ <fail if="tests.failed">Some tests failed; see details above.</fail>
+ </target>
+ <target depends="init" if="have.tests" name="test-report"/>
+ <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
+ <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
+ <target depends="init" if="have.tests" name="-pre-test-run-single">
+ <mkdir dir="${build.test.results.dir}"/>
+ </target>
+ <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
+ <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
+ <carproject:junit excludes="" includes="${test.includes}"/>
+ </target>
+ <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
+ <fail if="tests.failed">Some tests failed; see details above.</fail>
+ </target>
+ <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test." name="test-single"/>
+ <!--
+ =======================
+ JUNIT DEBUGGING SECTION
+ =======================
+ -->
+ <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
+ <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
+ <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
+ <delete file="${test.report.file}"/>
+ <!-- the directory must exist, otherwise the XML formatter would fail -->
+ <mkdir dir="${build.test.results.dir}"/>
+ <carproject:debug classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner" classpath="${ant.home}/lib/ant.jar:${ant.home}/lib/ant-junit.jar:${debug.test.classpath}">
+ <customize>
+ <arg value="${test.class}"/>
+ <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
+ <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
+ </customize>
+ </carproject:debug>
+ </target>
+ <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
+ <carproject:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
+ </target>
+ <target depends="init,compile-test,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
+ <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
+ <carproject:nbjpdareload dir="${build.test.classes.dir}"/>
+ </target>
+ <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
+ <!--
+ =========================
+ APPLET EXECUTION SECTION
+ =========================
+ -->
+ <target depends="init,compile-single" name="run-applet">
+ <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
+ <carproject:java classname="sun.applet.AppletViewer">
+ <customize>
+ <arg value="${applet.url}"/>
+ </customize>
+ </carproject:java>
+ </target>
+ <!--
+ =========================
+ APPLET DEBUGGING SECTION
+ =========================
+ -->
+ <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
+ <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
+ <carproject:debug classname="sun.applet.AppletViewer">
+ <customize>
+ <arg value="${applet.url}"/>
+ </customize>
+ </carproject:debug>
+ </target>
+ <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
+ <!--
+ ===============
+ CLEANUP SECTION
+ ===============
+ -->
+ <target depends="init" if="no.dist.ear.dir" name="deps-clean" unless="no.deps">
+ <ant antfile="${project.DSI-ejb}/build.xml" inheritall="false" target="clean"/>
+ </target>
+ <target depends="init" name="-do-clean">
+ <delete dir="${build.dir}"/>
+ <delete dir="${dist.dir}"/>
+ </target>
+ <target name="-post-clean">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
+ <target depends="clean" description="Clean build products." name="clean-ear"/>
+</project>
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/nbproject/genfiles.properties b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/nbproject/genfiles.properties
new file mode 100644
index 0000000..ce3b083
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/nbproject/genfiles.properties
@@ -0,0 +1,8 @@
+build.xml.data.CRC32=a0cb5da8
+build.xml.script.CRC32=4b377cf7
+build.xml.stylesheet.CRC32=f851c264
+# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
+# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
+nbproject/build-impl.xml.data.CRC32=a0cb5da8
+nbproject/build-impl.xml.script.CRC32=bdd22fd2
+nbproject/build-impl.xml.stylesheet.CRC32=e1f9045c
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/nbproject/private/private.properties b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/nbproject/private/private.properties
new file mode 100644
index 0000000..95bd6ae
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/nbproject/private/private.properties
@@ -0,0 +1,13 @@
+deploy.ant.properties.file=C:\\Dokumente und Einstellungen\\Jan\\.netbeans\\6.5\\glassfish.properties
+j2ee.appclient.tool.args=-configxml "D:\\Programme\\glassfish-v2.1\\domains\\domain1\\config\\sun-acc.xml"
+j2ee.appclient.tool.jvmoptions=-Dcom.sun.aas.configRoot="D:\\Programme\\glassfish-v2.1\\config" -Dcom.sun.aas.installRoot="D:\\Programme\\glassfish-v2.1" -Dcom.sun.aas.imqLib="D:\\Programme\\glassfish-v2.1\\imq\\lib" -Djava.security.policy="D:\\Programme\\glassfish-v2.1\\lib\\appclient\\client.policy" -Djava.security.auth.login.config="D:\\Programme\\glassfish-v2.1\\lib\\appclient\\appclientlogin.conf" -Djava.endorsed.dirs="D:\\Programme\\glassfish-v2.1\\lib\\endorsed" -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter -Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser -Djava.util.logging.manager=com.sun.enterprise.server.logging.ACCLogManager
+j2ee.appclient.tool.mainclass=com.sun.enterprise.appclient.Main
+j2ee.appclient.tool.runtime=D:\\Programme\\glassfish-v2.1\\lib\\dom.jar:D:\\Programme\\glassfish-v2.1\\lib\\xalan.jar:D:\\Programme\\glassfish-v2.1\\lib\\xercesImpl.jar:D:\\Programme\\glassfish-v2.1\\lib\\appserv-rt.jar:D:\\Programme\\glassfish-v2.1\\lib\\javaee.jar:D:\\Programme\\glassfish-v2.1\\lib\\j2ee.jar:D:\\Programme\\glassfish-v2.1\\lib\\jmac-api.jar:D:\\Programme\\glassfish-v2.1\\lib\\appserv-ext.jar:D:\\Programme\\glassfish-v2.1\\lib\\mail.jar:D:\\Programme\\glassfish-v2.1\\lib\\activation.jar:D:\\Programme\\glassfish-v2.1\\lib\\webservices-rt.jar:D:\\Programme\\glassfish-v2.1\\lib\\webservices-tools.jar:D:\\Programme\\glassfish-v2.1\\lib\\appserv-ws.jar:D:\\Programme\\glassfish-v2.1\\lib\\jaxrpc-impl.jar:D:\\Programme\\glassfish-v2.1\\lib\\saaj-impl.jar:D:\\Programme\\glassfish-v2.1\\lib\\jaxr-impl.jar:D:\\Programme\\glassfish-v2.1\\lib\\relaxngDatatype.jar:D:\\Programme\\glassfish-v2.1\\lib\\xsdlib.jar:D:\\Programme\\glassfish-v2.1\\lib\\appserv-cmp.jar:D:\\Programme\\glassfish-v2.1\\javadb\\lib\\derbyclient.jar:D:\\Programme\\glassfish-v2.1\\lib\\toplink-essentials.jar:D:\\Programme\\glassfish-v2.1\\lib\\dbschema.jar:D:\\Programme\\glassfish-v2.1\\lib\\appserv-admin.jar:D:\\Programme\\glassfish-v2.1\\lib\\install\\applications\\jmsra\\imqjmsra.jar:D:\\Programme\\glassfish-v2.1\\lib\\fscontext.jar:D:\\Programme\\glassfish-v2.1\\lib\\dtds:D:\\Programme\\glassfish-v2.1\\lib\\schemas
+j2ee.platform.classpath=D:\\Programme\\glassfish-v2.1\\lib\\javaee.jar:D:\\Programme\\glassfish-v2.1\\lib\\jsf-impl.jar:D:\\Programme\\glassfish-v2.1\\lib\\activation.jar:D:\\Programme\\glassfish-v2.1\\lib\\appserv-tags.jar:D:\\Programme\\glassfish-v2.1\\lib\\mail.jar:D:\\Programme\\glassfish-v2.1\\lib\\appserv-jstl.jar:D:\\Programme\\glassfish-v2.1\\lib\\webservices-tools.jar:D:\\Programme\\glassfish-v2.1\\lib\\webservices-rt.jar:D:\\Programme\\glassfish-v2.1\\lib\\appserv-ws.jar
+j2ee.platform.wscompile.classpath=D:\\Programme\\glassfish-v2.1\\lib\\j2ee.jar:D:\\Programme\\glassfish-v2.1\\lib\\saaj-api.jar:D:\\Programme\\glassfish-v2.1\\lib\\saaj-impl.jar:D:\\Programme\\glassfish-v2.1\\lib\\jaxrpc-api.jar:D:\\Programme\\glassfish-v2.1\\lib\\jaxrpc-impl.jar:D:\\Programme\\glassfish-v2.1\\lib\\endorsed\\jaxp-api.jar:D:\\Programme\\glassfish-v2.1\\lib\\appserv-ws.jar:D:\\Programme\\glassfish-v2.1\\lib\\webservices-tools.jar:D:\\Programme\\glassfish-v2.1\\lib\\webservices-rt.jar
+j2ee.platform.wsimport.classpath=D:\\Programme\\glassfish-v2.1\\lib\\webservices-tools.jar:D:\\Programme\\glassfish-v2.1\\lib\\webservices-rt.jar:D:\\Programme\\glassfish-v2.1\\lib\\tools.jar:D:\\Programme\\glassfish-v2.1\\lib\\appserv-jstl.jar:D:\\Programme\\glassfish-v2.1\\lib\\javaee.jar:D:\\Programme\\glassfish-v2.1\\lib\\appserv-ws.jar:D:\\Programme\\glassfish-v2.1\\lib\\mail.jar:D:\\Programme\\glassfish-v2.1\\lib\\activation.jar
+j2ee.server.instance=[D:\\Programme\\glassfish-v2.1]deployer:Sun:AppServer::localhost:4848
+jaxws.endorsed.dir=D:\\Programme\\NetBeans 6.5.1\\java2\\modules\\ext\\jaxws21\\api:D:\\Programme\\NetBeans 6.5.1\\ide10\\modules\\ext\\jaxb\\api
+source.encoding=UTF-8
+user.properties.file=C:\\Dokumente und Einstellungen\\Jan\\.netbeans\\6.5\\build.properties
+wa.copy.client.jar.from=D:\\Programme\\glassfish-v2.1\\domains\\domain1\\generated\\xml\\j2ee-modules
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/nbproject/project.properties b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/nbproject/project.properties
new file mode 100644
index 0000000..245c9dc
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/nbproject/project.properties
@@ -0,0 +1,69 @@
+build.classes.dir=${build.dir}/jar
+build.classes.excludes=**/*.java,**/*.form
+# This directory is removed when the project is cleaned:
+build.dir=build
+build.ear.classes.dir=${build.dir}/jar
+build.generated.dir=${build.dir}/generated
+# Only compile against the classpath explicitly listed here:
+build.sysclasspath=ignore
+build.test.classes.dir=${build.dir}/test/classes
+build.test.results.dir=${build.dir}/test/results
+debug.classpath=\
+ ${run.classpath}
+debug.test.classpath=\
+ ${run.test.classpath}
+# This directory is removed when the project is cleaned:
+dist.dir=dist
+dist.ear.jar=${dist.dir}/${jar.name}
+dist.jar=${dist.dir}/${jar.name}
+dist.javadoc.dir=${dist.dir}/javadoc
+excludes=
+includes=**
+j2ee.appclient.mainclass.args=-client ${dist.jar} ${j2ee.appclient.tool.args}
+j2ee.platform=1.5
+j2ee.server.type=J2EE
+jar.compress=false
+jar.name=DSI-app-client.jar
+javac.classpath=\
+ ${reference.DSI-ejb.dist}
+# Space-separated list of extra javac options
+javac.compilerargs=
+javac.deprecation=false
+javac.source=1.5
+javac.target=1.5
+javac.test.classpath=\
+ ${javac.classpath}:\
+ ${build.classes.dir}:\
+ ${libs.junit.classpath}:\
+ ${libs.junit_4.classpath}
+javadoc.additionalparam=
+javadoc.author=false
+javadoc.encoding=${source.encoding}
+javadoc.noindex=false
+javadoc.nonavbar=false
+javadoc.notree=false
+javadoc.private=false
+javadoc.splitindex=true
+javadoc.use=true
+javadoc.version=false
+javadoc.windowtitle=
+main.class=dsi.Main
+manifest.file=${meta.inf}/MANIFEST.MF
+meta.inf=${source.root}/conf
+platform.active=default_platform
+project.DSI-ejb=../DSI-ejb
+reference.DSI-ejb.dist=${project.DSI-ejb}/dist/DSI-ejb.jar
+resource.dir=setup
+run.classpath=\
+ ${javac.classpath}:\
+ ${build.classes.dir}
+# Space-separated list of JVM arguments used when running the project
+# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value
+# or test-sys-prop.name=value to set system properties for unit tests):
+run.jvmargs=
+run.test.classpath=\
+ ${javac.test.classpath}:\
+ ${build.test.classes.dir}
+source.root=src
+src.dir=${source.root}/java
+test.src.dir=test
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/nbproject/project.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/nbproject/project.xml
new file mode 100644
index 0000000..17905a2
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/nbproject/project.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://www.netbeans.org/ns/project/1">
+ <type>org.netbeans.modules.j2ee.clientproject</type>
+ <configuration>
+ <data xmlns="http://www.netbeans.org/ns/car-project/1">
+ <name>DSI-app-client</name>
+ <minimum-ant-version>1.6.5</minimum-ant-version>
+ <source-roots>
+ <root id="src.dir" name="Source Packages"/>
+ </source-roots>
+ <test-roots>
+ <root id="test.src.dir" name="Test Packages"/>
+ </test-roots>
+ <included-library files="1">reference.DSI-ejb.dist</included-library>
+ </data>
+ <libraries xmlns="http://www.netbeans.org/ns/ant-project-libraries/1">
+ <definitions>..\.\lib\nblibraries.properties</definitions>
+ </libraries>
+ <references xmlns="http://www.netbeans.org/ns/ant-project-references/1">
+ <reference>
+ <foreign-project>DSI-ejb</foreign-project>
+ <artifact-type>jar</artifact-type>
+ <script>build.xml</script>
+ <target>dist</target>
+ <clean-target>clean</clean-target>
+ <id>dist</id>
+ </reference>
+ </references>
+ </configuration>
+</project>
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/src/conf/MANIFEST.MF b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/src/conf/MANIFEST.MF
new file mode 100644
index 0000000..1574df4
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/src/conf/MANIFEST.MF
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/src/conf/application-client.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/src/conf/application-client.xml
new file mode 100644
index 0000000..682188b
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/src/conf/application-client.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application-client version="5" 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/application-client_5.xsd">
+ <display-name>DSI-app-client</display-name>
+</application-client>
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/src/java/dsi/ArtikelListeTableModel.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/src/java/dsi/ArtikelListeTableModel.java
new file mode 100644
index 0000000..6c8bc8f
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/src/java/dsi/ArtikelListeTableModel.java
@@ -0,0 +1,118 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package dsi;
+
+import entities.Artikel;
+import java.util.LinkedList;
+import java.util.List;
+import javax.swing.table.AbstractTableModel;
+
+/**
+ * Klasse die eine Liste von Artikeln kapselt, und als Table-Model
+ * zur Verfügung stellt
+ * @author jmueller
+ */
+public class ArtikelListeTableModel extends AbstractTableModel{
+ private List<Artikel> artikelListe;
+
+ /**
+ * Default-Konstruktor
+ */
+ public ArtikelListeTableModel(){
+ artikelListe = new LinkedList<Artikel>();
+ }
+
+ /**
+ * Konstruktor mit Initialisierung
+ * @param liste Liste der Artikel
+ */
+ public ArtikelListeTableModel(List<Artikel> liste){
+ artikelListe = new LinkedList<Artikel>();
+ for(Artikel a : liste){
+ artikelListe.add(a);
+ }
+ }
+
+
+ /**
+ * Setzt die Artikel-Liste
+ * @param liste
+ */
+ public void setArtikelListe(List<Artikel> liste){
+ artikelListe = new LinkedList<Artikel>();
+ for(Artikel a : liste){
+ artikelListe.add(a);
+ }
+ fireTableStructureChanged();
+ }
+
+
+ /**
+ * Gibt die Artikelliste zurück
+ * ACHTUNG: nicht mittels dieser Methode Änderungen an der Liste vornehmen,
+ * da diese nicht refreshed werden
+ * @return
+ */
+ public List<Artikel> getArtikelListe(){
+ return artikelListe;
+ }
+
+
+ /**
+ * Gibt die Anzahl der Zeilen zurück
+ * @return
+ */
+ public int getRowCount() {
+ return artikelListe.size();
+ }
+
+
+ /**
+ * Gibt die Anzahl der Spalten zurück
+ * @return
+ */
+ public int getColumnCount() {
+ return 4;
+ }
+
+
+ /**
+ * Gibt den Inhalt einer Zelle als String zurück
+ * @param zeile
+ * @param spalte
+ * @return
+ */
+ public Object getValueAt(int zeile, int spalte) {
+ switch(spalte){
+ case 0: return ""+ artikelListe.get(zeile).getId();
+ case 1: return ""+ artikelListe.get(zeile).getBezeichnung();
+ case 2: return ""+ artikelListe.get(zeile).getAnzahl();
+ case 3: return String.format("%.2f €", artikelListe.get(zeile).getPreis());
+ default: return "";
+ }
+ }
+
+ /**
+ * gibt den Namen (Bezeichnung) der Spalte zurück
+ * @param arg0
+ * @return
+ */
+ @Override
+ public String getColumnName(int spalte) {
+ switch(spalte){
+ case 0: return "id";
+ case 1: return "Bezeichnung";
+ case 2: return "Anzahl";
+ case 3: return "Preis";
+ default: return "";
+ }
+ }
+
+
+
+
+
+}
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/src/java/dsi/KundenListeTableModel.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/src/java/dsi/KundenListeTableModel.java
new file mode 100644
index 0000000..7870843
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/src/java/dsi/KundenListeTableModel.java
@@ -0,0 +1,118 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package dsi;
+
+import entities.Kunde;
+import java.util.LinkedList;
+import java.util.List;
+import javax.swing.table.AbstractTableModel;
+
+/**
+ * Klasse die eine Liste von Kunden kapselt, und als Table-Model
+ * zur Verfügung stellt
+ * @author jmueller
+ */
+public class KundenListeTableModel extends AbstractTableModel{
+ private List<Kunde> kundeListe;
+
+ /**
+ * Default-Konstruktor
+ */
+ public KundenListeTableModel(){
+ kundeListe = new LinkedList<Kunde>();
+ }
+
+ /**
+ * Konstruktor mit Initialisierung
+ * @param liste Liste der Kunden
+ */
+ public KundenListeTableModel(List<Kunde> liste){
+ kundeListe = new LinkedList<Kunde>();
+ for(Kunde a : liste){
+ kundeListe.add(a);
+ }
+ }
+
+
+ /**
+ * Setter fuer die Kunden-Liste
+ * @param liste
+ */
+ public void setKundenListe(List<Kunde> liste){
+ kundeListe = new LinkedList<Kunde>();
+ for(Kunde a : liste){
+ kundeListe.add(a);
+ }
+ fireTableStructureChanged();
+ }
+
+
+ /**
+ * Gibt die Kundeliste zurück
+ * ACHTUNG: nicht mittels dieser Methode Änderungen an der Liste vornehmen,
+ * da diese nicht refreshed werden
+ * @return
+ */
+ public List<Kunde> getKundenListe(){
+ return kundeListe;
+ }
+
+
+ /**
+ * Gibt die Anzahl der Zeilen zurück
+ * @return
+ */
+ public int getRowCount() {
+ return kundeListe.size();
+ }
+
+
+ /**
+ * Gibt die Anzahl der Spalten zurück
+ * @return
+ */
+ public int getColumnCount() {
+ return 4;
+ }
+
+
+ /**
+ * Gibt den Inhalt einer Zelle als String zurück
+ * @param zeile
+ * @param spalte
+ * @return
+ */
+ public Object getValueAt(int zeile, int spalte) {
+ switch(spalte){
+ case 0: return ""+ kundeListe.get(zeile).getId();
+ case 1: return ""+ kundeListe.get(zeile).getNachname();
+ case 2: return ""+ kundeListe.get(zeile).getVorname();
+ case 3: return "" + kundeListe.get(zeile).getAdresse();
+ default: return "";
+ }
+ }
+
+ /**
+ * gibt den Namen (Bezeichnung) der Spalte zurück
+ * @param arg0
+ * @return
+ */
+ @Override
+ public String getColumnName(int spalte) {
+ switch(spalte){
+ case 0: return "id";
+ case 1: return "Nachname";
+ case 2: return "Vorname";
+ case 3: return "Adresse";
+ default: return "";
+ }
+ }
+
+
+
+
+
+}
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/src/java/dsi/Main.form b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/src/java/dsi/Main.form
new file mode 100644
index 0000000..1e334a3
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/src/java/dsi/Main.form
@@ -0,0 +1,694 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<Form version="1.5" maxVersion="1.5" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
+ <NonVisualComponents>
+ <Menu class="javax.swing.JMenuBar" name="jMenuBar1">
+ <SubComponents>
+ <Menu class="javax.swing.JMenu" name="jMenu1">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="Datei"/>
+ </Properties>
+ <SubComponents>
+ <MenuItem class="javax.swing.JMenuItem" name="jMenuItem1">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="Beenden"/>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItem1ActionPerformed"/>
+ </Events>
+ </MenuItem>
+ </SubComponents>
+ </Menu>
+ <Menu class="javax.swing.JMenu" name="jMenu2">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="Edit"/>
+ </Properties>
+ </Menu>
+ </SubComponents>
+ </Menu>
+ </NonVisualComponents>
+ <Properties>
+ <Property name="defaultCloseOperation" type="int" value="3"/>
+ </Properties>
+ <SyntheticProperties>
+ <SyntheticProperty name="menuBar" type="java.lang.String" value="jMenuBar1"/>
+ <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
+ </SyntheticProperties>
+ <AuxValues>
+ <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
+ <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
+ <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
+ <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
+ <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
+ <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
+ <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
+ <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
+ </AuxValues>
+
+ <Layout>
+ <DimensionLayout dim="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="jTabbedPane1" pref="651" max="32767" attributes="0"/>
+ <EmptySpace max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ <DimensionLayout dim="1">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="jTabbedPane1" pref="331" max="32767" attributes="0"/>
+ <EmptySpace max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ </Layout>
+ <SubComponents>
+ <Container class="javax.swing.JTabbedPane" name="jTabbedPane1">
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout"/>
+ <SubComponents>
+ <Container class="javax.swing.JPanel" name="jPanelAuftragsAbwicklung">
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription">
+ <JTabbedPaneConstraints tabName="Auftragsbearbeitung">
+ <Property name="tabTitle" type="java.lang.String" value="Auftragsbearbeitung"/>
+ </JTabbedPaneConstraints>
+ </Constraint>
+ </Constraints>
+
+ <Layout>
+ <DimensionLayout dim="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <Group type="103" groupAlignment="1" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="jButtonArtikelAbschicken" pref="174" max="32767" attributes="1"/>
+ </Group>
+ <Group type="102" alignment="1" attributes="0">
+ <EmptySpace min="-2" pref="38" max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Component id="jLabel2" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel3" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel4" alignment="0" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace min="-2" max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="1" attributes="0">
+ <EmptySpace min="-2" max="-2" attributes="0"/>
+ <Component id="jSpinnerAnzahl" pref="92" max="32767" attributes="2"/>
+ </Group>
+ <Component id="jSpinnerArtikelId" alignment="1" pref="92" max="32767" attributes="2"/>
+ <Component id="jSpinnerKundenId" alignment="0" pref="92" max="32767" attributes="0"/>
+ </Group>
+ </Group>
+ </Group>
+ <EmptySpace min="-2" pref="35" max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="10" pref="10" max="10" attributes="0"/>
+ <Component id="jLabel1ReportOutput" min="-2" pref="151" max="-2" attributes="0"/>
+ </Group>
+ <Component id="jLabel14" alignment="0" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace pref="266" max="32767" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ <DimensionLayout dim="1">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="-2" pref="30" max="-2" attributes="0"/>
+ <Component id="jLabel14" min="-2" max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" max="-2" attributes="0">
+ <Group type="102" attributes="0">
+ <EmptySpace min="-2" pref="26" max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jSpinnerKundenId" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jSpinnerArtikelId" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jSpinnerAnzahl" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace min="-2" pref="48" max="-2" attributes="0"/>
+ <Component id="jButtonArtikelAbschicken" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" attributes="1">
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="jLabel1ReportOutput" max="32767" attributes="0"/>
+ </Group>
+ </Group>
+ <EmptySpace pref="90" max="32767" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ </Layout>
+ <SubComponents>
+ <Component class="javax.swing.JSpinner" name="jSpinnerArtikelId">
+ <Properties>
+ <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
+ <SpinnerModel initial="1" minimum="1" numberType="java.lang.Long" stepSize="1" type="number"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="jLabel3">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="Artikel-Id"/>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="jLabel4">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="Anzahl"/>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JSpinner" name="jSpinnerAnzahl">
+ <Properties>
+ <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
+ <SpinnerModel initial="1" minimum="1" numberType="java.lang.Long" stepSize="1" type="number"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JButton" name="jButtonArtikelAbschicken">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="Bestellung abschicken"/>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonArtikelAbschickenActionPerformed"/>
+ </Events>
+ </Component>
+ <Component class="javax.swing.JLabel" name="jLabel2">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="Kunden-Id"/>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JSpinner" name="jSpinnerKundenId">
+ <Properties>
+ <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
+ <SpinnerModel initial="1" minimum="1" numberType="java.lang.Long" stepSize="1" type="number"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="jLabel14">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="Report"/>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="jLabel1ReportOutput">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="..."/>
+ <Property name="verticalAlignment" type="int" value="1"/>
+ </Properties>
+ </Component>
+ </SubComponents>
+ </Container>
+ <Container class="javax.swing.JPanel" name="jPanel1">
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription">
+ <JTabbedPaneConstraints tabName="Verwaltung">
+ <Property name="tabTitle" type="java.lang.String" value="Verwaltung"/>
+ </JTabbedPaneConstraints>
+ </Constraint>
+ </Constraints>
+
+ <Layout>
+ <DimensionLayout dim="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="jTabbedPaneVerwaltung" max="32767" attributes="0"/>
+ <EmptySpace max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ <DimensionLayout dim="1">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="jTabbedPaneVerwaltung" pref="281" max="32767" attributes="0"/>
+ <EmptySpace max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ </Layout>
+ <SubComponents>
+ <Container class="javax.swing.JTabbedPane" name="jTabbedPaneVerwaltung">
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout"/>
+ <SubComponents>
+ <Container class="javax.swing.JPanel" name="jPanelArtikel">
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription">
+ <JTabbedPaneConstraints tabName="Artikel">
+ <Property name="tabTitle" type="java.lang.String" value="Artikel"/>
+ </JTabbedPaneConstraints>
+ </Constraint>
+ </Constraints>
+
+ <Layout>
+ <DimensionLayout dim="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" attributes="0">
+ <Component id="jLabel1" min="-2" max="-2" attributes="0"/>
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="jButtonArtikellisteRefresh" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="79" max="32767" attributes="0"/>
+ <Component id="jButtonCreateDemoArtikel" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Component id="jScrollPane2" alignment="0" min="-2" pref="330" max="-2" attributes="0"/>
+ </Group>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" attributes="0">
+ <EmptySpace min="-2" pref="35" max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" max="-2" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="jLabel5" min="-2" max="-2" attributes="0"/>
+ <EmptySpace min="-2" pref="74" max="-2" attributes="0"/>
+ <Component id="jLabelLagerId" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Component id="jLabel7" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel8" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel9" alignment="0" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Component id="jSpinnerLagerPreis" pref="80" max="32767" attributes="0"/>
+ <Component id="jSpinnerLagerAnzahl" pref="80" max="32767" attributes="0"/>
+ <Component id="jTextFieldLagerBezeichnung" alignment="0" min="-2" pref="99" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ </Group>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="-2" pref="12" max="-2" attributes="0"/>
+ <Component id="jButtonLagerNeu" min="-2" max="-2" attributes="0"/>
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="jButtonLagerAendern" min="-2" max="-2" attributes="0"/>
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="jButtonLagerLoeschen" min="-2" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ <EmptySpace min="-2" pref="70" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ <DimensionLayout dim="1">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jButtonArtikellisteRefresh" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jButtonCreateDemoArtikel" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" attributes="0">
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="jLabel5" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabelLagerId" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="jLabel7" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jTextFieldLagerBezeichnung" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="jLabel8" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jSpinnerLagerAnzahl" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="jLabel9" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jSpinnerLagerPreis" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace min="-2" pref="34" max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="jButtonLagerNeu" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jButtonLagerAendern" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jButtonLagerLoeschen" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ <Component id="jScrollPane2" pref="202" max="32767" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ </Layout>
+ <SubComponents>
+ <Component class="javax.swing.JLabel" name="jLabel1">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="Artikelliste"/>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JButton" name="jButtonArtikellisteRefresh">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="refresh"/>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonArtikellisteRefreshActionPerformed"/>
+ </Events>
+ </Component>
+ <Container class="javax.swing.JScrollPane" name="jScrollPane2">
+ <AuxValues>
+ <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
+ </AuxValues>
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
+ <SubComponents>
+ <Component class="javax.swing.JTable" name="jTable1">
+ <Properties>
+ <Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor">
+ <Table columnCount="4" rowCount="4">
+ <Column editable="true" title="Title 1" type="java.lang.Object"/>
+ <Column editable="true" title="Title 2" type="java.lang.Object"/>
+ <Column editable="true" title="Title 3" type="java.lang.Object"/>
+ <Column editable="true" title="Title 4" type="java.lang.Object"/>
+ </Table>
+ </Property>
+ </Properties>
+ </Component>
+ </SubComponents>
+ </Container>
+ <Component class="javax.swing.JLabel" name="jLabel5">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="id"/>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="jLabelLagerId">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="unbekannte id"/>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="jLabel7">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="Bezeichnung"/>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="jLabel8">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="Anzahl"/>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="jLabel9">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="Preis"/>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JTextField" name="jTextFieldLagerBezeichnung">
+ </Component>
+ <Component class="javax.swing.JSpinner" name="jSpinnerLagerAnzahl">
+ <Properties>
+ <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
+ <SpinnerModel initial="10" minimum="0" numberType="java.lang.Long" stepSize="1" type="number"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JSpinner" name="jSpinnerLagerPreis">
+ <Properties>
+ <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
+ <SpinnerModel initial="9.949999809265137" minimum="0.0" numberType="java.lang.Double" stepSize="1.0" type="number"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JButton" name="jButtonLagerNeu">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="neu"/>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonLagerNeuActionPerformed"/>
+ </Events>
+ </Component>
+ <Component class="javax.swing.JButton" name="jButtonLagerAendern">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="&#xe4;ndern"/>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonLagerAendernActionPerformed"/>
+ </Events>
+ </Component>
+ <Component class="javax.swing.JButton" name="jButtonLagerLoeschen">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="l&#xf6;schen"/>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonLagerLoeschenActionPerformed"/>
+ </Events>
+ </Component>
+ <Component class="javax.swing.JButton" name="jButtonCreateDemoArtikel">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="Demodaten erstellen"/>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonCreateDemoArtikelActionPerformed"/>
+ </Events>
+ </Component>
+ </SubComponents>
+ </Container>
+ <Container class="javax.swing.JPanel" name="jPanelKunde">
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription">
+ <JTabbedPaneConstraints tabName="Kunden">
+ <Property name="tabTitle" type="java.lang.String" value="Kunden"/>
+ </JTabbedPaneConstraints>
+ </Constraint>
+ </Constraints>
+
+ <Layout>
+ <DimensionLayout dim="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="jScrollPane3" min="-2" pref="330" max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="-2" pref="35" max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="jLabel10" min="-2" max="-2" attributes="0"/>
+ <EmptySpace min="-2" pref="74" max="-2" attributes="0"/>
+ <Component id="jLabelKundeId" pref="94" max="32767" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Component id="jLabel11" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel12" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel13" alignment="0" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Component id="jScrollPane4" pref="122" max="32767" attributes="1"/>
+ <Component id="jTextFieldKundeVorname" alignment="0" pref="122" max="32767" attributes="1"/>
+ <Component id="jTextFieldKundeNachname" alignment="0" pref="122" max="32767" attributes="1"/>
+ </Group>
+ </Group>
+ </Group>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace type="unrelated" max="-2" attributes="0"/>
+ <Component id="jButtonKundeNeu" min="-2" max="-2" attributes="0"/>
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="jButtonKundeAendern" min="-2" max="-2" attributes="0"/>
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="jButtonKundeLoeschen" min="-2" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ <EmptySpace min="-2" pref="44" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="jLabel6" min="-2" max="-2" attributes="0"/>
+ <EmptySpace type="unrelated" max="-2" attributes="0"/>
+ <Component id="jButtonKundenlisteRefresh" min="-2" max="-2" attributes="0"/>
+ <EmptySpace min="-2" pref="88" max="-2" attributes="0"/>
+ <Component id="jButtonCreateDemoKunden" min="-2" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ <EmptySpace min="-2" pref="26" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ <DimensionLayout dim="1">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="jLabel6" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jButtonKundenlisteRefresh" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jButtonCreateDemoKunden" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Component id="jScrollPane3" alignment="0" pref="367" max="32767" attributes="0"/>
+ <Group type="102" alignment="0" attributes="0">
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="jLabel10" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabelKundeId" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="jLabel11" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jTextFieldKundeNachname" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="jLabel12" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jTextFieldKundeVorname" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Component id="jLabel13" min="-2" max="-2" attributes="0"/>
+ <Component id="jScrollPane4" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace min="-2" pref="24" max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="jButtonKundeNeu" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jButtonKundeAendern" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jButtonKundeLoeschen" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace min="-2" pref="172" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ </Layout>
+ <SubComponents>
+ <Component class="javax.swing.JLabel" name="jLabel6">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="Kundenliste"/>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JButton" name="jButtonKundenlisteRefresh">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="refresh"/>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonKundenlisteRefreshActionPerformed"/>
+ </Events>
+ </Component>
+ <Container class="javax.swing.JScrollPane" name="jScrollPane3">
+ <AuxValues>
+ <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
+ </AuxValues>
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
+ <SubComponents>
+ <Component class="javax.swing.JTable" name="jTableKunden">
+ <Properties>
+ <Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor">
+ <Table columnCount="4" rowCount="4">
+ <Column editable="true" title="Title 1" type="java.lang.Object"/>
+ <Column editable="true" title="Title 2" type="java.lang.Object"/>
+ <Column editable="true" title="Title 3" type="java.lang.Object"/>
+ <Column editable="true" title="Title 4" type="java.lang.Object"/>
+ </Table>
+ </Property>
+ </Properties>
+ </Component>
+ </SubComponents>
+ </Container>
+ <Component class="javax.swing.JLabel" name="jLabel10">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="id"/>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="jLabelKundeId">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="unbekannte id"/>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="jLabel11">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="Nachname"/>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="jLabel12">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="Vorname"/>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="jLabel13">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="Adresse"/>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JTextField" name="jTextFieldKundeNachname">
+ </Component>
+ <Component class="javax.swing.JButton" name="jButtonKundeNeu">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="neu"/>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonKundeNeuActionPerformed"/>
+ </Events>
+ </Component>
+ <Component class="javax.swing.JButton" name="jButtonKundeAendern">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="&#xe4;ndern"/>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonKundeAendernActionPerformed"/>
+ </Events>
+ </Component>
+ <Component class="javax.swing.JButton" name="jButtonKundeLoeschen">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="l&#xf6;schen"/>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonKundeLoeschenActionPerformed"/>
+ </Events>
+ </Component>
+ <Component class="javax.swing.JTextField" name="jTextFieldKundeVorname">
+ </Component>
+ <Container class="javax.swing.JScrollPane" name="jScrollPane4">
+ <AuxValues>
+ <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
+ </AuxValues>
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
+ <SubComponents>
+ <Component class="javax.swing.JTextArea" name="jTextAreaKundeAdresse">
+ <Properties>
+ <Property name="columns" type="int" value="20"/>
+ <Property name="rows" type="int" value="5"/>
+ </Properties>
+ </Component>
+ </SubComponents>
+ </Container>
+ <Component class="javax.swing.JButton" name="jButtonCreateDemoKunden">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="Demodaten erstellen"/>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonCreateDemoKundenActionPerformed"/>
+ </Events>
+ </Component>
+ </SubComponents>
+ </Container>
+ </SubComponents>
+ </Container>
+ </SubComponents>
+ </Container>
+ </SubComponents>
+ </Container>
+ </SubComponents>
+</Form>
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/src/java/dsi/Main.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/src/java/dsi/Main.java
new file mode 100644
index 0000000..8619c00
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-app-client/src/java/dsi/Main.java
@@ -0,0 +1,807 @@
+/*
+ * Main.java
+ *
+ * Created on 6. März 2008, 12:35
+ */
+package dsi;
+
+import beans.artikelManager.ArtikelManagerRemote;
+import beans.auftragsAbwicklung.AuftragsAbwicklungRemote;
+import beans.kundenManager.KundenManagerRemote;
+import beans.lager.LagerRemote;
+import entities.Artikel;
+import entities.Kunde;
+import exceptions.IdBereitsVergebenException;
+import helper.Auftrag;
+import java.util.logging.Level;
+import java.util.logging.Logger;
+import javax.ejb.EJB;
+import javax.swing.JOptionPane;
+import javax.swing.ListSelectionModel;
+import javax.swing.event.ListSelectionEvent;
+import javax.swing.event.ListSelectionListener;
+
+
+/**
+ *
+ * @author jmueller
+ */
+public class Main extends javax.swing.JFrame {
+ @EJB
+ private static KundenManagerRemote kundenManagerBean;
+ @EJB
+ private static ArtikelManagerRemote artikelManagerBean;
+
+ @EJB
+ private static LagerRemote lagerBean;
+ @EJB
+ private static AuftragsAbwicklungRemote auftragsAbwicklungBean;
+ private Kunde kundeEntity;
+
+ /** Creates new form Main */
+ public Main() {
+ initComponents();
+ initModels();
+ }
+
+ /**
+ * initialisiert die Models für die Swing-Komponenten
+ */
+ private void initModels() {
+ Auftrag auftrag = new Auftrag();
+
+ ArtikelListeTableModel listeTableModel = new ArtikelListeTableModel();
+ jTable1.setModel(listeTableModel);
+ jTable1.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
+
+ jTable1.getSelectionModel().addListSelectionListener(new ListSelectionListener() {
+
+ public void valueChanged(ListSelectionEvent e) {
+ ListSelectionModel lsm = (ListSelectionModel) e.getSource();
+ if (lsm.isSelectionEmpty()) {
+ } else {
+ int selectedRow = lsm.getMinSelectionIndex();
+ Artikel a = ((ArtikelListeTableModel) jTable1.getModel()).getArtikelListe().get(selectedRow);
+
+ jLabelLagerId.setText("" + a.getId());
+ jTextFieldLagerBezeichnung.setText(a.getBezeichnung());
+ jSpinnerLagerAnzahl.setValue((Long) a.getAnzahl());
+ jSpinnerLagerPreis.setValue((Double) a.getPreis());
+ }
+ }
+ });
+
+ KundenListeTableModel kundenTableModel = new KundenListeTableModel();
+ jTableKunden.setModel(kundenTableModel);
+ jTableKunden.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
+
+ jTableKunden.getSelectionModel().addListSelectionListener(new ListSelectionListener() {
+
+ public void valueChanged(ListSelectionEvent e) {
+ ListSelectionModel lsm = (ListSelectionModel) e.getSource();
+ if (lsm.isSelectionEmpty()) {
+ } else {
+ int selectedRow = lsm.getMinSelectionIndex();
+ Kunde kunde = ((KundenListeTableModel) jTableKunden.getModel()).getKundenListe().get(selectedRow);
+
+ jLabelKundeId.setText("" + kunde.getId());
+ jTextFieldKundeNachname.setText(kunde.getNachname());
+ jTextFieldKundeVorname.setText(kunde.getVorname());
+ jTextAreaKundeAdresse.setText(kunde.getAdresse());
+ }
+ }
+ });
+ }
+
+ /** This method is called from within the constructor to
+ * initialize the form.
+
+
+ }
+
+ /** This method is called from within the constructor to
+ * initialize the form.
+ * WARNING: Do NOT modify this code. The content of this method is
+ * always regenerated by the Form Editor.
+ */
+ // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
+ private void initComponents() {
+
+ jTabbedPane1 = new javax.swing.JTabbedPane();
+ jPanelAuftragsAbwicklung = new javax.swing.JPanel();
+ jSpinnerArtikelId = new javax.swing.JSpinner();
+ jLabel3 = new javax.swing.JLabel();
+ jLabel4 = new javax.swing.JLabel();
+ jSpinnerAnzahl = new javax.swing.JSpinner();
+ jButtonArtikelAbschicken = new javax.swing.JButton();
+ jLabel2 = new javax.swing.JLabel();
+ jSpinnerKundenId = new javax.swing.JSpinner();
+ jLabel14 = new javax.swing.JLabel();
+ jLabel1ReportOutput = new javax.swing.JLabel();
+ jPanel1 = new javax.swing.JPanel();
+ jTabbedPaneVerwaltung = new javax.swing.JTabbedPane();
+ jPanelArtikel = new javax.swing.JPanel();
+ jLabel1 = new javax.swing.JLabel();
+ jButtonArtikellisteRefresh = new javax.swing.JButton();
+ jScrollPane2 = new javax.swing.JScrollPane();
+ jTable1 = new javax.swing.JTable();
+ jLabel5 = new javax.swing.JLabel();
+ jLabelLagerId = new javax.swing.JLabel();
+ jLabel7 = new javax.swing.JLabel();
+ jLabel8 = new javax.swing.JLabel();
+ jLabel9 = new javax.swing.JLabel();
+ jTextFieldLagerBezeichnung = new javax.swing.JTextField();
+ jSpinnerLagerAnzahl = new javax.swing.JSpinner();
+ jSpinnerLagerPreis = new javax.swing.JSpinner();
+ jButtonLagerNeu = new javax.swing.JButton();
+ jButtonLagerAendern = new javax.swing.JButton();
+ jButtonLagerLoeschen = new javax.swing.JButton();
+ jButtonCreateDemoArtikel = new javax.swing.JButton();
+ jPanelKunde = new javax.swing.JPanel();
+ jLabel6 = new javax.swing.JLabel();
+ jButtonKundenlisteRefresh = new javax.swing.JButton();
+ jScrollPane3 = new javax.swing.JScrollPane();
+ jTableKunden = new javax.swing.JTable();
+ jLabel10 = new javax.swing.JLabel();
+ jLabelKundeId = new javax.swing.JLabel();
+ jLabel11 = new javax.swing.JLabel();
+ jLabel12 = new javax.swing.JLabel();
+ jLabel13 = new javax.swing.JLabel();
+ jTextFieldKundeNachname = new javax.swing.JTextField();
+ jButtonKundeNeu = new javax.swing.JButton();
+ jButtonKundeAendern = new javax.swing.JButton();
+ jButtonKundeLoeschen = new javax.swing.JButton();
+ jTextFieldKundeVorname = new javax.swing.JTextField();
+ jScrollPane4 = new javax.swing.JScrollPane();
+ jTextAreaKundeAdresse = new javax.swing.JTextArea();
+ jButtonCreateDemoKunden = new javax.swing.JButton();
+ jMenuBar1 = new javax.swing.JMenuBar();
+ jMenu1 = new javax.swing.JMenu();
+ jMenuItem1 = new javax.swing.JMenuItem();
+ jMenu2 = new javax.swing.JMenu();
+
+ setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
+
+ jSpinnerArtikelId.setModel(new javax.swing.SpinnerNumberModel(Long.valueOf(1L), Long.valueOf(1L), null, Long.valueOf(1L)));
+
+ jLabel3.setText("Artikel-Id");
+
+ jLabel4.setText("Anzahl");
+
+ jSpinnerAnzahl.setModel(new javax.swing.SpinnerNumberModel(Long.valueOf(1L), Long.valueOf(1L), null, Long.valueOf(1L)));
+
+ jButtonArtikelAbschicken.setText("Bestellung abschicken");
+ jButtonArtikelAbschicken.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButtonArtikelAbschickenActionPerformed(evt);
+ }
+ });
+
+ jLabel2.setText("Kunden-Id");
+
+ jSpinnerKundenId.setModel(new javax.swing.SpinnerNumberModel(Long.valueOf(1L), Long.valueOf(1L), null, Long.valueOf(1L)));
+
+ jLabel14.setText("Report");
+
+ jLabel1ReportOutput.setText("...");
+ jLabel1ReportOutput.setVerticalAlignment(javax.swing.SwingConstants.TOP);
+
+ javax.swing.GroupLayout jPanelAuftragsAbwicklungLayout = new javax.swing.GroupLayout(jPanelAuftragsAbwicklung);
+ jPanelAuftragsAbwicklung.setLayout(jPanelAuftragsAbwicklungLayout);
+ jPanelAuftragsAbwicklungLayout.setHorizontalGroup(
+ jPanelAuftragsAbwicklungLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanelAuftragsAbwicklungLayout.createSequentialGroup()
+ .addGroup(jPanelAuftragsAbwicklungLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
+ .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanelAuftragsAbwicklungLayout.createSequentialGroup()
+ .addContainerGap()
+ .addComponent(jButtonArtikelAbschicken, javax.swing.GroupLayout.DEFAULT_SIZE, 174, Short.MAX_VALUE))
+ .addGroup(jPanelAuftragsAbwicklungLayout.createSequentialGroup()
+ .addGap(38, 38, 38)
+ .addGroup(jPanelAuftragsAbwicklungLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jLabel2)
+ .addComponent(jLabel3)
+ .addComponent(jLabel4))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addGroup(jPanelAuftragsAbwicklungLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelAuftragsAbwicklungLayout.createSequentialGroup()
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(jSpinnerAnzahl, javax.swing.GroupLayout.DEFAULT_SIZE, 92, Short.MAX_VALUE))
+ .addComponent(jSpinnerArtikelId, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 92, Short.MAX_VALUE)
+ .addComponent(jSpinnerKundenId, javax.swing.GroupLayout.DEFAULT_SIZE, 92, Short.MAX_VALUE))))
+ .addGap(35, 35, 35)
+ .addGroup(jPanelAuftragsAbwicklungLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanelAuftragsAbwicklungLayout.createSequentialGroup()
+ .addGap(10, 10, 10)
+ .addComponent(jLabel1ReportOutput, javax.swing.GroupLayout.PREFERRED_SIZE, 151, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addComponent(jLabel14))
+ .addContainerGap(266, Short.MAX_VALUE))
+ );
+ jPanelAuftragsAbwicklungLayout.setVerticalGroup(
+ jPanelAuftragsAbwicklungLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanelAuftragsAbwicklungLayout.createSequentialGroup()
+ .addGap(30, 30, 30)
+ .addComponent(jLabel14)
+ .addGroup(jPanelAuftragsAbwicklungLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
+ .addGroup(jPanelAuftragsAbwicklungLayout.createSequentialGroup()
+ .addGap(26, 26, 26)
+ .addGroup(jPanelAuftragsAbwicklungLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jLabel2)
+ .addComponent(jSpinnerKundenId, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addGroup(jPanelAuftragsAbwicklungLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jLabel3)
+ .addComponent(jSpinnerArtikelId, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addGroup(jPanelAuftragsAbwicklungLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jLabel4)
+ .addComponent(jSpinnerAnzahl, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addGap(48, 48, 48)
+ .addComponent(jButtonArtikelAbschicken))
+ .addGroup(jPanelAuftragsAbwicklungLayout.createSequentialGroup()
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(jLabel1ReportOutput, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
+ .addContainerGap(90, Short.MAX_VALUE))
+ );
+
+ jTabbedPane1.addTab("Auftragsbearbeitung", jPanelAuftragsAbwicklung);
+
+ jLabel1.setText("Artikelliste");
+
+ jButtonArtikellisteRefresh.setText("refresh");
+ jButtonArtikellisteRefresh.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButtonArtikellisteRefreshActionPerformed(evt);
+ }
+ });
+
+ jTable1.setModel(new javax.swing.table.DefaultTableModel(
+ new Object [][] {
+ {null, null, null, null},
+ {null, null, null, null},
+ {null, null, null, null},
+ {null, null, null, null}
+ },
+ new String [] {
+ "Title 1", "Title 2", "Title 3", "Title 4"
+ }
+ ));
+ jScrollPane2.setViewportView(jTable1);
+
+ jLabel5.setText("id");
+
+ jLabelLagerId.setText("unbekannte id");
+
+ jLabel7.setText("Bezeichnung");
+
+ jLabel8.setText("Anzahl");
+
+ jLabel9.setText("Preis");
+
+ jSpinnerLagerAnzahl.setModel(new javax.swing.SpinnerNumberModel(Long.valueOf(10L), Long.valueOf(0L), null, Long.valueOf(1L)));
+
+ jSpinnerLagerPreis.setModel(new javax.swing.SpinnerNumberModel(Double.valueOf(9.949999809265137d), Double.valueOf(0.0d), null, Double.valueOf(1.0d)));
+
+ jButtonLagerNeu.setText("neu");
+ jButtonLagerNeu.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButtonLagerNeuActionPerformed(evt);
+ }
+ });
+
+ jButtonLagerAendern.setText("ändern");
+ jButtonLagerAendern.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButtonLagerAendernActionPerformed(evt);
+ }
+ });
+
+ jButtonLagerLoeschen.setText("löschen");
+ jButtonLagerLoeschen.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButtonLagerLoeschenActionPerformed(evt);
+ }
+ });
+
+ jButtonCreateDemoArtikel.setText("Demodaten erstellen");
+ jButtonCreateDemoArtikel.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButtonCreateDemoArtikelActionPerformed(evt);
+ }
+ });
+
+ javax.swing.GroupLayout jPanelArtikelLayout = new javax.swing.GroupLayout(jPanelArtikel);
+ jPanelArtikel.setLayout(jPanelArtikelLayout);
+ jPanelArtikelLayout.setHorizontalGroup(
+ jPanelArtikelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanelArtikelLayout.createSequentialGroup()
+ .addContainerGap()
+ .addGroup(jPanelArtikelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanelArtikelLayout.createSequentialGroup()
+ .addComponent(jLabel1)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(jButtonArtikellisteRefresh)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 79, Short.MAX_VALUE)
+ .addComponent(jButtonCreateDemoArtikel))
+ .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 330, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addGroup(jPanelArtikelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanelArtikelLayout.createSequentialGroup()
+ .addGap(35, 35, 35)
+ .addGroup(jPanelArtikelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
+ .addGroup(jPanelArtikelLayout.createSequentialGroup()
+ .addComponent(jLabel5)
+ .addGap(74, 74, 74)
+ .addComponent(jLabelLagerId))
+ .addGroup(jPanelArtikelLayout.createSequentialGroup()
+ .addGroup(jPanelArtikelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jLabel7)
+ .addComponent(jLabel8)
+ .addComponent(jLabel9))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addGroup(jPanelArtikelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jSpinnerLagerPreis, javax.swing.GroupLayout.DEFAULT_SIZE, 80, Short.MAX_VALUE)
+ .addComponent(jSpinnerLagerAnzahl, javax.swing.GroupLayout.DEFAULT_SIZE, 80, Short.MAX_VALUE)
+ .addComponent(jTextFieldLagerBezeichnung, javax.swing.GroupLayout.PREFERRED_SIZE, 99, javax.swing.GroupLayout.PREFERRED_SIZE)))))
+ .addGroup(jPanelArtikelLayout.createSequentialGroup()
+ .addGap(12, 12, 12)
+ .addComponent(jButtonLagerNeu)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(jButtonLagerAendern)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(jButtonLagerLoeschen)))
+ .addGap(70, 70, 70))
+ );
+ jPanelArtikelLayout.setVerticalGroup(
+ jPanelArtikelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanelArtikelLayout.createSequentialGroup()
+ .addContainerGap()
+ .addGroup(jPanelArtikelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jLabel1)
+ .addComponent(jButtonArtikellisteRefresh)
+ .addComponent(jButtonCreateDemoArtikel))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addGroup(jPanelArtikelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanelArtikelLayout.createSequentialGroup()
+ .addGroup(jPanelArtikelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jLabel5)
+ .addComponent(jLabelLagerId))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addGroup(jPanelArtikelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jLabel7)
+ .addComponent(jTextFieldLagerBezeichnung, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addGroup(jPanelArtikelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jLabel8)
+ .addComponent(jSpinnerLagerAnzahl, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addGroup(jPanelArtikelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jLabel9)
+ .addComponent(jSpinnerLagerPreis, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addGap(34, 34, 34)
+ .addGroup(jPanelArtikelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jButtonLagerNeu)
+ .addComponent(jButtonLagerAendern)
+ .addComponent(jButtonLagerLoeschen)))
+ .addComponent(jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 202, Short.MAX_VALUE))
+ .addContainerGap())
+ );
+
+ jTabbedPaneVerwaltung.addTab("Artikel", jPanelArtikel);
+
+ jLabel6.setText("Kundenliste");
+
+ jButtonKundenlisteRefresh.setText("refresh");
+ jButtonKundenlisteRefresh.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButtonKundenlisteRefreshActionPerformed(evt);
+ }
+ });
+
+ jTableKunden.setModel(new javax.swing.table.DefaultTableModel(
+ new Object [][] {
+ {null, null, null, null},
+ {null, null, null, null},
+ {null, null, null, null},
+ {null, null, null, null}
+ },
+ new String [] {
+ "Title 1", "Title 2", "Title 3", "Title 4"
+ }
+ ));
+ jScrollPane3.setViewportView(jTableKunden);
+
+ jLabel10.setText("id");
+
+ jLabelKundeId.setText("unbekannte id");
+
+ jLabel11.setText("Nachname");
+
+ jLabel12.setText("Vorname");
+
+ jLabel13.setText("Adresse");
+
+ jButtonKundeNeu.setText("neu");
+ jButtonKundeNeu.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButtonKundeNeuActionPerformed(evt);
+ }
+ });
+
+ jButtonKundeAendern.setText("ändern");
+ jButtonKundeAendern.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButtonKundeAendernActionPerformed(evt);
+ }
+ });
+
+ jButtonKundeLoeschen.setText("löschen");
+ jButtonKundeLoeschen.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButtonKundeLoeschenActionPerformed(evt);
+ }
+ });
+
+ jTextAreaKundeAdresse.setColumns(20);
+ jTextAreaKundeAdresse.setRows(5);
+ jScrollPane4.setViewportView(jTextAreaKundeAdresse);
+
+ jButtonCreateDemoKunden.setText("Demodaten erstellen");
+ jButtonCreateDemoKunden.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButtonCreateDemoKundenActionPerformed(evt);
+ }
+ });
+
+ javax.swing.GroupLayout jPanelKundeLayout = new javax.swing.GroupLayout(jPanelKunde);
+ jPanelKunde.setLayout(jPanelKundeLayout);
+ jPanelKundeLayout.setHorizontalGroup(
+ jPanelKundeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanelKundeLayout.createSequentialGroup()
+ .addContainerGap()
+ .addGroup(jPanelKundeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanelKundeLayout.createSequentialGroup()
+ .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 330, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGroup(jPanelKundeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanelKundeLayout.createSequentialGroup()
+ .addGap(35, 35, 35)
+ .addGroup(jPanelKundeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanelKundeLayout.createSequentialGroup()
+ .addComponent(jLabel10)
+ .addGap(74, 74, 74)
+ .addComponent(jLabelKundeId, javax.swing.GroupLayout.DEFAULT_SIZE, 94, Short.MAX_VALUE))
+ .addGroup(jPanelKundeLayout.createSequentialGroup()
+ .addGroup(jPanelKundeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jLabel11)
+ .addComponent(jLabel12)
+ .addComponent(jLabel13))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addGroup(jPanelKundeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jScrollPane4, javax.swing.GroupLayout.DEFAULT_SIZE, 122, Short.MAX_VALUE)
+ .addComponent(jTextFieldKundeVorname, javax.swing.GroupLayout.DEFAULT_SIZE, 122, Short.MAX_VALUE)
+ .addComponent(jTextFieldKundeNachname, javax.swing.GroupLayout.DEFAULT_SIZE, 122, Short.MAX_VALUE)))))
+ .addGroup(jPanelKundeLayout.createSequentialGroup()
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
+ .addComponent(jButtonKundeNeu)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(jButtonKundeAendern)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(jButtonKundeLoeschen)))
+ .addGap(44, 44, 44))
+ .addGroup(jPanelKundeLayout.createSequentialGroup()
+ .addComponent(jLabel6)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
+ .addComponent(jButtonKundenlisteRefresh)
+ .addGap(88, 88, 88)
+ .addComponent(jButtonCreateDemoKunden)))
+ .addGap(26, 26, 26))
+ );
+ jPanelKundeLayout.setVerticalGroup(
+ jPanelKundeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanelKundeLayout.createSequentialGroup()
+ .addContainerGap()
+ .addGroup(jPanelKundeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jLabel6)
+ .addComponent(jButtonKundenlisteRefresh)
+ .addComponent(jButtonCreateDemoKunden))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addGroup(jPanelKundeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jScrollPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 367, Short.MAX_VALUE)
+ .addGroup(jPanelKundeLayout.createSequentialGroup()
+ .addGroup(jPanelKundeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jLabel10)
+ .addComponent(jLabelKundeId))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addGroup(jPanelKundeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jLabel11)
+ .addComponent(jTextFieldKundeNachname, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addGroup(jPanelKundeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jLabel12)
+ .addComponent(jTextFieldKundeVorname, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addGroup(jPanelKundeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jLabel13)
+ .addComponent(jScrollPane4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addGap(24, 24, 24)
+ .addGroup(jPanelKundeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jButtonKundeNeu)
+ .addComponent(jButtonKundeAendern)
+ .addComponent(jButtonKundeLoeschen))
+ .addGap(172, 172, 172)))
+ .addContainerGap())
+ );
+
+ jTabbedPaneVerwaltung.addTab("Kunden", jPanelKunde);
+
+ javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
+ jPanel1.setLayout(jPanel1Layout);
+ jPanel1Layout.setHorizontalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addContainerGap()
+ .addComponent(jTabbedPaneVerwaltung)
+ .addContainerGap())
+ );
+ jPanel1Layout.setVerticalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addContainerGap()
+ .addComponent(jTabbedPaneVerwaltung, javax.swing.GroupLayout.DEFAULT_SIZE, 281, Short.MAX_VALUE)
+ .addContainerGap())
+ );
+
+ jTabbedPane1.addTab("Verwaltung", jPanel1);
+
+ jMenu1.setText("Datei");
+
+ jMenuItem1.setText("Beenden");
+ jMenuItem1.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jMenuItem1ActionPerformed(evt);
+ }
+ });
+ jMenu1.add(jMenuItem1);
+
+ jMenuBar1.add(jMenu1);
+
+ jMenu2.setText("Edit");
+ jMenuBar1.add(jMenu2);
+
+ setJMenuBar(jMenuBar1);
+
+ javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
+ getContentPane().setLayout(layout);
+ layout.setHorizontalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(layout.createSequentialGroup()
+ .addContainerGap()
+ .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 651, Short.MAX_VALUE)
+ .addContainerGap())
+ );
+ layout.setVerticalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(layout.createSequentialGroup()
+ .addContainerGap()
+ .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 331, Short.MAX_VALUE)
+ .addContainerGap())
+ );
+
+ pack();
+ }// </editor-fold>//GEN-END:initComponents
+
+ /**
+ * Bestellt die ausgewählte Anzahl des gewählten Artikels
+ * @param evt
+ */
+ private void jButtonArtikelAbschickenActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonArtikelAbschickenActionPerformed
+
+ try {
+ String report = auftragsAbwicklungBean.bestelleArtikel((Long) jSpinnerKundenId.getValue(), (Long) jSpinnerArtikelId.getValue() , (Long) jSpinnerAnzahl.getValue() );
+ jLabel1ReportOutput.setText(report);
+ JOptionPane.showMessageDialog(rootPane, "Auftrag erfolgreich durchgeführt.");
+ } catch (Exception e) {
+ JOptionPane.showMessageDialog(rootPane, "Fehler beim Ausführen des Auftrags. \n" + e.getMessage(),"Fehler", JOptionPane.ERROR_MESSAGE );
+ }
+
+ }//GEN-LAST:event_jButtonArtikelAbschickenActionPerformed
+
+ private void jButtonArtikellisteRefreshActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonArtikellisteRefreshActionPerformed
+ ((ArtikelListeTableModel) jTable1.getModel()).setArtikelListe( artikelManagerBean.readAllArtikel() );
+ }//GEN-LAST:event_jButtonArtikellisteRefreshActionPerformed
+
+ private void jMenuItem1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem1ActionPerformed
+ System.exit(0);
+ }//GEN-LAST:event_jMenuItem1ActionPerformed
+
+ /**
+ * erstellt einen neuen Artikel
+ * @param evt
+ */
+ private void jButtonLagerNeuActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonLagerNeuActionPerformed
+ Artikel a = new Artikel();
+ a.setBezeichnung(jTextFieldLagerBezeichnung.getText());
+ a.setAnzahl((Long) jSpinnerLagerAnzahl.getValue());
+ a.setPreis((Double) jSpinnerLagerPreis.getValue());
+ try {
+ artikelManagerBean.createArtikel(a);
+ } catch (IdBereitsVergebenException ex) {
+ Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
+ }
+ refreshArtikel();
+ }//GEN-LAST:event_jButtonLagerNeuActionPerformed
+
+ /**
+ * loescht einen Artikel
+ * @param evt
+ */
+ private void jButtonLagerLoeschenActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonLagerLoeschenActionPerformed
+ Artikel a = ((ArtikelListeTableModel)jTable1.getModel()).getArtikelListe().get(jTable1.getSelectedRow());
+ artikelManagerBean.deleteArtikel(a.getId());
+ refreshArtikel();
+ }
+
+ /*
+ ((ArtikelListeTableModel) jTable1.getModel()).setArtikelListe(lagerBean.getArtikelListe());//GEN-LAST:event_jButtonLagerLoeschenActionPerformed
+ */
+
+/**
+ * aendert einen Artikel
+ * @param evt
+ */
+ private void jButtonLagerAendernActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonLagerAendernActionPerformed
+ Artikel a = ((ArtikelListeTableModel)jTable1.getModel()).getArtikelListe().get(jTable1.getSelectedRow());
+ a.setBezeichnung(jTextFieldLagerBezeichnung.getText());
+ a.setAnzahl((Long) jSpinnerLagerAnzahl.getValue());
+ a.setPreis((Double) jSpinnerLagerPreis.getValue());
+ artikelManagerBean.updateArtikel(a);
+ refreshArtikel();
+ }//GEN-LAST:event_jButtonLagerAendernActionPerformed
+
+private void jButtonKundenlisteRefreshActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonKundenlisteRefreshActionPerformed
+ refreshKunden();
+}//GEN-LAST:event_jButtonKundenlisteRefreshActionPerformed
+
+private void jButtonKundeNeuActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonKundeNeuActionPerformed
+ Kunde kunde = new Kunde();
+ kunde.setVorname(jTextFieldKundeVorname.getText());
+ kunde.setNachname(jTextFieldKundeNachname.getText());
+ kunde.setAdresse(jTextAreaKundeAdresse.getText());
+
+ kundenManagerBean.createKunde(kunde);
+ refreshKunden();
+}//GEN-LAST:event_jButtonKundeNeuActionPerformed
+
+private void jButtonKundeAendernActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonKundeAendernActionPerformed
+ Kunde kunde = ((KundenListeTableModel)jTableKunden.getModel()).getKundenListe().get(jTableKunden.getSelectedRow());
+ kunde.setVorname(jTextFieldKundeVorname.getText());
+ kunde.setNachname(jTextFieldKundeNachname.getText());
+ kunde.setAdresse(jTextAreaKundeAdresse.getText());
+
+ kundenManagerBean.updateKunde(kunde);
+ refreshKunden();
+}//GEN-LAST:event_jButtonKundeAendernActionPerformed
+
+private void jButtonKundeLoeschenActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonKundeLoeschenActionPerformed
+ Kunde kunde = ((KundenListeTableModel)jTableKunden.getModel()).getKundenListe().get(jTableKunden.getSelectedRow());
+ kundenManagerBean.deleteKunde(kunde.getId());
+ refreshKunden();
+}//GEN-LAST:event_jButtonKundeLoeschenActionPerformed
+
+private void jButtonCreateDemoKundenActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonCreateDemoKundenActionPerformed
+ createDemoKunden();
+}//GEN-LAST:event_jButtonCreateDemoKundenActionPerformed
+
+private void jButtonCreateDemoArtikelActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonCreateDemoArtikelActionPerformed
+createDemoArtikel();
+}//GEN-LAST:event_jButtonCreateDemoArtikelActionPerformed
+
+/**
+ * liest die Artikel neu ein und zeigt sie in der Tabelle an
+ */
+private void refreshArtikel(){
+ ((ArtikelListeTableModel) jTable1.getModel()).setArtikelListe( artikelManagerBean.readAllArtikel() );
+}
+
+/**
+ * liest die Kunden neu ein und zeigt sie in der Tabelle an
+ */
+private void refreshKunden(){
+ ((KundenListeTableModel) jTableKunden.getModel()).setKundenListe( kundenManagerBean.readAllKunden() );
+}
+
+private void createDemoKunden(){
+ kundenManagerBean.deleteAllKunden();
+
+ kundenManagerBean.createKunde(new Kunde(1L, "Hans", "Bauer", "Kirchgasse 3, 12345 Musterstadt"));
+ kundenManagerBean.createKunde(new Kunde(2L, "Petra", "Schneider", "Opernplatz 3, 23234 Frankfurt"));
+ kundenManagerBean.createKunde(new Kunde(3L, "Sabine", "Friedrich", "Turmstrasse 17, 11122 Bielefeld"));
+
+ refreshKunden();
+}
+
+private void createDemoArtikel(){
+ try {
+ artikelManagerBean.deleteAllArtikel();
+
+ artikelManagerBean.createArtikel(new Artikel(1L, "Reifen", 20L, 12.95));
+ artikelManagerBean.createArtikel(new Artikel(2L, "Klingel", 7L, 4.95));
+ artikelManagerBean.createArtikel(new Artikel(3L, "Trinkflasche", 18L, 7.95));
+ artikelManagerBean.createArtikel(new Artikel(4L, "Helm", 8L, 59.95));
+ artikelManagerBean.createArtikel(new Artikel(5L, "Fahradlampe", 23L, 8.95));
+ artikelManagerBean.createArtikel(new Artikel(6L, "Reflektor", 11L, 2.95));
+ artikelManagerBean.createArtikel(new Artikel(7L, "Schlauch", 12L, 11.50));
+
+
+
+ refreshArtikel();
+ } catch (IdBereitsVergebenException ex) {
+ Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
+ }
+}
+
+ /**
+ * Start des Clients
+ * @param args the command line arguments
+ */
+ public static void main(String args[]) {
+ java.awt.EventQueue.invokeLater(new Runnable() {
+
+ public void run() {
+ new Main().setVisible(true);
+ }
+ });
+ }
+ // Variables declaration - do not modify//GEN-BEGIN:variables
+ private javax.swing.JButton jButtonArtikelAbschicken;
+ private javax.swing.JButton jButtonArtikellisteRefresh;
+ private javax.swing.JButton jButtonCreateDemoArtikel;
+ private javax.swing.JButton jButtonCreateDemoKunden;
+ private javax.swing.JButton jButtonKundeAendern;
+ private javax.swing.JButton jButtonKundeLoeschen;
+ private javax.swing.JButton jButtonKundeNeu;
+ private javax.swing.JButton jButtonKundenlisteRefresh;
+ private javax.swing.JButton jButtonLagerAendern;
+ private javax.swing.JButton jButtonLagerLoeschen;
+ private javax.swing.JButton jButtonLagerNeu;
+ private javax.swing.JLabel jLabel1;
+ private javax.swing.JLabel jLabel10;
+ private javax.swing.JLabel jLabel11;
+ private javax.swing.JLabel jLabel12;
+ private javax.swing.JLabel jLabel13;
+ private javax.swing.JLabel jLabel14;
+ private javax.swing.JLabel jLabel1ReportOutput;
+ private javax.swing.JLabel jLabel2;
+ private javax.swing.JLabel jLabel3;
+ private javax.swing.JLabel jLabel4;
+ private javax.swing.JLabel jLabel5;
+ private javax.swing.JLabel jLabel6;
+ private javax.swing.JLabel jLabel7;
+ private javax.swing.JLabel jLabel8;
+ private javax.swing.JLabel jLabel9;
+ private javax.swing.JLabel jLabelKundeId;
+ private javax.swing.JLabel jLabelLagerId;
+ private javax.swing.JMenu jMenu1;
+ private javax.swing.JMenu jMenu2;
+ private javax.swing.JMenuBar jMenuBar1;
+ private javax.swing.JMenuItem jMenuItem1;
+ private javax.swing.JPanel jPanel1;
+ private javax.swing.JPanel jPanelArtikel;
+ private javax.swing.JPanel jPanelAuftragsAbwicklung;
+ private javax.swing.JPanel jPanelKunde;
+ private javax.swing.JScrollPane jScrollPane2;
+ private javax.swing.JScrollPane jScrollPane3;
+ private javax.swing.JScrollPane jScrollPane4;
+ private javax.swing.JSpinner jSpinnerAnzahl;
+ private javax.swing.JSpinner jSpinnerArtikelId;
+ private javax.swing.JSpinner jSpinnerKundenId;
+ private javax.swing.JSpinner jSpinnerLagerAnzahl;
+ private javax.swing.JSpinner jSpinnerLagerPreis;
+ private javax.swing.JTabbedPane jTabbedPane1;
+ private javax.swing.JTabbedPane jTabbedPaneVerwaltung;
+ private javax.swing.JTable jTable1;
+ private javax.swing.JTable jTableKunden;
+ private javax.swing.JTextArea jTextAreaKundeAdresse;
+ private javax.swing.JTextField jTextFieldKundeNachname;
+ private javax.swing.JTextField jTextFieldKundeVorname;
+ private javax.swing.JTextField jTextFieldLagerBezeichnung;
+ // End of variables declaration//GEN-END:variables
+}
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/build.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/build.xml
new file mode 100644
index 0000000..6abd80c
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/build.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- You may freely edit this file. See commented blocks below for -->
+<!-- some examples of how to customize the build. -->
+<!-- (If you delete it and reopen the project it will be recreated.) -->
+<!-- By default, only the Clean and Build commands use this build script. -->
+<!-- Commands such as Run, Debug, and Test only use this build script if -->
+<!-- the Compile on Save feature is turned off for the project. -->
+<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
+<!-- in the project's Project Properties dialog box.-->
+<project name="DSI-ejb" default="default" basedir="." xmlns:ejbjarproject="http://www.netbeans.org/ns/j2ee-ejbjarproject/3">
+ <description>Builds, tests, and runs the project DSI-ejb.</description>
+ <import file="nbproject/build-impl.xml"/>
+ <!--
+
+ There exist several targets which are by default empty and which can be
+ used for execution of your tasks. These targets are usually executed
+ before and after some main targets. They are:
+
+ -pre-init: called before initialization of project properties
+ -post-init: called after initialization of project properties
+ -pre-compile: called before javac compilation
+ -post-compile: called after javac compilation
+ -pre-compile-single: called before javac compilation of single file
+ -post-compile-single: called after javac compilation of single file
+ -pre-dist: called before archive building
+ -post-dist: called after archive building
+ -post-clean: called after cleaning build products
+ -pre-run-deploy: called before deploying
+ -post-run-deploy: called after deploying
+
+ (Targets beginning with '-' are not intended to be called on their own.)
+
+ Example of pluging an obfuscator after the compilation could look like
+
+ <target name="-post-compile">
+ <obfuscate>
+ <fileset dir="${build.classes.dir}"/>
+ </obfuscate>
+ </target>
+
+ For list of available properties check the imported
+ nbproject/build-impl.xml file.
+
+
+ Other way how to customize the build is by overriding existing main targets.
+ The target of interest are:
+
+ init-macrodef-javac: defines macro for javac compilation
+ init-macrodef-debug: defines macro for class debugging
+ do-dist: archive building
+ run: execution of project
+ javadoc-build: javadoc generation
+
+ Example of overriding the target for project execution could look like
+
+ <target name="run" depends="<PROJNAME>-impl.jar">
+ <exec dir="bin" executable="launcher.exe">
+ <arg file="${dist.jar}"/>
+ </exec>
+ </target>
+
+ Notice that overridden target depends on jar target and not only on
+ compile target as regular run target does. Again, for list of available
+ properties which you can use check the target you are overriding in
+ nbproject/build-impl.xml file.
+
+ -->
+</project>
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/nbproject/ant-deploy.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/nbproject/ant-deploy.xml
new file mode 100644
index 0000000..28ca9b4
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/nbproject/ant-deploy.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project default="-deploy-ant" basedir=".">
+ <target name="-init-cl-deployment-env" if="deploy.ant.enabled">
+ <property file="${deploy.ant.properties.file}" />
+ <available file="${deploy.ant.docbase.dir}/WEB-INF/sun-web.xml" property="sun.web.present"/>
+ <available file="${deploy.ant.resource.dir}" property="has.setup"/>
+ <tempfile prefix="sjsas" property="sjsas.password.file" destdir="${java.io.tmpdir}"/> <!-- do not forget to delete this! -->
+ <echo message="AS_ADMIN_PASSWORD=${sjsas.password}" file="${sjsas.password.file}"/>
+ </target>
+
+ <target name="-parse-sun-web" depends="-init-cl-deployment-env" if="sun.web.present">
+ <tempfile prefix="sjsas" property="temp.sun.web" destdir="${java.io.tmpdir}"/>
+ <copy file="${deploy.ant.docbase.dir}/WEB-INF/sun-web.xml" tofile="${temp.sun.web}"/>
+ <!-- The doctype triggers resolution which can fail -->
+ <replace file="${temp.sun.web}">
+ <replacetoken><![CDATA[<!DOCTYPE]]></replacetoken>
+ <replacevalue><![CDATA[<!-- <!DOCTYPE]]></replacevalue>
+ </replace>
+ <replace file="${temp.sun.web}">
+ <replacetoken><![CDATA[<sun-web-app]]></replacetoken>
+ <replacevalue><![CDATA[--> <sun-web-app]]></replacevalue>
+ </replace>
+ <xmlproperty file="${temp.sun.web}" validate="false">
+ </xmlproperty>
+ <delete file="${temp.sun.web}"/>
+ <property name="deploy.ant.client.url" value="${sjsas.url}${sun-web-app.context-root}"/>
+ </target>
+ <target name="-add-resources" depends="-init-cl-deployment-env" if="has.setup">
+ <tempfile prefix="sjsas" property="sjsas.resources.dir" destdir="${java.io.tmpdir}"/>
+ <mkdir dir="${sjsas.resources.dir}"/>
+ <mkdir dir="${sjsas.resources.dir}/META-INF"/>
+ <property name="sjsas.resources.file" value="${sjsas.resources.dir}/META-INF/sun-resources.xml"/>
+ <copy todir="${sjsas.resources.dir}/META-INF">
+ <fileset dir="${deploy.ant.resource.dir}"/>
+ </copy>
+ <jar destfile="${deploy.ant.archive}" update="true">
+ <fileset dir="${sjsas.resources.dir}"/>
+ </jar>
+ <delete dir="${sjsas.resources.dir}"/>
+ </target>
+ <target name="-deploy-ant" depends="-parse-sun-web,-add-resources" if="deploy.ant.enabled">
+ <echo message="Deploying ${deploy.ant.archive}"/>
+ <taskdef name="sun-appserv-deploy" classname="org.apache.tools.ant.taskdefs.optional.sun.appserv.DeployTask"
+ classpath="${sjsas.root}/lib/sun-appserv-ant.jar" />
+ <sun-appserv-deploy user="${sjsas.username}"
+ passwordfile="${sjsas.password.file}"
+ host="${sjsas.host}" port="${sjsas.port}"
+ file="${deploy.ant.archive}" asinstalldir="${sjsas.root}"/>
+ <delete file="${sjsas.password.file}"/>
+ </target>
+ <target name="-undeploy-ant" depends="-init-cl-deployment-env" if="deploy.ant.enabled">
+ <taskdef name="sun-appserv-undeploy" classname="org.apache.tools.ant.taskdefs.optional.sun.appserv.UndeployTask"
+ classpath="${sjsas.root}/lib/sun-appserv-ant.jar" />
+ <sun-appserv-undeploy user="${sjsas.username}"
+ passwordfile="${sjsas.password.file}"
+ host="${sjsas.host}" port="${sjsas.port}"
+ file="${deploy.ant.archive}" asinstalldir="${sjsas.root}"/>
+ <delete file="${sjsas.password.file}"/>
+ </target>
+</project>
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/nbproject/build-impl.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/nbproject/build-impl.xml
new file mode 100644
index 0000000..889b693
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/nbproject/build-impl.xml
@@ -0,0 +1,590 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*** GENERATED FROM project.xml - DO NOT EDIT ***
+*** EDIT ../build.xml INSTEAD ***
+
+For the purpose of easier reading the script
+is divided into following sections:
+
+ - initialization
+ - compilation
+ - dist
+ - execution
+ - debugging
+ - javadoc
+ - cleanup
+
+ -->
+<project xmlns:ejbjarproject1="http://www.netbeans.org/ns/j2ee-ejbjarproject/1" xmlns:ejbjarproject2="http://www.netbeans.org/ns/j2ee-ejbjarproject/2" xmlns:ejbjarproject3="http://www.netbeans.org/ns/j2ee-ejbjarproject/3" basedir=".." default="default" name="DSI-ejb-impl">
+ <import file="ant-deploy.xml"/>
+ <target depends="dist,javadoc" description="Build whole project." name="default"/>
+ <!--
+ INITIALIZATION SECTION
+ -->
+ <target name="-pre-init">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="-pre-init" name="-init-private">
+ <property file="nbproject/private/private.properties"/>
+ </target>
+ <target depends="-pre-init,-init-private" name="-init-libraries">
+ <property location="..\.\lib\nblibraries.properties" name="libraries.1.path"/>
+ <dirname file="${libraries.1.path}" property="libraries.1.dir.nativedirsep"/>
+ <pathconvert dirsep="/" property="libraries.1.dir">
+ <path path="${libraries.1.dir.nativedirsep}"/>
+ </pathconvert>
+ <basename file="${libraries.1.path}" property="libraries.1.basename" suffix=".properties"/>
+ <touch file="${libraries.1.dir}/${libraries.1.basename}-private.properties"/>
+ <loadproperties srcfile="${libraries.1.dir}/${libraries.1.basename}-private.properties">
+ <filterchain>
+ <replacestring from="$${base}" to="${libraries.1.dir}"/>
+ </filterchain>
+ </loadproperties>
+ <loadproperties srcfile="${libraries.1.path}">
+ <filterchain>
+ <replacestring from="$${base}" to="${libraries.1.dir}"/>
+ </filterchain>
+ </loadproperties>
+ </target>
+ <target depends="-pre-init,-init-private,-init-libraries" name="-init-userdir">
+ <property location="${netbeans.user}/build.properties" name="user.properties.file"/>
+ </target>
+ <target depends="-pre-init,-init-private,-init-libraries,-init-userdir" name="-init-user">
+ <property file="${user.properties.file}"/>
+ <!-- The two properties below are usually overridden -->
+ <!-- by the active platform. Just a fallback. -->
+ <property name="default.javac.source" value="1.4"/>
+ <property name="default.javac.target" value="1.4"/>
+ </target>
+ <target depends="-pre-init,-init-private,-init-libraries,-init-userdir,-init-user" name="-init-project">
+ <property file="nbproject/project.properties"/>
+ </target>
+ <target depends="-pre-init,-init-private,-init-libraries,-init-userdir,-init-user,-init-project,-init-macrodef-property" name="-do-init">
+ <!-- Ensure configuration directory exists. -->
+ <mkdir dir="${meta.inf}"/>
+ <property name="runmain.jvmargs" value=""/>
+ <condition property="have.tests">
+ <or>
+ <available file="${test.src.dir}"/>
+ </or>
+ </condition>
+ <condition property="have.sources">
+ <or>
+ <available file="${src.dir}"/>
+ </or>
+ </condition>
+ <condition property="netbeans.home+have.tests">
+ <and>
+ <isset property="netbeans.home"/>
+ <isset property="have.tests"/>
+ </and>
+ </condition>
+ <condition property="no.javadoc.preview">
+ <isfalse value="${javadoc.preview}"/>
+ </condition>
+ <available file="${meta.inf}/MANIFEST.MF" property="has.custom.manifest"/>
+ <condition property="classes.dir" value="${build.ear.classes.dir}">
+ <isset property="dist.ear.dir"/>
+ </condition>
+ <property name="classes.dir" value="${build.classes.dir}"/>
+ <condition property="no.deps">
+ <and>
+ <istrue value="${no.dependencies}"/>
+ </and>
+ </condition>
+ <condition property="no.dist.ear.dir">
+ <not>
+ <isset property="dist.ear.dir"/>
+ </not>
+ </condition>
+ <property name="source.encoding" value="${file.encoding}"/>
+ <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
+ <and>
+ <isset property="javadoc.encoding"/>
+ <not>
+ <equals arg1="${javadoc.encoding}" arg2=""/>
+ </not>
+ </and>
+ </condition>
+ <property name="javadoc.encoding.used" value="${source.encoding}"/>
+ <property name="includes" value="**"/>
+ <property name="excludes" value=""/>
+ <condition else="" property="javac.compilerargs.jaxws" value="-Djava.endorsed.dirs='${jaxws.endorsed.dir}'">
+ <and>
+ <isset property="jaxws.endorsed.dir"/>
+ <available file="nbproject/jaxws-build.xml"/>
+ </and>
+ </condition>
+ </target>
+ <target depends="init" name="-init-cos" unless="deploy.on.save">
+ <condition property="deploy.on.save" value="true">
+ <istrue value="${j2ee.deploy.on.save}"/>
+ </condition>
+ </target>
+ <target name="-post-init">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="-pre-init,-init-private,-init-libraries,-init-userdir,-init-user,-init-project,-do-init" name="-init-check">
+ <fail unless="src.dir">Must set src.dir</fail>
+ <fail unless="test.src.dir">Must set test.src.dir</fail>
+ <fail unless="build.dir">Must set build.dir</fail>
+ <fail unless="build.generated.dir">Must set build.generated.dir</fail>
+ <fail unless="dist.dir">Must set dist.dir</fail>
+ <fail unless="build.classes.dir">Must set build.classes.dir</fail>
+ <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
+ <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
+ <fail unless="dist.jar">Must set dist.jar</fail>
+ <fail unless="j2ee.platform.classpath">
+The Java EE server classpath is not correctly set up. Your active server type is ${j2ee.server.type}.
+Either open the project in the IDE and assign the server or setup the server classpath manually.
+For example like this:
+ ant -Duser.properties.file=&lt;path_to_property_file&gt; (where you put the property "j2ee.platform.classpath" in a .properties file)
+or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties file is used)
+ </fail>
+ </target>
+ <target name="-init-macrodef-property">
+ <macrodef name="property" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/1">
+ <attribute name="name"/>
+ <attribute name="value"/>
+ <sequential>
+ <property name="@{name}" value="${@{value}}"/>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-macrodef-javac">
+ <macrodef name="javac" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/2">
+ <attribute default="${src.dir}" name="srcdir"/>
+ <attribute default="${build.classes.dir}" name="destdir"/>
+ <attribute default="${javac.classpath}:${j2ee.platform.classpath}" name="classpath"/>
+ <attribute default="${includes}" name="includes"/>
+ <attribute default="${excludes}" name="excludes"/>
+ <attribute default="${javac.debug}" name="debug"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <property name="javac.compilerargs" value=""/>
+ <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" includeantruntime="false" includes="@{includes}" source="${javac.source}" srcdir="@{srcdir}" target="${javac.target}">
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ <compilerarg line="${javac.compilerargs} ${javac.compilerargs.jaxws}"/>
+ <customize/>
+ </javac>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-macrodef-junit">
+ <macrodef name="junit" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/2">
+ <attribute default="${includes}" name="includes"/>
+ <attribute default="${excludes}" name="excludes"/>
+ <attribute default="**" name="testincludes"/>
+ <sequential>
+ <junit dir="${basedir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true">
+ <batchtest todir="${build.test.results.dir}">
+ <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ </batchtest>
+ <classpath>
+ <path path="${run.test.classpath}"/>
+ <path path="${j2ee.platform.classpath}"/>
+ </classpath>
+ <syspropertyset>
+ <propertyref prefix="test-sys-prop."/>
+ <mapper from="test-sys-prop.*" to="*" type="glob"/>
+ </syspropertyset>
+ <formatter type="brief" usefile="false"/>
+ <formatter type="xml"/>
+ <jvmarg line="${runmain.jvmargs}"/>
+ </junit>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-macrodef-java">
+ <macrodef name="java" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/3">
+ <attribute default="${main.class}" name="classname"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <java classname="@{classname}" fork="true">
+ <jvmarg line="${runmain.jvmargs}"/>
+ <classpath>
+ <path path="${build.classes.dir}:${javac.classpath}:${j2ee.platform.classpath}"/>
+ </classpath>
+ <syspropertyset>
+ <propertyref prefix="run-sys-prop."/>
+ <mapper from="run-sys-prop.*" to="*" type="glob"/>
+ </syspropertyset>
+ <customize/>
+ </java>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
+ <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/1">
+ <attribute default="${main.class}" name="name"/>
+ <attribute default="${debug.classpath}" name="classpath"/>
+ <sequential>
+ <nbjpdastart addressproperty="jpda.address" name="@{name}" transport="${debug-transport}">
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ </nbjpdastart>
+ </sequential>
+ </macrodef>
+ <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/1">
+ <attribute default="${build.classes.dir}" name="dir"/>
+ <sequential>
+ <nbjpdareload>
+ <fileset dir="@{dir}" includes="${fix.classes}">
+ <include name="${fix.includes}*.class"/>
+ </fileset>
+ </nbjpdareload>
+ </sequential>
+ </macrodef>
+ <macrodef name="nbjpdaappreloaded" uri="http://www.netbeans.org/ns/web-project/1">
+ <sequential>
+ <nbjpdaappreloaded/>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-debug-args">
+ <property name="version-output" value="java version &quot;${ant.java.version}"/>
+ <condition property="have-jdk-older-than-1.4">
+ <or>
+ <contains string="${version-output}" substring="java version &quot;1.0"/>
+ <contains string="${version-output}" substring="java version &quot;1.1"/>
+ <contains string="${version-output}" substring="java version &quot;1.2"/>
+ <contains string="${version-output}" substring="java version &quot;1.3"/>
+ </or>
+ </condition>
+ <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
+ <istrue value="${have-jdk-older-than-1.4}"/>
+ </condition>
+ <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
+ <os family="windows"/>
+ </condition>
+ <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
+ <isset property="debug.transport"/>
+ </condition>
+ </target>
+ <target depends="-init-debug-args" name="-init-macrodef-debug">
+ <macrodef name="debug" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/1">
+ <attribute default="${main.class}" name="classname"/>
+ <attribute default="${debug.classpath}" name="classpath"/>
+ <attribute default="${application.args}" name="args"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <java classname="@{classname}" fork="true">
+ <jvmarg line="${debug-args-line}"/>
+ <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ <arg line="@{args}"/>
+ <customize/>
+ </java>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-taskdefs">
+ <fail unless="libs.CopyLibs.classpath">
+The libs.CopyLibs.classpath property is not set up.
+This property must point to
+org-netbeans-modules-java-j2seproject-copylibstask.jar file which is part
+of NetBeans IDE installation and is usually located at
+&lt;netbeans_installation&gt;/java&lt;version&gt;/ant/extra folder.
+Either open the project in the IDE and make sure CopyLibs library
+exists or setup the property manually. For example like this:
+ ant -Dlibs.CopyLibs.classpath=a/path/to/org-netbeans-modules-java-j2seproject-copylibstask.jar
+ </fail>
+ <taskdef classpath="${libs.CopyLibs.classpath}" resource="org/netbeans/modules/java/j2seproject/copylibstask/antlib.xml"/>
+ </target>
+ <target depends="-pre-init,-init-private,-init-userdir,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-junit,-init-macrodef-java,-init-macrodef-nbjpda,-init-macrodef-debug,-init-taskdefs" name="init"/>
+ <!--
+ COMPILATION SECTION
+ -->
+ <target depends="init" if="no.dist.ear.dir" name="-deps-module-jar" unless="no.deps"/>
+ <target depends="init" if="dist.ear.dir" name="-deps-ear-jar" unless="no.deps"/>
+ <target depends="init, -deps-module-jar, -deps-ear-jar" name="deps-jar"/>
+ <target depends="init,deps-jar" name="-pre-pre-compile">
+ <mkdir dir="${build.classes.dir}"/>
+ <mkdir dir="${build.ear.classes.dir}"/>
+ </target>
+ <target name="-pre-compile">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="compile" name="library-inclusion-in-archive"/>
+ <target depends="compile" name="library-inclusion-in-manifest">
+ <manifest file="${build.ear.classes.dir}/META-INF/MANIFEST.MF" mode="update"/>
+ </target>
+ <target name="-copy-meta-inf">
+ <copy todir="${classes.dir}">
+ <fileset dir="${meta.inf}" includes="**/*.dbschema"/>
+ </copy>
+ <copy todir="${classes.dir}/META-INF">
+ <fileset dir="${meta.inf}" excludes="**/*.dbschema **/xml-resources/** ${meta.inf.excludes}"/>
+ </copy>
+ </target>
+ <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-copy-meta-inf" if="have.sources" name="-do-compile">
+ <ejbjarproject2:javac destdir="${classes.dir}"/>
+ <copy todir="${classes.dir}">
+ <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ </copy>
+ </target>
+ <target name="-post-compile">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
+ <target name="-pre-compile-single">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
+ <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
+ <ejbjarproject2:javac excludes="" includes="${javac.includes}"/>
+ </target>
+ <target name="-post-compile-single">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
+ <!--
+ DIST BUILDING SECTION
+ -->
+ <target name="-pre-dist">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,compile,-pre-dist,library-inclusion-in-archive" if="has.custom.manifest" name="-do-dist-with-manifest">
+ <dirname file="${dist.jar}" property="dist.jar.dir"/>
+ <mkdir dir="${dist.jar.dir}"/>
+ <jar compress="${jar.compress}" jarfile="${dist.jar}" manifest="${build.classes.dir}/META-INF/MANIFEST.MF">
+ <fileset dir="${build.classes.dir}"/>
+ </jar>
+ </target>
+ <target depends="init,compile,-pre-dist,library-inclusion-in-archive" name="-do-dist-without-manifest" unless="has.custom.manifest">
+ <dirname file="${dist.jar}" property="dist.jar.dir"/>
+ <mkdir dir="${dist.jar.dir}"/>
+ <jar compress="${jar.compress}" jarfile="${dist.jar}">
+ <fileset dir="${build.classes.dir}"/>
+ </jar>
+ </target>
+ <target depends="init,compile,-pre-dist,library-inclusion-in-archive, -do-dist-without-manifest, -do-dist-with-manifest" name="-do-dist"/>
+ <target depends="init,compile,-pre-dist,library-inclusion-in-manifest" name="-do-ear-dist">
+ <dirname file="${dist.ear.jar}" property="dist.jar.dir"/>
+ <mkdir dir="${dist.jar.dir}"/>
+ <jar compress="${jar.compress}" jarfile="${dist.ear.jar}" manifest="${build.ear.classes.dir}/META-INF/MANIFEST.MF">
+ <fileset dir="${build.ear.classes.dir}"/>
+ </jar>
+ </target>
+ <target name="-post-dist">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,compile,-pre-dist,-do-dist,-post-dist" description="Build distribution (JAR)." name="dist"/>
+ <target depends="init,-init-cos,compile,-pre-dist,-do-ear-dist,-post-dist" description="Build distribution (JAR) to be packaged into an EAR." name="dist-ear"/>
+ <!--
+ EXECUTION SECTION
+ -->
+ <target depends="run-deploy" description="Deploy to server." name="run"/>
+ <target name="-init-deploy">
+ <property name="include.jar.manifest" value=""/>
+ </target>
+ <target name="pre-run-deploy">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="post-run-deploy">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="-pre-nbmodule-run-deploy">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- This target can be overriden by NetBeans modules. Don't override it directly, use -pre-run-deploy task instead. -->
+ </target>
+ <target name="-post-nbmodule-run-deploy">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- This target can be overriden by NetBeans modules. Don't override it directly, use -post-run-deploy task instead. -->
+ </target>
+ <target name="-run-deploy-am">
+ <!-- Task to deploy to the Access Manager runtime. -->
+ </target>
+ <target depends="init,-init-cos,-init-deploy,compile,library-inclusion-in-archive,dist,pre-run-deploy,-pre-nbmodule-run-deploy,-run-deploy-nb,-init-deploy-ant,-deploy-ant,-run-deploy-am,-post-nbmodule-run-deploy,post-run-deploy" name="run-deploy">
+ <nbjpdaappreloaded/>
+ </target>
+ <target if="netbeans.home" name="-run-deploy-nb">
+ <nbdeploy debugmode="false" forceRedeploy="${forceRedeploy}"/>
+ </target>
+ <target name="-init-deploy-ant" unless="netbeans.home">
+ <property name="deploy.ant.archive" value="${dist.jar}"/>
+ <property name="deploy.ant.resource.dir" value="${resource.dir}"/>
+ <property name="deploy.ant.enabled" value="true"/>
+ </target>
+ <target depends="dist,-run-undeploy-nb,-init-deploy-ant,-undeploy-ant" name="run-undeploy"/>
+ <target if="netbeans.home" name="-run-undeploy-nb">
+ <fail message="Undeploy is not supported from within the IDE"/>
+ </target>
+ <target depends="dist" name="verify">
+ <nbverify file="${dist.jar}"/>
+ </target>
+ <target depends="init,compile-single" name="run-main">
+ <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
+ <ejbjarproject3:java classname="${run.class}"/>
+ </target>
+ <!--
+ DEBUGGING SECTION
+ -->
+ <target depends="init,compile,dist" description="Debug project in IDE." if="netbeans.home" name="debug">
+ <nbdeploy debugmode="true"/>
+ <antcall target="connect-debugger"/>
+ </target>
+ <target name="connect-debugger" unless="is.debugged">
+ <nbjpdaconnect address="${jpda.address}" host="${jpda.host}" name="${name}" transport="${jpda.transport}">
+ <classpath>
+ <path path="${debug.classpath}"/>
+ </classpath>
+ <sourcepath>
+ <path path="${web.docbase.dir}"/>
+ </sourcepath>
+ </nbjpdaconnect>
+ </target>
+ <target depends="init" if="netbeans.home" name="-debug-start-debugger">
+ <ejbjarproject1:nbjpdastart/>
+ </target>
+ <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
+ <fail unless="main.class">Must select one file in the IDE or set main.class</fail>
+ <ejbjarproject1:debug/>
+ </target>
+ <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single-main"/>
+ <target depends="init" name="-pre-debug-fix">
+ <fail unless="fix.includes">Must set fix.includes</fail>
+ <property name="javac.includes" value="${fix.includes}.java"/>
+ </target>
+ <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
+ <ejbjarproject1:nbjpdareload/>
+ </target>
+ <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
+ <!--
+ JAVADOC SECTION
+ -->
+ <target depends="init" name="javadoc-build">
+ <mkdir dir="${dist.javadoc.dir}"/>
+ <javadoc additionalparam="${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}">
+ <classpath>
+ <path path="${javac.classpath}:${j2ee.platform.classpath}"/>
+ </classpath>
+ <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/*.java"/>
+ </fileset>
+ </javadoc>
+ </target>
+ <target depends="init,javadoc-build" if="netbeans.home" name="javadoc-browse" unless="no.javadoc.preview">
+ <nbbrowse file="${dist.javadoc.dir}/index.html"/>
+ </target>
+ <target depends="init,javadoc-build,javadoc-browse" description="Build Javadoc." name="javadoc"/>
+ <!--
+ JUNIT COMPILATION SECTION
+ -->
+ <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
+ <mkdir dir="${build.test.classes.dir}"/>
+ </target>
+ <target name="-pre-compile-test">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test" if="have.tests" name="-do-compile-test">
+ <ejbjarproject2:javac classpath="${javac.test.classpath}:${j2ee.platform.classpath}" debug="true" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
+ <copy todir="${build.test.classes.dir}">
+ <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ </copy>
+ </target>
+ <target name="-post-compile-test">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
+ <target name="-pre-compile-test-single">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
+ <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
+ <ejbjarproject2:javac classpath="${javac.test.classpath}:${j2ee.platform.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" srcdir="${test.src.dir}"/>
+ </target>
+ <target name="-post-compile-test-single">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
+ <!--
+ JUNIT EXECUTION SECTION
+ -->
+ <target depends="init" if="have.tests" name="-pre-test-run">
+ <mkdir dir="${build.test.results.dir}"/>
+ </target>
+ <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
+ <ejbjarproject2:junit testincludes="**/*Test.java"/>
+ </target>
+ <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
+ <fail if="tests.failed">Some tests failed; see details above.</fail>
+ </target>
+ <target depends="init" if="have.tests" name="test-report"/>
+ <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
+ <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
+ <target depends="init" if="have.tests" name="-pre-test-run-single">
+ <mkdir dir="${build.test.results.dir}"/>
+ </target>
+ <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
+ <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
+ <ejbjarproject2:junit excludes="" includes="${test.includes}"/>
+ </target>
+ <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
+ <fail if="tests.failed">Some tests failed; see details above.</fail>
+ </target>
+ <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test." name="test-single"/>
+ <!--
+ JUNIT DEBUGGING SECTION
+ -->
+ <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
+ <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
+ <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
+ <delete file="${test.report.file}"/>
+ <!-- the directory must exist, otherwise the XML formatter would fail -->
+ <mkdir dir="${build.test.results.dir}"/>
+ <ejbjarproject1:debug args="${test.class}" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner" classpath="${ant.home}/lib/ant.jar:${ant.home}/lib/ant-junit.jar:${debug.test.classpath}">
+ <customize>
+ <arg value="showoutput=true"/>
+ <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
+ <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
+ </customize>
+ </ejbjarproject1:debug>
+ </target>
+ <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
+ <ejbjarproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
+ </target>
+ <target depends="init,compile-test,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
+ <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
+ <ejbjarproject1:nbjpdareload dir="${build.test.classes.dir}"/>
+ </target>
+ <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
+ <!--
+ CLEANUP SECTION
+ -->
+ <target depends="init" if="no.dist.ear.dir" name="deps-clean" unless="no.deps"/>
+ <target depends="init" name="-do-clean">
+ <delete dir="${build.dir}"/>
+ <delete dir="${dist.dir}"/>
+ </target>
+ <target name="-post-clean">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init" if="netbeans.home" name="undeploy-clean">
+ <nbundeploy failOnError="false" startServer="false"/>
+ </target>
+ <target depends="init,undeploy-clean,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
+ <target depends="clean" name="clean-ear"/>
+</project>
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/nbproject/genfiles.properties b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/nbproject/genfiles.properties
new file mode 100644
index 0000000..57ecb0b
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/nbproject/genfiles.properties
@@ -0,0 +1,8 @@
+build.xml.data.CRC32=a92f067b
+build.xml.script.CRC32=c69124cc
+build.xml.stylesheet.CRC32=e5f4c432
+# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
+# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
+nbproject/build-impl.xml.data.CRC32=a92f067b
+nbproject/build-impl.xml.script.CRC32=3de6bbe8
+nbproject/build-impl.xml.stylesheet.CRC32=36c39d59
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/nbproject/private/private.properties b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/nbproject/private/private.properties
new file mode 100644
index 0000000..e0fdfe7
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/nbproject/private/private.properties
@@ -0,0 +1,9 @@
+deploy.ant.properties.file=C:\\Dokumente und Einstellungen\\Jan\\.netbeans\\6.5\\glassfish.properties
+j2ee.platform.classpath=D:\\Programme\\glassfish-v2.1\\lib\\javaee.jar:D:\\Programme\\glassfish-v2.1\\lib\\jsf-impl.jar:D:\\Programme\\glassfish-v2.1\\lib\\activation.jar:D:\\Programme\\glassfish-v2.1\\lib\\appserv-tags.jar:D:\\Programme\\glassfish-v2.1\\lib\\mail.jar:D:\\Programme\\glassfish-v2.1\\lib\\appserv-jstl.jar:D:\\Programme\\glassfish-v2.1\\lib\\webservices-tools.jar:D:\\Programme\\glassfish-v2.1\\lib\\webservices-rt.jar:D:\\Programme\\glassfish-v2.1\\lib\\appserv-ws.jar
+j2ee.platform.wscompile.classpath=D:\\Programme\\glassfish-v2.1\\lib\\j2ee.jar:D:\\Programme\\glassfish-v2.1\\lib\\saaj-api.jar:D:\\Programme\\glassfish-v2.1\\lib\\saaj-impl.jar:D:\\Programme\\glassfish-v2.1\\lib\\jaxrpc-api.jar:D:\\Programme\\glassfish-v2.1\\lib\\jaxrpc-impl.jar:D:\\Programme\\glassfish-v2.1\\lib\\endorsed\\jaxp-api.jar:D:\\Programme\\glassfish-v2.1\\lib\\appserv-ws.jar:D:\\Programme\\glassfish-v2.1\\lib\\webservices-tools.jar:D:\\Programme\\glassfish-v2.1\\lib\\webservices-rt.jar
+j2ee.platform.wsgen.classpath=D:\\Programme\\glassfish-v2.1\\lib\\webservices-tools.jar:D:\\Programme\\glassfish-v2.1\\lib\\webservices-rt.jar:D:\\Programme\\glassfish-v2.1\\lib\\tools.jar:D:\\Programme\\glassfish-v2.1\\lib\\appserv-jstl.jar:D:\\Programme\\glassfish-v2.1\\lib\\javaee.jar:D:\\Programme\\glassfish-v2.1\\lib\\appserv-ws.jar:D:\\Programme\\glassfish-v2.1\\lib\\mail.jar:D:\\Programme\\glassfish-v2.1\\lib\\activation.jar
+j2ee.platform.wsimport.classpath=D:\\Programme\\glassfish-v2.1\\lib\\webservices-tools.jar:D:\\Programme\\glassfish-v2.1\\lib\\webservices-rt.jar:D:\\Programme\\glassfish-v2.1\\lib\\tools.jar:D:\\Programme\\glassfish-v2.1\\lib\\appserv-jstl.jar:D:\\Programme\\glassfish-v2.1\\lib\\javaee.jar:D:\\Programme\\glassfish-v2.1\\lib\\appserv-ws.jar:D:\\Programme\\glassfish-v2.1\\lib\\mail.jar:D:\\Programme\\glassfish-v2.1\\lib\\activation.jar
+j2ee.platform.wsit.classpath=
+j2ee.server.instance=[D:\\Programme\\glassfish-v2.1]deployer:Sun:AppServer::localhost:4848
+jaxws.endorsed.dir=D:\\Programme\\NetBeans 6.5.1\\java2\\modules\\ext\\jaxws21\\api:D:\\Programme\\NetBeans 6.5.1\\ide10\\modules\\ext\\jaxb\\api
+netbeans.user=C:\\Dokumente und Einstellungen\\Jan\\.netbeans\\6.5
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/nbproject/private/private.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/nbproject/private/private.xml
new file mode 100644
index 0000000..cc2c0e5
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/nbproject/private/private.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
+ <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/1"/>
+</project-private>
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/nbproject/project.properties b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/nbproject/project.properties
new file mode 100644
index 0000000..8a2a184
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/nbproject/project.properties
@@ -0,0 +1,53 @@
+build.classes.dir=${build.dir}/jar
+build.classes.excludes=**/*.java,**/*.form,**/.nbattrs
+build.dir=build
+build.ear.classes.dir=${build.dir}/jar
+build.generated.dir=${build.dir}/generated
+build.test.classes.dir=${build.dir}/test/classes
+build.test.results.dir=${build.dir}/test/results
+debug.classpath=${javac.classpath}:${build.classes.dir}
+debug.test.classpath=\
+ ${run.test.classpath}
+dist.dir=dist
+dist.ear.jar=${dist.dir}/${jar.name}
+dist.jar=${dist.dir}/${jar.name}
+dist.javadoc.dir=${dist.dir}/javadoc
+excludes=
+includes=**
+j2ee.platform=1.5
+j2ee.server.type=J2EE
+jar.compress=false
+jar.name=DSI-ejb.jar
+javac.classpath=
+javac.debug=true
+javac.deprecation=false
+javac.source=1.5
+javac.target=1.5
+javac.test.classpath=\
+ ${javac.classpath}:\
+ ${build.classes.dir}:\
+ ${libs.junit.classpath}:\
+ ${libs.junit_4.classpath}
+javadoc.additionalparam=
+javadoc.author=false
+javadoc.encoding=${source.encoding}
+javadoc.noindex=false
+javadoc.nonavbar=false
+javadoc.notree=false
+javadoc.preview=true
+javadoc.private=false
+javadoc.splitindex=true
+javadoc.use=true
+javadoc.version=false
+javadoc.windowtitle=
+meta.inf=${source.root}/conf
+meta.inf.excludes=sun-cmp-mappings.xml
+platform.active=default_platform
+resource.dir=setup
+run.test.classpath=\
+ ${javac.test.classpath}:\
+ ${build.test.classes.dir}
+source.encoding=UTF-8
+source.root=src
+src.dir=${source.root}/java
+test.src.dir=test
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/nbproject/project.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/nbproject/project.xml
new file mode 100644
index 0000000..17a2bb3
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/nbproject/project.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://www.netbeans.org/ns/project/1">
+ <type>org.netbeans.modules.j2ee.ejbjarproject</type>
+ <configuration>
+ <data xmlns="http://www.netbeans.org/ns/j2ee-ejbjarproject/3">
+ <name>DSI-ejb</name>
+ <minimum-ant-version>1.6</minimum-ant-version>
+ <source-roots>
+ <root id="src.dir" name="Source Packages"/>
+ </source-roots>
+ <test-roots>
+ <root id="test.src.dir" name="Test Packages"/>
+ </test-roots>
+ </data>
+ <libraries xmlns="http://www.netbeans.org/ns/ant-project-libraries/1">
+ <definitions>..\.\lib\nblibraries.properties</definitions>
+ </libraries>
+ </configuration>
+</project>
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/conf/MANIFEST.MF b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/conf/MANIFEST.MF
new file mode 100644
index 0000000..59499bc
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/conf/MANIFEST.MF
@@ -0,0 +1,2 @@
+Manifest-Version: 1.0
+
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/conf/persistence.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/conf/persistence.xml
new file mode 100644
index 0000000..21115af
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/conf/persistence.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
+ <persistence-unit name="DSI-ejbPU" transaction-type="JTA">
+ <provider>oracle.toplink.essentials.PersistenceProvider</provider>
+ <jta-data-source>jdbc/sample</jta-data-source>
+ <properties>
+ <property name="toplink.ddl-generation" value="create-tables"/>
+ </properties>
+ </persistence-unit>
+</persistence>
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/adressen/AdressenBean.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/adressen/AdressenBean.java
new file mode 100644
index 0000000..9046ed5
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/adressen/AdressenBean.java
@@ -0,0 +1,43 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package beans.adressen;
+
+
+import beans.*;
+import javax.ejb.Stateless;
+import javax.jws.WebService;
+
+/**
+ *
+ * @author jmueller
+ */
+@Stateless(mappedName="AdressenBean")
+public class AdressenBean implements AdressenRemote {
+
+
+ /**
+ * gibt zu einer Artikel-Id die Adresse des Lieferanten zurück
+ * @param artikel_id Die Artikel-Id
+ * @return Die Adresse des Lieferanten
+ */
+ public String getLieferantenAdresseFuerArtikel( long artikel_id) {
+ if(artikel_id == 1)
+ return "Shimano, Merkelstr. 133, 12345 Dresden";
+ else if (artikel_id == 2)
+ return "Siemens, Zumwinkelstr. 31, 123123 Berlin";
+ else if (artikel_id == 3)
+ return "Schwalbe, Taubenweg 3, 54566 Hannover";
+ else
+ return "Musterfirma, Musterstrasse 123, 12345 Musterstadt";
+
+
+ }
+
+
+ // Add business logic below. (Right-click in editor and choose
+ // "EJB Methods > Add Business Method" or "Web Service > Add Operation")
+
+}
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/adressen/AdressenRemote.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/adressen/AdressenRemote.java
new file mode 100644
index 0000000..24970cf
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/adressen/AdressenRemote.java
@@ -0,0 +1,19 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package beans.adressen;
+
+import javax.ejb.Remote;
+
+/**
+ *
+ * @author jmueller
+ */
+@Remote
+public interface AdressenRemote {
+
+ String getLieferantenAdresseFuerArtikel(long artikel_id);
+
+}
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/artikelManager/ArtikelManagerBean.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/artikelManager/ArtikelManagerBean.java
new file mode 100644
index 0000000..07be349
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/artikelManager/ArtikelManagerBean.java
@@ -0,0 +1,106 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package beans.artikelManager;
+
+import beans.*;
+import entities.Artikel;
+import exceptions.IdBereitsVergebenException;
+import exceptions.UnbekanntesEntityException;
+import java.util.List;
+import javax.ejb.Stateless;
+import javax.persistence.EntityManager;
+import javax.persistence.PersistenceContext;
+
+/**
+ *
+ * @author Jan
+ */
+@Stateless(mappedName="ArtikelManagerBean")
+public class ArtikelManagerBean implements ArtikelManagerRemote {
+ @PersistenceContext
+ private EntityManager em;
+
+
+ /**
+ * erstellt einen Artikel und liefert die Artikel-Id zurueck
+ * @param artikel
+ * @return Artikel-Id
+ */
+ public long createArtikel(Artikel artikel) throws IdBereitsVergebenException {
+ try {
+ em.persist(artikel);
+ return artikel.getId();
+ }
+ catch(Exception e){
+ throw new IdBereitsVergebenException("Artikel-Id bereits vergeben: [id="+ artikel.getId()+"]");
+ }
+ }
+
+
+ /**
+ * Gibt einen Artikel anhand seiner Id zurueck
+ * @param artikelId
+ * @return
+ */
+ public Artikel readArtikel( long artikelId) throws UnbekanntesEntityException{
+ Artikel artikel = em.find(Artikel.class, artikelId );
+ if (artikel == null)
+ throw new UnbekanntesEntityException("Artikel", artikelId);
+ return artikel;
+ }
+
+
+ /**
+ * gibt alle Artikel zurueck
+ * @return
+ */
+ public List<Artikel> readAllArtikel(){
+ return (List<Artikel>)em.createQuery("SELECT a FROM Artikel a ORDER BY a.id").getResultList();
+ }
+
+ /**
+ * Schreibt die Änderungen eines Artikels in die Datenbank
+ * @param artikel
+ */
+ public void updateArtikel( Artikel artikel){
+ em.merge(artikel);
+ }
+
+ /**
+ * Entfernt einen Artikel mit der angegebenen Artikel-Id
+ * @param artikelId
+ */
+ public void deleteArtikel(long artikelId){
+ Artikel artikel = em.find(Artikel.class, artikelId );
+ em.remove(artikel);
+ }
+
+
+ /**
+ * entfernt alle Artikel
+ */
+ public void deleteAllArtikel(){
+ for(Artikel artikel : readAllArtikel()){
+ deleteArtikel( artikel.getId() );
+ }
+ }
+
+
+ /**
+ * Prüft ob es einen Artikel mit angegebener Artikel-Id gibt
+ * @param artikelId
+ * @return
+ */
+ public boolean existsArtikel(long artikelId){
+ Artikel artikel = em.find(Artikel.class, artikelId );
+ if(artikel != null)
+ return true;
+
+ return false;
+ }
+
+
+}
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/artikelManager/ArtikelManagerRemote.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/artikelManager/ArtikelManagerRemote.java
new file mode 100644
index 0000000..dba3832
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/artikelManager/ArtikelManagerRemote.java
@@ -0,0 +1,29 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package beans.artikelManager;
+
+import entities.Artikel;
+import exceptions.IdBereitsVergebenException;
+import exceptions.UnbekanntesEntityException;
+import java.util.List;
+import javax.ejb.Remote;
+
+/**
+ *
+ * @author Jan
+ */
+@Remote
+public interface ArtikelManagerRemote {
+
+ public long createArtikel(Artikel artikel) throws IdBereitsVergebenException;
+ public Artikel readArtikel(long artikelId) throws UnbekanntesEntityException;
+ public List<Artikel> readAllArtikel();
+ public void updateArtikel(Artikel artikel);
+ public void deleteArtikel(long artikelId);
+ public void deleteAllArtikel();
+ public boolean existsArtikel(long artikelId);
+
+}
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/auftragsAbwicklung/AuftragsAbwicklungBean.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/auftragsAbwicklung/AuftragsAbwicklungBean.java
new file mode 100644
index 0000000..625261f
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/auftragsAbwicklung/AuftragsAbwicklungBean.java
@@ -0,0 +1,70 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package beans.auftragsAbwicklung;
+
+import beans.bestell.BestellRemote;
+import beans.lieferant.LieferantRemote;
+import beans.lager.LagerRemote;
+import beans.*;
+import beans.artikelManager.ArtikelManagerRemote;
+import entities.Artikel;
+import exceptions.AuftragsAbwicklungException;
+import javax.ejb.EJB;
+import javax.ejb.Stateless;
+
+/**
+ * Eine Klasse für das abwickeln von Aufträgen
+ * @author jmueller
+ */
+@Stateless(mappedName="AuftragsAbwicklungBean")
+public class AuftragsAbwicklungBean implements AuftragsAbwicklungRemote {
+ @EJB
+ private BestellRemote bestellBean;
+ @EJB
+ private ArtikelManagerRemote artikelManagerBean;
+
+ @EJB
+ private LieferantRemote lieferantBean;
+ @EJB
+ private LagerRemote lagerBean;
+
+
+ /**
+ * simuliert die Bestellung eines Artikels durch einen Kunden
+ *
+ * @param kundenId Id des Kunden
+ * @param artikelId Id des Artikels
+ * @param artikelAnzahl Anzahl des Artikels
+ *
+ * @return String Bericht
+ * @throws java.lang.Exception
+ */
+ public String bestelleArtikel(long kundenId, long artikelId, long artikelAnzahl ) throws Exception{
+
+
+ if( bestellBean.validiereBestellung(artikelId, artikelAnzahl, kundenId) != true){
+ throw new AuftragsAbwicklungException("Bestellung nicht valide!");
+ }
+
+ Artikel artikel = artikelManagerBean.readArtikel(artikelId);
+
+
+ // falls nicht verfuegbar -> nachbestellen
+ if (lagerBean.pruefeVerfuegbarkeit(artikelId, artikelAnzahl) != true) {
+ long mindestMenge = 10L;
+ long imLager = artikel.getAnzahl();
+ long anzahlNachbestellen = artikelAnzahl - imLager + mindestMenge;
+ lieferantBean.bestelleNach(artikelId, anzahlNachbestellen);
+ }
+
+ lagerBean.bucheArtikelAus(artikelId, artikelAnzahl);
+ double preisOhneMwSt = bestellBean.berechneGesamtpreis(artikelAnzahl, artikel.getPreis());
+ double MwSt = bestellBean.berechneMehrwertSteuer(preisOhneMwSt);
+
+ return "";
+ }
+
+
+}
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/auftragsAbwicklung/AuftragsAbwicklungRemote.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/auftragsAbwicklung/AuftragsAbwicklungRemote.java
new file mode 100644
index 0000000..4dfa025
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/auftragsAbwicklung/AuftragsAbwicklungRemote.java
@@ -0,0 +1,20 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package beans.auftragsAbwicklung;
+
+import exceptions.AuftragsAbwicklungException;
+import helper.AuftragsPosition;
+import java.util.List;
+import javax.ejb.Remote;
+
+/**
+ *
+ * @author jmueller
+ */
+@Remote
+public interface AuftragsAbwicklungRemote {
+ public String bestelleArtikel(long kundenId, long artikelId, long artikelAnzahl) throws Exception;
+}
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/bestell/BestellBean.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/bestell/BestellBean.java
new file mode 100644
index 0000000..d7f4e76
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/bestell/BestellBean.java
@@ -0,0 +1,105 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package beans.bestell;
+
+import beans.kundenManager.KundenManagerRemote;
+import beans.*;
+import beans.artikelManager.ArtikelManagerRemote;
+import javax.ejb.EJB;
+import javax.ejb.Stateless;
+
+/**
+ *
+ * @author Jan
+ */
+@Stateless(mappedName="BestellBean")
+public class BestellBean implements BestellRemote {
+ @EJB
+ private KundenManagerRemote kundenManagerBean;
+ @EJB
+ private ArtikelManagerRemote artikelManagerBean;
+
+
+ /**
+ * testet ob eine Position valide ist,
+ * das heisst ob es einen Artikel mit angegebener Id gibt
+ * und ob die anzahl &gt; 0 ist
+ *
+ * @param artikelId
+ * @param anzahl
+ * @return true falls valide
+ */
+ public boolean validierePosition
+ ( long artikelId,
+ long anzahl) {
+
+ // verifiziere, dass mindestens ein Artikel bestellt wird
+ if(anzahl < 1){
+ return false;
+ }
+
+ // verifiziere dass ein Artikel mit dieser id existiert
+ if (artikelManagerBean.existsArtikel(artikelId) == false){
+ return false;
+ }
+
+ return true;
+ }
+
+ /**
+ * validiert eine Bestellung,
+ *
+ * siehe validierePosition, allerdings mit Überprüfung ob ein Kunde
+ * mit angegebener Id existiert
+ *
+ * @param artikelId Id des Artikels
+ * @param anzahl Artikel-Anzahl
+ * @param kundenId Id des Kunden
+ * @return true falls valide
+ */
+ public boolean validiereBestellung
+ ( long artikelId,
+ long anzahl,
+ long kundenId) {
+
+
+ if( validierePosition(artikelId, anzahl) != true){
+ return false;
+ }
+
+ if(kundenManagerBean.existsKunde(kundenId) == false){
+ return false;
+ }
+
+ return true;
+ }
+
+ /**
+ * berechnet den Gesamtpreis der bestellten Artikel
+ *
+ * @param anzahl Anzahl der Artikel
+ * @param preis Einzel-Preis
+ * @return Gesamtpreis
+ */
+ public double berechneGesamtpreis
+ ( long anzahl,
+ double preis) {
+ return anzahl * preis;
+ }
+
+ /**
+ * Berechnet die Mehrwertsteuer
+ *
+ * es wird von einer Mehrwert-Steuer von 19% ausgegangen
+ *
+ * @param preis Der Preis
+ * @return MwSt Die berechnete Mehrwertsteuer
+ */
+ public double berechneMehrwertSteuer(double preis) {
+ return 0.19 * preis;
+ }
+
+}
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/bestell/BestellRemote.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/bestell/BestellRemote.java
new file mode 100644
index 0000000..a6f1001
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/bestell/BestellRemote.java
@@ -0,0 +1,23 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package beans.bestell;
+
+import javax.ejb.Remote;
+
+/**
+ *
+ * @author Jan
+ */
+@Remote
+public interface BestellRemote {
+
+ public double berechneGesamtpreis(long anzahl, double preis);
+ public double berechneMehrwertSteuer(double preis);
+ public boolean validierePosition(long artikelId, long anzahl);
+ public boolean validiereBestellung(long artikelId, long anzahl, @javax.jws.WebParam(name = "kundenId")
+ long kundenId);
+
+}
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/kundenManager/KundenManagerBean.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/kundenManager/KundenManagerBean.java
new file mode 100644
index 0000000..b0de74c
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/kundenManager/KundenManagerBean.java
@@ -0,0 +1,99 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package beans.kundenManager;
+
+import beans.*;
+import entities.Kunde;
+import java.util.List;
+import javax.ejb.Stateless;
+import javax.persistence.EntityManager;
+import javax.persistence.PersistenceContext;
+
+/**
+ *
+ * @author Jan
+ */
+
+@Stateless(mappedName="KundenManagerBean")
+public class KundenManagerBean implements KundenManagerRemote {
+ @PersistenceContext
+ private EntityManager em;
+
+
+ /**
+ * erstellt einen Kunden und liefert die Kunden-Id zurueck
+ * @param Kunde
+ * @return Kunden-Id
+ */
+ public long createKunde(Kunde kunde) {
+ em.persist(kunde);
+
+ return kunde.getId();
+ }
+
+
+ /**
+ * Gibt einen Kunden anhand seiner Id zurueck
+ * @param kundeId
+ * @return
+ */
+ public Kunde readKunde(long kundeId){
+ Kunde kunde = em.find(Kunde.class, kundeId );
+ return kunde;
+ }
+
+
+ /**
+ * gibt alle Kunden zurueck
+ * @return
+ */
+ public List<Kunde> readAllKunden(){
+ return (List<Kunde>)em.createQuery("SELECT k FROM Kunde k ORDER BY k.id").getResultList();
+ }
+
+ /**
+ * Schreibt die Änderungen eines Kunden in die Datenbank
+ * @param kunde Der Kunde
+ */
+ public void updateKunde(Kunde kunde){
+ em.merge(kunde);
+ }
+
+ /**
+ * Entfernt einen Kunden mit der angegebenen Kunden-Id
+ * @param kundeId
+ */
+ public void deleteKunde(long kundeId){
+ Kunde kunde = em.find(Kunde.class, kundeId );
+ em.remove(kunde);
+ }
+
+
+ /**
+ * entfernt alle Kunden
+ *
+ */
+ public void deleteAllKunden(){
+ for(Kunde kunde : readAllKunden()){
+ deleteKunde( kunde.getId() );
+ }
+ }
+
+
+ /**
+ * Prüft ob es einen Kunden mit angegebener Kunden-Id gibt
+ * @param kundeId
+ * @return true falls ein Kunde mit angegebener ID existiert
+ */
+ public boolean existsKunde(long kundeId){
+ Kunde kunde = em.find(Kunde.class, kundeId );
+ if(kunde != null)
+ return true;
+
+ return false;
+ }
+
+}
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/kundenManager/KundenManagerRemote.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/kundenManager/KundenManagerRemote.java
new file mode 100644
index 0000000..935c715
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/kundenManager/KundenManagerRemote.java
@@ -0,0 +1,25 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package beans.kundenManager;
+
+import javax.ejb.Remote;
+
+/**
+ *
+ * @author Jan
+ */
+@Remote
+public interface KundenManagerRemote {
+
+ public long createKunde(entities.Kunde kunde);
+ public entities.Kunde readKunde(long kundeId);
+ public java.util.List<entities.Kunde> readAllKunden();
+ public void updateKunde(entities.Kunde kunde);
+ public void deleteKunde(long kundeId);
+ public void deleteAllKunden();
+ public boolean existsKunde(long kundeId);
+
+}
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/lager/LagerBean.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/lager/LagerBean.java
new file mode 100644
index 0000000..1602797
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/lager/LagerBean.java
@@ -0,0 +1,80 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package beans.lager;
+
+import beans.*;
+import beans.artikelManager.ArtikelManagerRemote;
+import entities.Artikel;
+import exceptions.IllegalerWertException;
+import exceptions.UnbekanntesEntityException;
+import javax.ejb.EJB;
+import javax.ejb.Stateless;
+
+/**
+ * Diese Klasse stellt Funktionen des Lagers bereit
+ * @author jmueller
+ */
+@Stateless(mappedName="LagerBean")
+public class LagerBean implements LagerRemote {
+ @EJB
+ private ArtikelManagerRemote artikelManagerBean;
+
+ /**
+ * bucht eine bestimmte Anzahl von Artikeln aus dem Lager aus
+ *
+ * @param id die Id des Artikels
+ * @param anzahl die Anzahl der auszubuchenden Artikel
+ */
+ public void bucheArtikelAus(long id, long anzahl)throws UnbekanntesEntityException, IllegalerWertException{
+ System.out.println("Lager: bucheArtikelAus("+id+","+anzahl+")");
+ if(anzahl < 0){
+ throw new IllegalerWertException("anzahl", ""+id);
+ }
+ Artikel artikel = artikelManagerBean.readArtikel(id);
+ artikel.setAnzahl(artikel.getAnzahl() - anzahl);
+ artikelManagerBean.updateArtikel(artikel);
+ }
+
+
+ /**
+ * bucht eine bestimmte Anzahl von Artikeln ins Lager ein
+ *
+ * @param id
+ * @param anzahl
+ * @throws exceptions.UnbekanntesEntityException
+ * @throws exceptions.IllegalerWertException
+ */
+ public void bucheArtikelEin(long id, long anzahl) throws UnbekanntesEntityException, IllegalerWertException{
+ System.out.println("Lager: bucheArtikelEin("+id+","+ anzahl+")");
+ if(anzahl < 0){
+ throw new IllegalerWertException("anzahl", ""+id);
+ }
+
+ Artikel artikel = artikelManagerBean.readArtikel(id);
+ artikel.setAnzahl(artikel.getAnzahl() + anzahl);
+ artikelManagerBean.updateArtikel(artikel);
+ }
+
+
+ /**
+ * Testet ob der Artikel in ausreichender Anzahl vorhanden ist,
+ * falls der Artikel nicht existiert wird false zurückgegeben
+ * @param id
+ * @param anzahl
+ * @return
+ */
+ public boolean pruefeVerfuegbarkeit(long id, long anzahl) throws Exception{
+ Artikel artikel = artikelManagerBean.readArtikel(id);
+ if( artikel.getAnzahl() >= anzahl ){
+ return true;
+ }
+
+ return false;
+ }
+
+ // Add business logic below. (Right-click in editor and choose
+ // "EJB Methods > Add Business Method" or "Web Service > Add Operation")
+}
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/lager/LagerRemote.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/lager/LagerRemote.java
new file mode 100644
index 0000000..ea1e8d0
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/lager/LagerRemote.java
@@ -0,0 +1,22 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package beans.lager;
+
+import exceptions.IllegalerWertException;
+import exceptions.UnbekanntesEntityException;
+import javax.ejb.Remote;
+
+/**
+ *
+ * @author jmueller
+ */
+@Remote
+public interface LagerRemote {
+
+ public void bucheArtikelAus(long id, long anzahl) throws UnbekanntesEntityException, IllegalerWertException;
+ public void bucheArtikelEin(long id, long anzahl) throws UnbekanntesEntityException, IllegalerWertException;
+ public boolean pruefeVerfuegbarkeit(long id, long anzahl) throws Exception;
+}
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/lieferant/LieferantBean.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/lieferant/LieferantBean.java
new file mode 100644
index 0000000..2fb1a16
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/lieferant/LieferantBean.java
@@ -0,0 +1,48 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package beans.lieferant;
+
+import beans.*;
+import beans.lager.LagerRemote;
+import beans.artikelManager.ArtikelManagerRemote;
+import beans.adressen.AdressenRemote;
+import exceptions.IllegalerWertException;
+import exceptions.UnbekanntesEntityException;
+import javax.ejb.EJB;
+import javax.ejb.Stateless;
+
+/**
+ *
+ * @author jmueller
+ */
+@Stateless(mappedName="LieferantBean")
+public class LieferantBean implements LieferantRemote {
+ @EJB
+ private ArtikelManagerRemote artikelManagerBean;
+ @EJB
+ private LagerRemote lagerBean;
+ @EJB
+ private AdressenRemote adressenBean;
+
+
+
+ /**
+ * bestellt eine bestimmte Anzahl von Artikeln nach
+ * @param id die Id des Artikels
+ * @param anzahl die Anzahl
+ */
+ // TODO: Session Bean erstellen die die Adresse des Lieferanten für bestimmte
+ // Artikel heraussucht
+ public void bestelleNach(long id, long anzahl) throws UnbekanntesEntityException, IllegalerWertException{
+ System.out.println("Lieferant: bestelleNach("+id+","+anzahl+")");
+ lagerBean.bucheArtikelEin(id, anzahl);
+
+ System.out.println("Bestellung erfolgt bei: " + adressenBean.getLieferantenAdresseFuerArtikel(id) );
+ }
+
+
+
+}
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/lieferant/LieferantRemote.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/lieferant/LieferantRemote.java
new file mode 100644
index 0000000..9a4a63f
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/lieferant/LieferantRemote.java
@@ -0,0 +1,22 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package beans.lieferant;
+
+import exceptions.IllegalerWertException;
+import exceptions.UnbekanntesEntityException;
+import javax.ejb.Remote;
+
+/**
+ *
+ * @author jmueller
+ */
+@Remote
+public interface LieferantRemote {
+
+ void bestelleNach(long id, long anzahl) throws UnbekanntesEntityException, IllegalerWertException;
+
+
+}
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/entities/Artikel.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/entities/Artikel.java
new file mode 100644
index 0000000..9859fc6
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/entities/Artikel.java
@@ -0,0 +1,112 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package entities;
+
+import java.io.Serializable;
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.GenerationType;
+import javax.persistence.Id;
+
+/**
+ * Eine Klasse welche den Typ eines Artikels verwaltet
+ * @author jmueller
+ */
+@Entity
+public class Artikel implements Serializable {
+ private static final long serialVersionUID = 1L;
+ private Long id;
+ private String bezeichnung;
+ private Long anzahl;
+ private Double preis;
+
+
+ public Artikel(){
+
+ }
+
+ public Artikel(Long id, String bezeichnung, Long anzahl, Double preis) {
+ this.id = id;
+ this.bezeichnung = bezeichnung;
+ this.anzahl = anzahl;
+ this.preis = preis;
+ }
+
+
+
+
+ /**
+ * Default-Konstruktor
+ */
+
+
+/*
+ @Id
+ @GeneratedValue(strategy = GenerationType.AUTO)
+ public int getId() {
+ return id;
+ }
+*/
+ @Override
+ public int hashCode() {
+ int hash = 0;
+ hash += getId();
+ return hash;
+ }
+
+ @Override
+ public boolean equals(Object object) {
+ if (!(object instanceof Artikel)) {
+ return false;
+ }
+ Artikel other = (Artikel) object;
+ if (this.getId() != other.getId()) {
+ return false;
+ }
+ return true;
+ }
+
+ @Override
+ public String toString() {
+ return "entities.Artikel[id=" + getId() + "]";
+ }
+
+ public String getBezeichnung() {
+ return bezeichnung;
+ }
+
+ public void setBezeichnung(String bezeichnung) {
+ this.bezeichnung = bezeichnung;
+ }
+
+ @Id
+ @GeneratedValue(strategy = GenerationType.AUTO)
+ public Long getId() {
+ return id;
+ }
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+ public Long getAnzahl() {
+ return anzahl;
+ }
+
+ public void setAnzahl(Long anzahl) {
+ this.anzahl = anzahl;
+ }
+
+ public Double getPreis() {
+ return preis;
+ }
+
+ public void setPreis(Double preis) {
+ this.preis = preis;
+ }
+
+
+}
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/entities/Kunde.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/entities/Kunde.java
new file mode 100644
index 0000000..0ebadfc
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/entities/Kunde.java
@@ -0,0 +1,100 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package entities;
+
+import java.io.Serializable;
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.GenerationType;
+import javax.persistence.Id;
+
+/**
+ *
+ * @author Jan
+ */
+@Entity
+public class Kunde implements Serializable {
+ private static final long serialVersionUID = 1L;
+ @Id
+ @GeneratedValue(strategy = GenerationType.AUTO)
+ private Long id;
+ private String vorname;
+ private String nachname;
+ private String adresse;
+
+ public Kunde() {
+ }
+
+ public Kunde(Long id, String vorname, String nachname, String adresse) {
+ this.id = id;
+ this.vorname = vorname;
+ this.nachname = nachname;
+ this.adresse = adresse;
+ }
+
+
+
+ public Long getId() {
+ return id;
+ }
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+ @Override
+ public int hashCode() {
+ int hash = 0;
+ hash += (id != null ? id.hashCode() : 0);
+ return hash;
+ }
+
+ @Override
+ public boolean equals(Object object) {
+ // TODO: Warning - this method won't work in the case the id fields are not set
+ if (!(object instanceof Kunde)) {
+ return false;
+ }
+ Kunde other = (Kunde) object;
+
+ // true -> wenn alle Daten identisch sind
+ if(this.id.equals(other.id) && this.vorname.equals(other.vorname) && this.nachname.equals(other.nachname) && this.adresse.equals(other.adresse)){
+ return true;
+ }
+
+ return false;
+ }
+
+ @Override
+ public String toString() {
+ return "entities.Kunde[id=" + id + "," + vorname +"," + nachname +"," + adresse +"]";
+ }
+
+ public String getVorname() {
+ return vorname;
+ }
+
+ public void setVorname(String vorname) {
+ this.vorname = vorname;
+ }
+
+ public String getNachname() {
+ return nachname;
+ }
+
+ public void setNachname(String nachname) {
+ this.nachname = nachname;
+ }
+
+ public String getAdresse() {
+ return adresse;
+ }
+
+ public void setAdresse(String adresse) {
+ this.adresse = adresse;
+ }
+
+}
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/exceptions/AuftragsAbwicklungException.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/exceptions/AuftragsAbwicklungException.java
new file mode 100644
index 0000000..8aa5574
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/exceptions/AuftragsAbwicklungException.java
@@ -0,0 +1,22 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package exceptions;
+
+import javax.ejb.ApplicationException;
+
+/**
+ *
+ * @author jmueller
+ */
+@ApplicationException(rollback=true)
+public class AuftragsAbwicklungException extends Exception {
+ private static final long serialVersionUID = 1L;
+
+ public AuftragsAbwicklungException(String msg){
+ super("Auftrag konnte nicht Abgewickelt werden: " + msg);
+ }
+
+}
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/exceptions/IdBereitsVergebenException.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/exceptions/IdBereitsVergebenException.java
new file mode 100644
index 0000000..685b931
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/exceptions/IdBereitsVergebenException.java
@@ -0,0 +1,19 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package exceptions;
+
+import javax.ejb.ApplicationException;
+
+/**
+ *
+ * @author Jan
+ */
+@ApplicationException(rollback=true)
+public class IdBereitsVergebenException extends Exception{
+ public IdBereitsVergebenException(String msg) {
+ super(msg);
+ }
+}
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/exceptions/IllegalerWertException.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/exceptions/IllegalerWertException.java
new file mode 100644
index 0000000..eb21936
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/exceptions/IllegalerWertException.java
@@ -0,0 +1,26 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package exceptions;
+
+import javax.ejb.ApplicationException;
+
+/**
+ *
+ * @author Jan
+ */
+@ApplicationException(rollback=true)
+public class IllegalerWertException extends Exception {
+
+ public IllegalerWertException(String msg) {
+ super(msg);
+ }
+
+ public IllegalerWertException(String variablenName, Object wert) {
+ super("Illegaler Wert: [" + variablenName+ " = " + wert.toString() +"]");
+ }
+
+
+}
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/exceptions/UnbekanntesEntityException.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/exceptions/UnbekanntesEntityException.java
new file mode 100644
index 0000000..0d1c405
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/exceptions/UnbekanntesEntityException.java
@@ -0,0 +1,29 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package exceptions;
+
+import javax.ejb.ApplicationException;
+
+/**
+ *
+ * @author jmueller
+ */
+@ApplicationException(rollback=true)
+public class UnbekanntesEntityException extends Exception {
+
+ /**
+ * Constructs an instance of <code>UnbekannterArtikelException</code> with the specified detail message.
+ * @param msg the detail message.
+ */
+ public UnbekanntesEntityException(String msg) {
+ super(msg);
+ }
+
+ public UnbekanntesEntityException(String typ, long id) {
+ super("Unbekanntes Entity vom Typ: " + typ + " [id="+ id +"]");
+ }
+
+}
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/helper/Auftrag.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/helper/Auftrag.java
new file mode 100644
index 0000000..ade052e
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/helper/Auftrag.java
@@ -0,0 +1,69 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package helper;
+
+import java.io.Serializable;
+import java.util.LinkedList;
+import java.util.List;
+import javax.swing.AbstractListModel;
+
+/**
+ * Diese Klasse stellt einen Auftrag dar, der aus mehreren Auftragspositionen besteht
+ * @author jmueller
+ */
+public class Auftrag extends AbstractListModel implements Serializable {
+ private List<AuftragsPosition> positionen;
+
+
+ public Auftrag(){
+ this.positionen = new LinkedList<AuftragsPosition>();
+ }
+
+
+ /**
+ * gibt die Positionen zurück
+ * @return die Auftragspositionen
+ */
+ public List<AuftragsPosition> getPositionen() {
+ return this.positionen;
+ }
+
+ public int getSize() {
+ return this.positionen.size();
+ }
+
+ public Object getElementAt(int arg0) {
+ return this.positionen.get(arg0);
+ }
+
+
+ public void addPosition(int id, int anzahl){
+ this.addPosition(new AuftragsPosition(id, anzahl));
+
+ }
+
+ public void addPosition(AuftragsPosition position){
+ this.positionen.add(position);
+ this.fireIntervalAdded(position, this.positionen.size()-1, this.positionen.size()-1);
+ }
+
+ public void removePosition(AuftragsPosition position){
+ this.positionen.remove(position);
+ this.fireIntervalRemoved(position, 0, this.positionen.size());
+ }
+
+
+ public void positionChanged(AuftragsPosition position){
+ int index = this.positionen.indexOf(position);
+ this.fireContentsChanged(position, index, index);
+ }
+
+
+
+
+
+
+}
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/helper/AuftragsPosition.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/helper/AuftragsPosition.java
new file mode 100644
index 0000000..fe276fa
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/helper/AuftragsPosition.java
@@ -0,0 +1,56 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package helper;
+
+import java.io.Serializable;
+
+/**
+ * Die Klasse stellt eine Auftragsposition dar
+ * @author jmueller
+ */
+public class AuftragsPosition implements Serializable {
+ private int id;
+ private int anzahl;
+
+ public AuftragsPosition() {
+ this.id = 0;
+ this.anzahl = 0;
+ }
+
+ public AuftragsPosition(int _id, int _anzahl){
+ this.id = _id;
+ this.anzahl = _anzahl;
+ }
+
+
+ public int getId() {
+ return id;
+ }
+
+ public void setId(int id) {
+ this.id = id;
+ }
+
+ public int getAnzahl() {
+ return anzahl;
+ }
+
+ public void setAnzahl(int anzahl) {
+ this.anzahl = anzahl;
+ }
+
+
+ @Override
+ public String toString(){
+ return "Id: " + this.id + ", Anzahl: " + this.anzahl;
+ }
+
+
+
+
+
+
+}
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/build.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/build.xml
new file mode 100644
index 0000000..10e4ddb
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/build.xml
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- You may freely edit this file. See commented blocks below for -->
+<!-- some examples of how to customize the build. -->
+<!-- (If you delete it and reopen the project it will be recreated.) -->
+<!-- By default, only the Clean and Build commands use this build script. -->
+<!-- Commands such as Run, Debug, and Test only use this build script if -->
+<!-- the Compile on Save feature is turned off for the project. -->
+<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
+<!-- in the project's Project Properties dialog box.-->
+<project name="DSI1-ausgang" default="default" basedir="." xmlns:ear="http://www.netbeans.org/ns/j2ee-earproject/2">
+ <description>Builds, tests, and runs the project DSI1-ausgang.</description>
+ <import file="nbproject/build-impl.xml"/>
+ <!--
+
+ There exist several targets which are by default empty and which can be
+ used for execution of your tasks. These targets are usually executed
+ before and after some main targets. They are:
+
+ pre-init: called before initialization of project properties
+ post-init: called after initialization of project properties
+ pre-compile: called before javac compilation
+ post-compile: called after javac compilation
+ pre-dist: called before archive building
+ post-dist: called after archive building
+ post-clean: called after cleaning build products
+ pre-run-deploy: called before deploying
+ post-run-deploy: called after deploying
+
+ Example of pluging an obfuscator after the compilation could look like
+
+ <target name="post-compile">
+ <obfuscate>
+ <fileset dir="${build.classes.dir}"/>
+ </obfuscate>
+ </target>
+
+ For list of available properties check the imported
+ nbproject/build-impl.xml file.
+
+
+ Other way how to customize the build is by overriding existing main targets.
+ The target of interest are:
+
+ do-dist: archive building
+ run: execution of project
+
+ Example of overriding the target for project execution could look like
+
+ <target name="run" depends="<PROJNAME>-impl.jar">
+ <exec dir="bin" executable="launcher.exe">
+ <arg file="${dist.jar}"/>
+ </exec>
+ </target>
+
+ Notice that overridden target depends on jar target and not only on
+ compile target as regular run target does. Again, for list of available
+ properties which you can use check the target you are overriding in
+ nbproject/build-impl.xml file.
+
+ -->
+</project>
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar
new file mode 100644
index 0000000..4438603
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar
Binary files differ
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/lib/junit/junit-3.8.2-api.zip b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/lib/junit/junit-3.8.2-api.zip
new file mode 100644
index 0000000..dc075ba
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/lib/junit/junit-3.8.2-api.zip
Binary files differ
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/lib/junit/junit-3.8.2.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/lib/junit/junit-3.8.2.jar
new file mode 100644
index 0000000..d835872
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/lib/junit/junit-3.8.2.jar
Binary files differ
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/lib/junit_4/junit-4.1.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/lib/junit_4/junit-4.1.jar
new file mode 100644
index 0000000..30e5ec3
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/lib/junit_4/junit-4.1.jar
Binary files differ
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/lib/nblibraries-private.properties b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/lib/nblibraries-private.properties
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/lib/nblibraries-private.properties
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/lib/nblibraries.properties b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/lib/nblibraries.properties
new file mode 100644
index 0000000..520fb73
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/lib/nblibraries.properties
@@ -0,0 +1,8 @@
+libs.junit.classpath=\
+ ${base}/junit/junit-3.8.2.jar
+libs.junit.javadoc=\
+ ${base}/junit/junit-3.8.2-api.zip
+libs.junit_4.classpath=\
+ ${base}/junit_4/junit-4.1.jar
+libs.CopyLibs.classpath=\
+ ${base}/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/nbproject/ant-deploy.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/nbproject/ant-deploy.xml
new file mode 100644
index 0000000..28ca9b4
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/nbproject/ant-deploy.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project default="-deploy-ant" basedir=".">
+ <target name="-init-cl-deployment-env" if="deploy.ant.enabled">
+ <property file="${deploy.ant.properties.file}" />
+ <available file="${deploy.ant.docbase.dir}/WEB-INF/sun-web.xml" property="sun.web.present"/>
+ <available file="${deploy.ant.resource.dir}" property="has.setup"/>
+ <tempfile prefix="sjsas" property="sjsas.password.file" destdir="${java.io.tmpdir}"/> <!-- do not forget to delete this! -->
+ <echo message="AS_ADMIN_PASSWORD=${sjsas.password}" file="${sjsas.password.file}"/>
+ </target>
+
+ <target name="-parse-sun-web" depends="-init-cl-deployment-env" if="sun.web.present">
+ <tempfile prefix="sjsas" property="temp.sun.web" destdir="${java.io.tmpdir}"/>
+ <copy file="${deploy.ant.docbase.dir}/WEB-INF/sun-web.xml" tofile="${temp.sun.web}"/>
+ <!-- The doctype triggers resolution which can fail -->
+ <replace file="${temp.sun.web}">
+ <replacetoken><![CDATA[<!DOCTYPE]]></replacetoken>
+ <replacevalue><![CDATA[<!-- <!DOCTYPE]]></replacevalue>
+ </replace>
+ <replace file="${temp.sun.web}">
+ <replacetoken><![CDATA[<sun-web-app]]></replacetoken>
+ <replacevalue><![CDATA[--> <sun-web-app]]></replacevalue>
+ </replace>
+ <xmlproperty file="${temp.sun.web}" validate="false">
+ </xmlproperty>
+ <delete file="${temp.sun.web}"/>
+ <property name="deploy.ant.client.url" value="${sjsas.url}${sun-web-app.context-root}"/>
+ </target>
+ <target name="-add-resources" depends="-init-cl-deployment-env" if="has.setup">
+ <tempfile prefix="sjsas" property="sjsas.resources.dir" destdir="${java.io.tmpdir}"/>
+ <mkdir dir="${sjsas.resources.dir}"/>
+ <mkdir dir="${sjsas.resources.dir}/META-INF"/>
+ <property name="sjsas.resources.file" value="${sjsas.resources.dir}/META-INF/sun-resources.xml"/>
+ <copy todir="${sjsas.resources.dir}/META-INF">
+ <fileset dir="${deploy.ant.resource.dir}"/>
+ </copy>
+ <jar destfile="${deploy.ant.archive}" update="true">
+ <fileset dir="${sjsas.resources.dir}"/>
+ </jar>
+ <delete dir="${sjsas.resources.dir}"/>
+ </target>
+ <target name="-deploy-ant" depends="-parse-sun-web,-add-resources" if="deploy.ant.enabled">
+ <echo message="Deploying ${deploy.ant.archive}"/>
+ <taskdef name="sun-appserv-deploy" classname="org.apache.tools.ant.taskdefs.optional.sun.appserv.DeployTask"
+ classpath="${sjsas.root}/lib/sun-appserv-ant.jar" />
+ <sun-appserv-deploy user="${sjsas.username}"
+ passwordfile="${sjsas.password.file}"
+ host="${sjsas.host}" port="${sjsas.port}"
+ file="${deploy.ant.archive}" asinstalldir="${sjsas.root}"/>
+ <delete file="${sjsas.password.file}"/>
+ </target>
+ <target name="-undeploy-ant" depends="-init-cl-deployment-env" if="deploy.ant.enabled">
+ <taskdef name="sun-appserv-undeploy" classname="org.apache.tools.ant.taskdefs.optional.sun.appserv.UndeployTask"
+ classpath="${sjsas.root}/lib/sun-appserv-ant.jar" />
+ <sun-appserv-undeploy user="${sjsas.username}"
+ passwordfile="${sjsas.password.file}"
+ host="${sjsas.host}" port="${sjsas.port}"
+ file="${deploy.ant.archive}" asinstalldir="${sjsas.root}"/>
+ <delete file="${sjsas.password.file}"/>
+ </target>
+</project>
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/nbproject/build-impl.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/nbproject/build-impl.xml
new file mode 100644
index 0000000..bc9e16f
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/nbproject/build-impl.xml
@@ -0,0 +1,468 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*** GENERATED FROM project.xml - DO NOT EDIT ***
+*** EDIT ../build.xml INSTEAD ***
+
+For the purpose of easier reading the script
+is divided into following sections:
+
+ - initialization
+ - compilation
+ - dist
+ - execution
+ - debugging
+ - cleanup
+
+-->
+<project xmlns:ear2="http://www.netbeans.org/ns/j2ee-earproject/2" basedir=".." default="default" name="DSI1-ausgang-impl">
+ <import file="ant-deploy.xml"/>
+ <target depends="dist" description="Build whole project." name="default"/>
+ <!--
+ INITIALIZATION SECTION
+ -->
+ <target name="pre-init">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="pre-init" name="init-private">
+ <property file="nbproject/private/private.properties"/>
+ </target>
+ <target depends="pre-init,init-private" name="-init-libraries">
+ <property location=".\lib\nblibraries.properties" name="libraries.1.path"/>
+ <dirname file="${libraries.1.path}" property="libraries.1.dir.nativedirsep"/>
+ <pathconvert dirsep="/" property="libraries.1.dir">
+ <path path="${libraries.1.dir.nativedirsep}"/>
+ </pathconvert>
+ <basename file="${libraries.1.path}" property="libraries.1.basename" suffix=".properties"/>
+ <touch file="${libraries.1.dir}/${libraries.1.basename}-private.properties"/>
+ <loadproperties srcfile="${libraries.1.dir}/${libraries.1.basename}-private.properties">
+ <filterchain>
+ <replacestring from="$${base}" to="${libraries.1.dir}"/>
+ </filterchain>
+ </loadproperties>
+ <loadproperties srcfile="${libraries.1.path}">
+ <filterchain>
+ <replacestring from="$${base}" to="${libraries.1.dir}"/>
+ </filterchain>
+ </loadproperties>
+ </target>
+ <target depends="pre-init,init-private,-init-libraries" name="init-userdir">
+ <property location="${netbeans.user}/build.properties" name="user.properties.file"/>
+ </target>
+ <target depends="pre-init,init-private,-init-libraries,init-userdir" name="init-user">
+ <property file="${user.properties.file}"/>
+ </target>
+ <target depends="pre-init,init-private,-init-libraries,init-userdir,init-user" name="init-project">
+ <property file="nbproject/project.properties"/>
+ </target>
+ <target depends="pre-init,init-private,-init-libraries,init-userdir,init-user,init-project" name="do-init">
+ <!-- The two properties below are usually overridden -->
+ <!-- by the active platform. Just a fallback. -->
+ <property name="default.javac.source" value="1.4"/>
+ <property name="default.javac.target" value="1.4"/>
+ <condition property="do.compile.jsps">
+ <istrue value="${compile.jsps}"/>
+ </condition>
+ <condition property="do.display.browser">
+ <and>
+ <istrue value="${display.browser}"/>
+ <isset property="client.module.uri"/>
+ <not>
+ <isset property="app.client"/>
+ </not>
+ </and>
+ </condition>
+ <available file="${meta.inf}/MANIFEST.MF" property="has.custom.manifest"/>
+ <condition else="" property="j2ee.appclient.mainclass.tool.param" value="-mainclass ${main.class}">
+ <and>
+ <isset property="main.class"/>
+ <not>
+ <equals arg1="${main.class}" arg2="" trim="true"/>
+ </not>
+ </and>
+ </condition>
+ <condition else="" property="j2ee.appclient.jvmoptions.param" value="${j2ee.appclient.jvmoptions}">
+ <and>
+ <isset property="j2ee.appclient.jvmoptions"/>
+ <not>
+ <equals arg1="${j2ee.appclient.jvmoptions}" arg2="" trim="true"/>
+ </not>
+ </and>
+ </condition>
+ <condition else="" property="application.args.param" value="${application.args}">
+ <and>
+ <isset property="application.args"/>
+ <not>
+ <equals arg1="${application.args}" arg2="" trim="true"/>
+ </not>
+ </and>
+ </condition>
+ <condition property="can.debug.appclient">
+ <and>
+ <isset property="netbeans.home"/>
+ <isset property="app.client"/>
+ </and>
+ </condition>
+ </target>
+ <target depends="init" name="-init-cos">
+ <condition else="false" property="build.deploy.on.save">
+ <istrue value="${j2ee.deploy.on.save}"/>
+ </condition>
+ </target>
+ <target name="post-init">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="pre-init,init-private,-init-libraries,init-userdir,init-user,init-project,do-init" name="init-check">
+ <fail unless="build.dir">Must set build.dir</fail>
+ <fail unless="build.generated.dir">Must set build.generated.dir</fail>
+ <fail unless="dist.dir">Must set dist.dir</fail>
+ <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
+ <fail unless="dist.jar">Must set dist.jar</fail>
+ </target>
+ <target name="-init-taskdefs">
+ <fail unless="libs.CopyLibs.classpath">
+The libs.CopyLibs.classpath property is not set up.
+This property must point to
+org-netbeans-modules-java-j2seproject-copylibstask.jar file which is part
+of NetBeans IDE installation and is usually located at
+&lt;netbeans_installation&gt;/java&lt;version&gt;/ant/extra folder.
+Either open the project in the IDE and make sure CopyLibs library
+exists or setup the property manually. For example like this:
+ ant -Dlibs.CopyLibs.classpath=a/path/to/org-netbeans-modules-java-j2seproject-copylibstask.jar
+ </fail>
+ <taskdef classpath="${libs.CopyLibs.classpath}" resource="org/netbeans/modules/java/j2seproject/copylibstask/antlib.xml"/>
+ </target>
+ <target depends="pre-init,init-private,init-userdir,init-user,init-project,do-init,post-init,init-check,-init-taskdefs" name="init"/>
+ <!--
+ COMPILATION SECTION
+ -->
+ <target depends="init" name="deps-jar" unless="no.deps"/>
+ <target depends="init" name="deps-j2ee-archive" unless="no.deps">
+ <condition property="build.deploy.on.save" value="false">
+ <not>
+ <isset property="build.deploy.on.save"/>
+ </not>
+ </condition>
+ <ant antfile="${project.DSI-app-client}/build.xml" inheritall="false" target="dist-ear">
+ <property location="${build.dir}" name="dist.ear.dir"/>
+ <property name="deploy.on.save" value="${build.deploy.on.save}"/>
+ </ant>
+ <condition property="build.deploy.on.save" value="false">
+ <not>
+ <isset property="build.deploy.on.save"/>
+ </not>
+ </condition>
+ <ant antfile="${project.DSI-ejb}/build.xml" inheritall="false" target="dist-ear">
+ <property location="${build.dir}" name="dist.ear.dir"/>
+ <property name="deploy.on.save" value="${build.deploy.on.save}"/>
+ </ant>
+ </target>
+ <target depends="init,deps-jar,deps-j2ee-archive" name="pre-pre-compile"/>
+ <target name="pre-compile">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,deps-jar,pre-pre-compile,pre-compile" name="do-compile">
+ <copy todir="${build.dir}/META-INF">
+ <fileset dir="${meta.inf}"/>
+ </copy>
+ <copyfiles files="${reference.DSI-app-client.j2ee-module-car}" todir="${build.dir}//"/>
+ <copyfiles files="${reference.DSI-ejb.dist-ear}" todir="${build.dir}//"/>
+ </target>
+ <target name="post-compile">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,deps-jar,pre-pre-compile,pre-compile,do-compile,post-compile" description="Compile project." name="compile"/>
+ <!--
+ DIST BUILDING SECTION
+ -->
+ <target name="pre-dist">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,compile,pre-dist" name="do-dist-without-manifest" unless="has.custom.manifest">
+ <dirname file="${dist.jar}" property="dist.jar.dir"/>
+ <mkdir dir="${dist.jar.dir}"/>
+ <jar compress="${jar.compress}" jarfile="${dist.jar}">
+ <fileset dir="${build.dir}"/>
+ </jar>
+ </target>
+ <target depends="init,compile,pre-dist" if="has.custom.manifest" name="do-dist-with-manifest">
+ <dirname file="${dist.jar}" property="dist.jar.dir"/>
+ <mkdir dir="${dist.jar.dir}"/>
+ <jar compress="${jar.compress}" jarfile="${dist.jar}" manifest="${meta.inf}/MANIFEST.MF">
+ <fileset dir="${build.dir}"/>
+ </jar>
+ </target>
+ <target name="post-dist">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,compile,pre-dist,do-dist-without-manifest,do-dist-with-manifest,post-dist" description="Build distribution (JAR)." name="dist"/>
+ <!--
+ EXECUTION SECTION
+ -->
+ <target depends="run-deploy,run-display-browser,run-ac" description="Deploy to server." name="run"/>
+ <target name="pre-run-deploy">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="post-run-deploy">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="-pre-nbmodule-run-deploy">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- This target can be overriden by NetBeans modules. Don't override it directly, use -pre-run-deploy task instead. -->
+ </target>
+ <target name="-post-nbmodule-run-deploy">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- This target can be overriden by NetBeans modules. Don't override it directly, use -post-run-deploy task instead. -->
+ </target>
+ <target name="-run-deploy-am" unless="no.deps">
+ <!-- Task to deploy to the Access Manager runtime. -->
+ <ant antfile="${project.DSI-app-client}/build.xml" inheritall="false" target="-run-deploy-am"/>
+ <ant antfile="${project.DSI-ejb}/build.xml" inheritall="false" target="-run-deploy-am"/>
+ </target>
+ <target depends="-init-cos,dist,pre-run-deploy,-pre-nbmodule-run-deploy,-run-deploy-nb,-init-deploy-ant,-deploy-ant,-run-deploy-am,-post-nbmodule-run-deploy,post-run-deploy" name="run-deploy"/>
+ <target if="netbeans.home" name="-run-deploy-nb">
+ <nbdeploy clientModuleUri="${client.module.uri}" clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>
+ </target>
+ <target name="-init-deploy-ant" unless="netbeans.home">
+ <property name="deploy.ant.archive" value="${dist.jar}"/>
+ <property name="deploy.ant.resource.dir" value="${resource.dir}"/>
+ <property name="deploy.ant.enabled" value="true"/>
+ </target>
+ <target depends="dist,-run-undeploy-nb,-init-deploy-ant,-undeploy-ant" name="run-undeploy"/>
+ <target if="netbeans.home" name="-run-undeploy-nb">
+ <fail message="Undeploy is not supported from within the IDE"/>
+ </target>
+ <target depends="dist" name="verify">
+ <nbverify file="${dist.jar}"/>
+ </target>
+ <target depends="run-deploy,-init-display-browser,-display-browser-nb,-display-browser-cl" name="run-display-browser"/>
+ <target if="do.display.browser" name="-init-display-browser">
+ <condition property="do.display.browser.nb">
+ <isset property="netbeans.home"/>
+ </condition>
+ <condition property="do.display.browser.cl">
+ <and>
+ <isset property="deploy.ant.enabled"/>
+ <isset property="deploy.ant.client.url"/>
+ </and>
+ </condition>
+ </target>
+ <target if="do.display.browser.nb" name="-display-browser-nb">
+ <nbbrowse url="${client.url}"/>
+ </target>
+ <target if="do.display.browser.cl" name="-get-browser" unless="browser">
+ <condition property="browser" value="rundll32">
+ <os family="windows"/>
+ </condition>
+ <condition else="" property="browser.args" value="url.dll,FileProtocolHandler">
+ <os family="windows"/>
+ </condition>
+ <condition property="browser" value="/usr/bin/open">
+ <os family="mac"/>
+ </condition>
+ <property environment="env"/>
+ <condition property="browser" value="${env.BROWSER}">
+ <isset property="env.BROWSER"/>
+ </condition>
+ <condition property="browser" value="/usr/bin/firefox">
+ <available file="/usr/bin/firefox"/>
+ </condition>
+ <condition property="browser" value="/usr/local/firefox/firefox">
+ <available file="/usr/local/firefox/firefox"/>
+ </condition>
+ <condition property="browser" value="/usr/bin/mozilla">
+ <available file="/usr/bin/mozilla"/>
+ </condition>
+ <condition property="browser" value="/usr/local/mozilla/mozilla">
+ <available file="/usr/local/mozilla/mozilla"/>
+ </condition>
+ <condition property="browser" value="/usr/sfw/lib/firefox/firefox">
+ <available file="/usr/sfw/lib/firefox/firefox"/>
+ </condition>
+ <condition property="browser" value="/opt/csw/bin/firefox">
+ <available file="/opt/csw/bin/firefox"/>
+ </condition>
+ <condition property="browser" value="/usr/sfw/lib/mozilla/mozilla">
+ <available file="/usr/sfw/lib/mozilla/mozilla"/>
+ </condition>
+ <condition property="browser" value="/opt/csw/bin/mozilla">
+ <available file="/opt/csw/bin/mozilla"/>
+ </condition>
+ </target>
+ <target depends="-get-browser" if="do.display.browser.cl" name="-display-browser-cl">
+ <fail unless="browser">
+ Browser not found, cannot launch the deployed application. Try to set the BROWSER environment variable.
+ </fail>
+ <property name="browse.url" value="${deploy.ant.client.url}${client.urlPart}"/>
+ <echo>Launching ${browse.url}</echo>
+ <exec executable="${browser}" spawn="true">
+ <arg line="${browser.args} ${browse.url}"/>
+ </exec>
+ </target>
+ <target depends="init" if="app.client" name="run-ac">
+ <antcall target="run-${app.client}"/>
+ </target>
+ <target depends="-tool-DSI-app-client,-java-DSI-app-client" name="run-DSI-app-client"/>
+ <target depends="-as-retrieve-option-workaround" if="j2ee.appclient.mainclass.args" name="-tool-DSI-app-client" unless="j2ee.clientName">
+ <java classname="${j2ee.appclient.tool.mainclass}" fork="true">
+ <jvmarg line="${j2ee.appclient.tool.jvmoptions}"/>
+ <jvmarg line="${j2ee.appclient.jvmoptions.param}"/>
+ <arg line="${j2ee.appclient.tool.args}"/>
+ <arg line="-client ${client.jar}"/>
+ <arg line="${j2ee.appclient.mainclass.tool.param}"/>
+ <arg line="${application.args.param}"/>
+ <classpath>
+ <path path="${j2ee.platform.classpath}:${j2ee.appclient.tool.runtime}"/>
+ </classpath>
+ <syspropertyset>
+ <propertyref prefix="run-sys-prop."/>
+ <mapper from="run-sys-prop.*" to="*" type="glob"/>
+ </syspropertyset>
+ </java>
+ </target>
+ <target if="j2ee.clientName" name="-java-DSI-app-client" unless="j2ee.appclient.mainclass.args">
+ <java classname="${main.class}" fork="true">
+ <jvmarg line="${j2ee.appclient.tool.jvmoptions}"/>
+ <jvmarg line="-Dj2ee.clientName=${app.client}"/>
+ <jvmarg line="${j2ee.appclient.jvmoptions.param}"/>
+ <arg line="${application.args.param}"/>
+ <classpath>
+ <path path="${jar.content.additional}:${j2ee.platform.classpath}:${j2ee.appclient.tool.runtime}"/>
+ </classpath>
+ <syspropertyset>
+ <propertyref prefix="run-sys-prop."/>
+ <mapper from="run-sys-prop.*" to="*" type="glob"/>
+ </syspropertyset>
+ </java>
+ </target>
+ <target if="j2ee.appclient.mainclass.args" name="-as-retrieve-option-workaround" unless="j2ee.clientName">
+ <property name="client.jar" value="${dist.dir}/DSI1-ausgangClient.jar"/>
+ <sleep seconds="3"/>
+ <copy file="${wa.copy.client.jar.from}/DSI1-ausgang/DSI1-ausgangClient.jar" todir="${dist.dir}"/>
+ </target>
+ <!--
+ DEBUGGING SECTION
+ -->
+ <target depends="run-debug,run-debug-appclient" description="Deploy to server." name="debug"/>
+ <target depends="dist" description="Debug project in IDE." if="netbeans.home" name="run-debug" unless="app.client">
+ <nbdeploy clientModuleUri="${client.module.uri}" clientUrlPart="${client.urlPart}" debugmode="true"/>
+ <antcall target="connect-debugger"/>
+ <antcall target="debug-display-browser"/>
+ </target>
+ <target name="connect-debugger" unless="is.debugged">
+ <nbjpdaconnect address="${jpda.address}" host="${jpda.host}" name="${name}" transport="${jpda.transport}">
+ <classpath>
+ <path path="${debug.classpath}"/>
+ </classpath>
+ <sourcepath>
+ <path path="${ear.docbase.dirs}"/>
+ </sourcepath>
+ </nbjpdaconnect>
+ </target>
+ <target if="do.display.browser" name="debug-display-browser">
+ <nbbrowse url="${client.url}"/>
+ </target>
+ <target name="-init-debug-args">
+ <property name="version-output" value="java version &quot;${ant.java.version}"/>
+ <condition property="have-jdk-older-than-1.4">
+ <or>
+ <contains string="${version-output}" substring="java version &quot;1.0"/>
+ <contains string="${version-output}" substring="java version &quot;1.1"/>
+ <contains string="${version-output}" substring="java version &quot;1.2"/>
+ <contains string="${version-output}" substring="java version &quot;1.3"/>
+ </or>
+ </condition>
+ <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
+ <istrue value="${have-jdk-older-than-1.4}"/>
+ </condition>
+ </target>
+ <target depends="init,-init-debug-args" if="can.debug.appclient" name="run-debug-appclient">
+ <macrodef name="debug-appclient" uri="http://www.netbeans.org/ns/j2ee-earproject/2">
+ <attribute name="mainclass"/>
+ <attribute default="${debug.classpath}" name="classpath"/>
+ <element name="customize" optional="true"/>
+ <attribute default="${application.args.param}" name="args"/>
+ <sequential>
+ <parallel>
+ <java classname="@{mainclass}" fork="true">
+ <jvmarg line="${j2ee.appclient.tool.jvmoptions}"/>
+ <jvmarg line="${debug-args-line}"/>
+ <jvmarg value="-Xrunjdwp:transport=${jpda.transport},server=y,address=${jpda.address},suspend=y"/>
+ <jvmarg line="${j2ee.appclient.jvmoptions.param}"/>
+ <arg line="@{args}"/>
+ <classpath>
+ <path path="${j2ee.platform.classpath}:${j2ee.appclient.tool.runtime}"/>
+ <path path="@{classpath}"/>
+ </classpath>
+ <syspropertyset>
+ <propertyref prefix="run-sys-prop."/>
+ <mapper from="run-sys-prop.*" to="*" type="glob"/>
+ </syspropertyset>
+ <customize/>
+ </java>
+ <nbjpdaconnect address="${jpda.address}" host="${jpda.host}" name="${name}" transport="${jpda.transport}">
+ <classpath>
+ <path path="${j2ee.platform.classpath}:${j2ee.appclient.tool.runtime}"/>
+ <path path="@{classpath}"/>
+ </classpath>
+ <sourcepath>
+ <path path="${src.dir}"/>
+ </sourcepath>
+ </nbjpdaconnect>
+ </parallel>
+ </sequential>
+ </macrodef>
+ <nbdeploy clientModuleUri="${client.module.uri}" clientUrlPart="${client.urlPart}" debugmode="false"/>
+ <antcall target="debug-${app.client}"/>
+ </target>
+ <target depends="-debug-tool-DSI-app-client,-debug-java-DSI-app-client" name="debug-DSI-app-client"/>
+ <target depends="init,-as-retrieve-option-workaround" if="j2ee.appclient.mainclass.args" name="-debug-tool-DSI-app-client" unless="j2ee.clientName">
+ <ear2:debug-appclient args="-client ${client.jar} ${j2ee.appclient.tool.args} ${j2ee.appclient.mainclass.tool.param} ${application.args.param}" mainclass="${j2ee.appclient.tool.mainclass}"/>
+ </target>
+ <target if="j2ee.clientName" name="-debug-java-DSI-app-client" unless="j2ee.appclient.mainclass.args">
+ <ear2:debug-appclient args="${application.args.param}" classpath="${jar.content.additional}" mainclass="${main.class}"/>
+ </target>
+ <!--
+ CLEANUP SECTION
+ -->
+ <target depends="init" name="deps-clean" unless="no.deps">
+ <condition property="build.deploy.on.save" value="false">
+ <not>
+ <isset property="build.deploy.on.save"/>
+ </not>
+ </condition>
+ <ant antfile="${project.DSI-app-client}/build.xml" inheritall="false" target="clean-ear">
+ <property location="${build.dir}" name="dist.ear.dir"/>
+ <property name="deploy.on.save" value="${build.deploy.on.save}"/>
+ </ant>
+ <condition property="build.deploy.on.save" value="false">
+ <not>
+ <isset property="build.deploy.on.save"/>
+ </not>
+ </condition>
+ <ant antfile="${project.DSI-ejb}/build.xml" inheritall="false" target="clean-ear">
+ <property location="${build.dir}" name="dist.ear.dir"/>
+ <property name="deploy.on.save" value="${build.deploy.on.save}"/>
+ </ant>
+ </target>
+ <target depends="init" name="do-clean">
+ <delete dir="${build.dir}"/>
+ <delete dir="${dist.dir}"/>
+ <delete dir="${build.dir}"/>
+ </target>
+ <target depends="init" if="netbeans.home" name="undeploy-clean">
+ <nbundeploy failOnError="false" startServer="false"/>
+ </target>
+ <target name="post-clean">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,undeploy-clean,deps-clean,do-clean,post-clean" description="Clean build products." name="clean"/>
+</project>
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/nbproject/genfiles.properties b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/nbproject/genfiles.properties
new file mode 100644
index 0000000..d157980
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/nbproject/genfiles.properties
@@ -0,0 +1,8 @@
+build.xml.data.CRC32=1aab7fe7
+build.xml.script.CRC32=a34f890c
+build.xml.stylesheet.CRC32=475c2a62
+# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
+# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
+nbproject/build-impl.xml.data.CRC32=1aab7fe7
+nbproject/build-impl.xml.script.CRC32=75208292
+nbproject/build-impl.xml.stylesheet.CRC32=47a529d0
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/nbproject/private/private.properties b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/nbproject/private/private.properties
new file mode 100644
index 0000000..af8ef69
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/nbproject/private/private.properties
@@ -0,0 +1,9 @@
+deploy.ant.properties.file=C:\\Dokumente und Einstellungen\\Jan\\.netbeans\\6.5\\glassfish.properties
+j2ee.appclient.tool.args=-configxml "D:\\Programme\\glassfish-v2.1\\domains\\domain1\\config\\sun-acc.xml"
+j2ee.appclient.tool.jvmoptions=-Dcom.sun.aas.configRoot="D:\\Programme\\glassfish-v2.1\\config" -Dcom.sun.aas.installRoot="D:\\Programme\\glassfish-v2.1" -Dcom.sun.aas.imqLib="D:\\Programme\\glassfish-v2.1\\imq\\lib" -Djava.security.policy="D:\\Programme\\glassfish-v2.1\\lib\\appclient\\client.policy" -Djava.security.auth.login.config="D:\\Programme\\glassfish-v2.1\\lib\\appclient\\appclientlogin.conf" -Djava.endorsed.dirs="D:\\Programme\\glassfish-v2.1\\lib\\endorsed" -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter -Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser -Djava.util.logging.manager=com.sun.enterprise.server.logging.ACCLogManager
+j2ee.appclient.tool.mainclass=com.sun.enterprise.appclient.Main
+j2ee.appclient.tool.runtime=D:\\Programme\\glassfish-v2.1\\lib\\dom.jar:D:\\Programme\\glassfish-v2.1\\lib\\xalan.jar:D:\\Programme\\glassfish-v2.1\\lib\\xercesImpl.jar:D:\\Programme\\glassfish-v2.1\\lib\\appserv-rt.jar:D:\\Programme\\glassfish-v2.1\\lib\\javaee.jar:D:\\Programme\\glassfish-v2.1\\lib\\j2ee.jar:D:\\Programme\\glassfish-v2.1\\lib\\jmac-api.jar:D:\\Programme\\glassfish-v2.1\\lib\\appserv-ext.jar:D:\\Programme\\glassfish-v2.1\\lib\\mail.jar:D:\\Programme\\glassfish-v2.1\\lib\\activation.jar:D:\\Programme\\glassfish-v2.1\\lib\\webservices-rt.jar:D:\\Programme\\glassfish-v2.1\\lib\\webservices-tools.jar:D:\\Programme\\glassfish-v2.1\\lib\\appserv-ws.jar:D:\\Programme\\glassfish-v2.1\\lib\\jaxrpc-impl.jar:D:\\Programme\\glassfish-v2.1\\lib\\saaj-impl.jar:D:\\Programme\\glassfish-v2.1\\lib\\jaxr-impl.jar:D:\\Programme\\glassfish-v2.1\\lib\\relaxngDatatype.jar:D:\\Programme\\glassfish-v2.1\\lib\\xsdlib.jar:D:\\Programme\\glassfish-v2.1\\lib\\appserv-cmp.jar:D:\\Programme\\glassfish-v2.1\\javadb\\lib\\derbyclient.jar:D:\\Programme\\glassfish-v2.1\\lib\\toplink-essentials.jar:D:\\Programme\\glassfish-v2.1\\lib\\dbschema.jar:D:\\Programme\\glassfish-v2.1\\lib\\appserv-admin.jar:D:\\Programme\\glassfish-v2.1\\lib\\install\\applications\\jmsra\\imqjmsra.jar:D:\\Programme\\glassfish-v2.1\\lib\\fscontext.jar:D:\\Programme\\glassfish-v2.1\\lib\\dtds:D:\\Programme\\glassfish-v2.1\\lib\\schemas
+j2ee.platform.classpath=D:\\Programme\\glassfish-v2.1\\lib\\javaee.jar:D:\\Programme\\glassfish-v2.1\\lib\\jsf-impl.jar:D:\\Programme\\glassfish-v2.1\\lib\\activation.jar:D:\\Programme\\glassfish-v2.1\\lib\\appserv-tags.jar:D:\\Programme\\glassfish-v2.1\\lib\\mail.jar:D:\\Programme\\glassfish-v2.1\\lib\\appserv-jstl.jar:D:\\Programme\\glassfish-v2.1\\lib\\webservices-tools.jar:D:\\Programme\\glassfish-v2.1\\lib\\webservices-rt.jar:D:\\Programme\\glassfish-v2.1\\lib\\appserv-ws.jar
+j2ee.server.instance=[D:\\Programme\\glassfish-v2.1]deployer:Sun:AppServer::localhost:4848
+netbeans.user=C:\\Dokumente und Einstellungen\\Jan\\.netbeans\\6.5
+wa.copy.client.jar.from=D:\\Programme\\glassfish-v2.1\\domains\\domain1\\generated\\xml\\j2ee-apps
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/nbproject/project.properties b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/nbproject/project.properties
new file mode 100644
index 0000000..0e79333
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/nbproject/project.properties
@@ -0,0 +1,31 @@
+app.client=DSI-app-client
+build.classes.excludes=**/*.java,**/*.form,**/.nbattrs
+build.dir=build
+build.generated.dir=${build.dir}/generated
+client.module.uri=DSI1-ausgang/${app.client}
+client.urlPart=
+debug.classpath=${javac.classpath}::${jar.content.additional}:${run.classpath}
+display.browser=true
+dist.dir=dist
+dist.jar=${dist.dir}/${jar.name}
+j2ee.appclient.mainclass.args=-client ${dist.jar} ${j2ee.appclient.tool.args}
+j2ee.platform=1.5
+j2ee.server.type=J2EE
+jar.compress=false
+jar.content.additional=\
+ ${reference.DSI-app-client.j2ee-module-car}:\
+ ${reference.DSI-ejb.dist-ear}
+jar.name=DSI1-ausgang.ear
+javac.debug=true
+javac.deprecation=false
+javac.source=1.5
+javac.target=1.5
+meta.inf=src/conf
+no.dependencies=false
+platform.active=default_platform
+project.DSI-app-client=DSI-app-client
+project.DSI-ejb=DSI-ejb
+reference.DSI-app-client.j2ee-module-car=${project.DSI-app-client}/dist/DSI-app-client.jar
+reference.DSI-ejb.dist-ear=${project.DSI-ejb}/dist/DSI-ejb.jar
+resource.dir=setup
+source.root=.
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/nbproject/project.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/nbproject/project.xml
new file mode 100644
index 0000000..6ec9cbe
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/nbproject/project.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://www.netbeans.org/ns/project/1">
+ <type>org.netbeans.modules.j2ee.earproject</type>
+ <configuration>
+ <data xmlns="http://www.netbeans.org/ns/j2ee-earproject/2">
+ <name>DSI1-ausgang</name>
+ <minimum-ant-version>1.6</minimum-ant-version>
+ <web-module-libraries/>
+ <web-module-additional-libraries>
+ <library files="1">
+ <file>${reference.DSI-app-client.j2ee-module-car}</file>
+ <path-in-war>/</path-in-war>
+ </library>
+ <library files="1">
+ <file>${reference.DSI-ejb.dist-ear}</file>
+ <path-in-war>/</path-in-war>
+ </library>
+ </web-module-additional-libraries>
+ </data>
+ <libraries xmlns="http://www.netbeans.org/ns/ant-project-libraries/1">
+ <definitions>.\lib\nblibraries.properties</definitions>
+ </libraries>
+ <references xmlns="http://www.netbeans.org/ns/ant-project-references/1">
+ <reference>
+ <foreign-project>DSI-app-client</foreign-project>
+ <artifact-type>j2ee_ear_archive</artifact-type>
+ <script>build.xml</script>
+ <target>dist-ear</target>
+ <clean-target>clean-ear</clean-target>
+ <id>j2ee-module-car</id>
+ </reference>
+ <reference>
+ <foreign-project>DSI-ejb</foreign-project>
+ <artifact-type>j2ee_ear_archive</artifact-type>
+ <script>build.xml</script>
+ <target>dist-ear</target>
+ <clean-target>clean-ear</clean-target>
+ <id>dist-ear</id>
+ </reference>
+ </references>
+ </configuration>
+</project>
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/src/conf/MANIFEST.MF b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/src/conf/MANIFEST.MF
new file mode 100644
index 0000000..59499bc
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/src/conf/MANIFEST.MF
@@ -0,0 +1,2 @@
+Manifest-Version: 1.0
+
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/build.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/build.xml
new file mode 100644
index 0000000..8d147e2
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/build.xml
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- You may freely edit this file. See commented blocks below for -->
+<!-- some examples of how to customize the build. -->
+<!-- (If you delete it and reopen the project it will be recreated.) -->
+<!-- By default, only the Clean and Build commands use this build script. -->
+<!-- Commands such as Run, Debug, and Test only use this build script if -->
+<!-- the Compile on Save feature is turned off for the project. -->
+<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
+<!-- in the project's Project Properties dialog box.-->
+<project name="WS-Client" default="default" basedir=".">
+ <description>Builds, tests, and runs the project WS-Client.</description>
+ <import file="nbproject/build-impl.xml"/>
+ <!--
+
+ There exist several targets which are by default empty and which can be
+ used for execution of your tasks. These targets are usually executed
+ before and after some main targets. They are:
+
+ -pre-init: called before initialization of project properties
+ -post-init: called after initialization of project properties
+ -pre-compile: called before javac compilation
+ -post-compile: called after javac compilation
+ -pre-compile-single: called before javac compilation of single file
+ -post-compile-single: called after javac compilation of single file
+ -pre-compile-test: called before javac compilation of JUnit tests
+ -post-compile-test: called after javac compilation of JUnit tests
+ -pre-compile-test-single: called before javac compilation of single JUnit test
+ -post-compile-test-single: called after javac compilation of single JUunit test
+ -pre-jar: called before JAR building
+ -post-jar: called after JAR building
+ -post-clean: called after cleaning build products
+
+ (Targets beginning with '-' are not intended to be called on their own.)
+
+ Example of inserting an obfuscator after compilation could look like this:
+
+ <target name="-post-compile">
+ <obfuscate>
+ <fileset dir="${build.classes.dir}"/>
+ </obfuscate>
+ </target>
+
+ For list of available properties check the imported
+ nbproject/build-impl.xml file.
+
+
+ Another way to customize the build is by overriding existing main targets.
+ The targets of interest are:
+
+ -init-macrodef-javac: defines macro for javac compilation
+ -init-macrodef-junit: defines macro for junit execution
+ -init-macrodef-debug: defines macro for class debugging
+ -init-macrodef-java: defines macro for class execution
+ -do-jar-with-manifest: JAR building (if you are using a manifest)
+ -do-jar-without-manifest: JAR building (if you are not using a manifest)
+ run: execution of project
+ -javadoc-build: Javadoc generation
+ test-report: JUnit report generation
+
+ An example of overriding the target for project execution could look like this:
+
+ <target name="run" depends="WS-Client-impl.jar">
+ <exec dir="bin" executable="launcher.exe">
+ <arg file="${dist.jar}"/>
+ </exec>
+ </target>
+
+ Notice that the overridden target depends on the jar target and not only on
+ the compile target as the regular run target does. Again, for a list of available
+ properties which you can use, check the target you are overriding in the
+ nbproject/build-impl.xml file.
+
+ -->
+</project>
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/catalog.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/catalog.xml
new file mode 100644
index 0000000..a175d96
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/catalog.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system">
+ <system systemId="http://localhost:8080/BestellBeanService/BestellBean?WSDL" uri="xml-resources/web-service-references/BestellBean/wsdl/localhost_8080/BestellBeanService/BestellBean.wsdl"/>
+ <system systemId="http://localhost:8080/ArtikelManagerBeanService/ArtikelManagerBean?WSDL" uri="xml-resources/web-service-references/ArtikelManagerBean/wsdl/localhost_8080/ArtikelManagerBeanService/ArtikelManagerBean.wsdl"/>
+ <system systemId="http://localhost:8080/LagerBeanService/LagerBean?WSDL" uri="xml-resources/web-service-references/LagerBean/wsdl/localhost_8080/LagerBeanService/LagerBean.wsdl"/>
+ <system systemId="http://localhost:8080/DSI-Andere-Webservices/MindestmengeService?WSDL" uri="xml-resources/web-service-references/MindestmengeService/wsdl/localhost_8080/DSI-Andere-Webservices/MindestmengeService.wsdl"/>
+ <system systemId="http://localhost:8080/DSI-Andere-Webservices/MindestmengeService?xsd=1" uri="xml-resources/web-service-references/MindestmengeService/wsdl/localhost_8080/DSI-Andere-Webservices/MindestmengeService.xsd_1.xsd"/>
+ <system systemId="http://localhost:8080/LieferantBeanService/LieferantBean?WSDL" uri="xml-resources/web-service-references/LieferantBean/wsdl/localhost_8080/LieferantBeanService/LieferantBean.wsdl"/>
+ <system systemId="http://localhost:8080/BestellBeanService/BestellBean?wsdl" uri="xml-resources/web-service-references/BestellBean/wsdl/localhost_8080/BestellBeanService/BestellBean.wsdl"/>
+ <system systemId="http://localhost:8080/BestellBeanService/BestellBean?xsd=1" uri="xml-resources/web-service-references/BestellBean/wsdl/localhost_8080/BestellBeanService/BestellBean.xsd_1.xsd"/>
+ <system systemId="http://localhost:8080/ArtikelManagerBeanService/ArtikelManagerBean?wsdl" uri="xml-resources/web-service-references/ArtikelManagerBean/wsdl/localhost_8080/ArtikelManagerBeanService/ArtikelManagerBean.wsdl"/>
+ <system systemId="http://localhost:8080/ArtikelManagerBeanService/ArtikelManagerBean?xsd=1" uri="xml-resources/web-service-references/ArtikelManagerBean/wsdl/localhost_8080/ArtikelManagerBeanService/ArtikelManagerBean.xsd_1.xsd"/>
+ <system systemId="http://localhost:8080/LagerBeanService/LagerBean?wsdl" uri="xml-resources/web-service-references/LagerBean/wsdl/localhost_8080/LagerBeanService/LagerBean.wsdl"/>
+ <system systemId="http://localhost:8080/LagerBeanService/LagerBean?xsd=1" uri="xml-resources/web-service-references/LagerBean/wsdl/localhost_8080/LagerBeanService/LagerBean.xsd_1.xsd"/>
+ <system systemId="http://localhost:8080/LieferantBeanService/LieferantBean?wsdl" uri="xml-resources/web-service-references/LieferantBean/wsdl/localhost_8080/LieferantBeanService/LieferantBean.wsdl"/>
+ <system systemId="http://localhost:8080/LieferantBeanService/LieferantBean?xsd=1" uri="xml-resources/web-service-references/LieferantBean/wsdl/localhost_8080/LieferantBeanService/LieferantBean.xsd_1.xsd"/>
+ <system systemId="http://localhost:8080/DSI-Andere-Webservices/MindestMengeService?wsdl" uri="xml-resources/web-service-references/MindestMengeService/wsdl/localhost_8080/DSI-Andere-Webservices/MindestMengeService.wsdl"/>
+ <system systemId="http://localhost:8080/DSI-Andere-Webservices/MindestMengeService?xsd=1" uri="xml-resources/web-service-references/MindestMengeService/wsdl/localhost_8080/DSI-Andere-Webservices/MindestMengeService.xsd_1.xsd"/>
+</catalog> \ No newline at end of file
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar
new file mode 100644
index 0000000..6810af3
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar
Binary files differ
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/FastInfoset.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/FastInfoset.jar
new file mode 100644
index 0000000..184dfda
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/FastInfoset.jar
Binary files differ
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/activation.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/activation.jar
new file mode 100644
index 0000000..3869b58
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/activation.jar
Binary files differ
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/http.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/http.jar
new file mode 100644
index 0000000..5096abe
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/http.jar
Binary files differ
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxb-api.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxb-api.jar
new file mode 100644
index 0000000..ad6904f
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxb-api.jar
Binary files differ
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxb-impl.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxb-impl.jar
new file mode 100644
index 0000000..534e99d
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxb-impl.jar
Binary files differ
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxb-xjc.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxb-xjc.jar
new file mode 100644
index 0000000..8c114c6
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxb-xjc.jar
Binary files differ
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-2_1-api-doc.zip b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-2_1-api-doc.zip
new file mode 100644
index 0000000..0836e1c
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-2_1-api-doc.zip
Binary files differ
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-api.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-api.jar
new file mode 100644
index 0000000..abf09dd
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-api.jar
Binary files differ
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-rt.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-rt.jar
new file mode 100644
index 0000000..8dbe644
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-rt.jar
Binary files differ
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-tools.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-tools.jar
new file mode 100644
index 0000000..85c19ee
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-tools.jar
Binary files differ
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jsr173_api.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jsr173_api.jar
new file mode 100644
index 0000000..b3aafa9
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jsr173_api.jar
Binary files differ
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jsr181-api.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jsr181-api.jar
new file mode 100644
index 0000000..948af5d
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jsr181-api.jar
Binary files differ
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jsr250-api.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jsr250-api.jar
new file mode 100644
index 0000000..fa4e072
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jsr250-api.jar
Binary files differ
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/saaj-api.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/saaj-api.jar
new file mode 100644
index 0000000..ebd7c18
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/saaj-api.jar
Binary files differ
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/saaj-impl.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/saaj-impl.jar
new file mode 100644
index 0000000..6aa2c7c
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/saaj-impl.jar
Binary files differ
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/sjsxp.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/sjsxp.jar
new file mode 100644
index 0000000..b697fc7
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/sjsxp.jar
Binary files differ
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/stax-ex.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/stax-ex.jar
new file mode 100644
index 0000000..1bb5ea5
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/stax-ex.jar
Binary files differ
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/streambuffer.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/streambuffer.jar
new file mode 100644
index 0000000..17cb6ce
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/streambuffer.jar
Binary files differ
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/junit/junit-3.8.2-api.zip b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/junit/junit-3.8.2-api.zip
new file mode 100644
index 0000000..dc075ba
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/junit/junit-3.8.2-api.zip
Binary files differ
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/junit/junit-3.8.2.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/junit/junit-3.8.2.jar
new file mode 100644
index 0000000..d835872
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/junit/junit-3.8.2.jar
Binary files differ
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/junit_4/junit-4.1.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/junit_4/junit-4.1.jar
new file mode 100644
index 0000000..30e5ec3
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/junit_4/junit-4.1.jar
Binary files differ
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/nblibraries-private.properties b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/nblibraries-private.properties
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/nblibraries-private.properties
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/nblibraries.properties b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/nblibraries.properties
new file mode 100644
index 0000000..cfacb0f
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/nblibraries.properties
@@ -0,0 +1,28 @@
+libs.junit.classpath=\
+ ${base}/junit/junit-3.8.2.jar
+libs.junit.javadoc=\
+ ${base}/junit/junit-3.8.2-api.zip
+libs.junit_4.classpath=\
+ ${base}/junit_4/junit-4.1.jar
+libs.CopyLibs.classpath=\
+ ${base}/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar
+libs.jaxws21.classpath=\
+ ${base}/jaxws21/activation.jar;\
+ ${base}/jaxws21/FastInfoset.jar;\
+ ${base}/jaxws21/http.jar;\
+ ${base}/jaxws21/jaxb-api.jar;\
+ ${base}/jaxws21/jaxb-impl.jar;\
+ ${base}/jaxws21/jaxb-xjc.jar;\
+ ${base}/jaxws21/jaxws-api.jar;\
+ ${base}/jaxws21/jaxws-rt.jar;\
+ ${base}/jaxws21/jaxws-tools.jar;\
+ ${base}/jaxws21/jsr173_api.jar;\
+ ${base}/jaxws21/jsr181-api.jar;\
+ ${base}/jaxws21/jsr250-api.jar;\
+ ${base}/jaxws21/saaj-api.jar;\
+ ${base}/jaxws21/saaj-impl.jar;\
+ ${base}/jaxws21/sjsxp.jar;\
+ ${base}/jaxws21/stax-ex.jar;\
+ ${base}/jaxws21/streambuffer.jar
+libs.jaxws21.javadoc=\
+ ${base}/jaxws21/jaxws-2_1-api-doc.zip
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/manifest.mf b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/manifest.mf
new file mode 100644
index 0000000..1574df4
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/build-impl.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/build-impl.xml
new file mode 100644
index 0000000..5115c9a
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/build-impl.xml
@@ -0,0 +1,662 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*** GENERATED FROM project.xml - DO NOT EDIT ***
+*** EDIT ../build.xml INSTEAD ***
+
+For the purpose of easier reading the script
+is divided into following sections:
+
+ - initialization
+ - compilation
+ - jar
+ - execution
+ - debugging
+ - javadoc
+ - junit compilation
+ - junit execution
+ - junit debugging
+ - applet
+ - cleanup
+
+ -->
+<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".." default="default" name="WS-Client-impl">
+ <import file="jaxws-build.xml"/>
+ <target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
+ <!--
+ ======================
+ INITIALIZATION SECTION
+ ======================
+ -->
+ <target name="-pre-init">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="-pre-init" name="-init-private">
+ <property file="nbproject/private/config.properties"/>
+ <property file="nbproject/private/configs/${config}.properties"/>
+ <property file="nbproject/private/private.properties"/>
+ </target>
+ <target depends="-pre-init,-init-private" name="-init-libraries">
+ <property location=".\lib\nblibraries.properties" name="libraries.1.path"/>
+ <dirname file="${libraries.1.path}" property="libraries.1.dir.nativedirsep"/>
+ <pathconvert dirsep="/" property="libraries.1.dir">
+ <path path="${libraries.1.dir.nativedirsep}"/>
+ </pathconvert>
+ <basename file="${libraries.1.path}" property="libraries.1.basename" suffix=".properties"/>
+ <touch file="${libraries.1.dir}/${libraries.1.basename}-private.properties"/>
+ <loadproperties srcfile="${libraries.1.dir}/${libraries.1.basename}-private.properties">
+ <filterchain>
+ <replacestring from="$${base}" to="${libraries.1.dir}"/>
+ </filterchain>
+ </loadproperties>
+ <loadproperties srcfile="${libraries.1.path}">
+ <filterchain>
+ <replacestring from="$${base}" to="${libraries.1.dir}"/>
+ </filterchain>
+ </loadproperties>
+ </target>
+ <target depends="-pre-init,-init-private,-init-libraries" name="-init-user">
+ <property file="${user.properties.file}"/>
+ <!-- The two properties below are usually overridden -->
+ <!-- by the active platform. Just a fallback. -->
+ <property name="default.javac.source" value="1.4"/>
+ <property name="default.javac.target" value="1.4"/>
+ </target>
+ <target depends="-pre-init,-init-private,-init-libraries,-init-user" name="-init-project">
+ <property file="nbproject/configs/${config}.properties"/>
+ <property file="nbproject/project.properties"/>
+ </target>
+ <target depends="-pre-init,-init-private,-init-libraries,-init-user,-init-project,-init-macrodef-property" name="-do-init">
+ <available file="${manifest.file}" property="manifest.available"/>
+ <condition property="manifest.available+main.class">
+ <and>
+ <isset property="manifest.available"/>
+ <isset property="main.class"/>
+ <not>
+ <equals arg1="${main.class}" arg2="" trim="true"/>
+ </not>
+ </and>
+ </condition>
+ <condition property="manifest.available+main.class+mkdist.available">
+ <and>
+ <istrue value="${manifest.available+main.class}"/>
+ <isset property="libs.CopyLibs.classpath"/>
+ </and>
+ </condition>
+ <condition property="have.tests">
+ <or>
+ <available file="${test.src.dir}"/>
+ </or>
+ </condition>
+ <condition property="have.sources">
+ <or>
+ <available file="${src.dir}"/>
+ </or>
+ </condition>
+ <condition property="netbeans.home+have.tests">
+ <and>
+ <isset property="netbeans.home"/>
+ <isset property="have.tests"/>
+ </and>
+ </condition>
+ <condition property="no.javadoc.preview">
+ <and>
+ <isset property="javadoc.preview"/>
+ <isfalse value="${javadoc.preview}"/>
+ </and>
+ </condition>
+ <property name="run.jvmargs" value=""/>
+ <property name="javac.compilerargs" value=""/>
+ <property name="work.dir" value="${basedir}"/>
+ <condition property="no.deps">
+ <and>
+ <istrue value="${no.dependencies}"/>
+ </and>
+ </condition>
+ <property name="javac.debug" value="true"/>
+ <property name="javadoc.preview" value="true"/>
+ <property name="application.args" value=""/>
+ <property name="source.encoding" value="${file.encoding}"/>
+ <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
+ <and>
+ <isset property="javadoc.encoding"/>
+ <not>
+ <equals arg1="${javadoc.encoding}" arg2=""/>
+ </not>
+ </and>
+ </condition>
+ <property name="javadoc.encoding.used" value="${source.encoding}"/>
+ <property name="includes" value="**"/>
+ <property name="excludes" value=""/>
+ <property name="do.depend" value="false"/>
+ <condition property="do.depend.true">
+ <istrue value="${do.depend}"/>
+ </condition>
+ <condition else="" property="javac.compilerargs.jaxws" value="-Djava.endorsed.dirs='${jaxws.endorsed.dir}'">
+ <and>
+ <isset property="jaxws.endorsed.dir"/>
+ <available file="nbproject/jaxws-build.xml"/>
+ </and>
+ </condition>
+ </target>
+ <target name="-post-init">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="-pre-init,-init-private,-init-libraries,-init-user,-init-project,-do-init" name="-init-check">
+ <fail unless="src.dir">Must set src.dir</fail>
+ <fail unless="test.src.dir">Must set test.src.dir</fail>
+ <fail unless="build.dir">Must set build.dir</fail>
+ <fail unless="dist.dir">Must set dist.dir</fail>
+ <fail unless="build.classes.dir">Must set build.classes.dir</fail>
+ <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
+ <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
+ <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
+ <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
+ <fail unless="dist.jar">Must set dist.jar</fail>
+ </target>
+ <target name="-init-macrodef-property">
+ <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
+ <attribute name="name"/>
+ <attribute name="value"/>
+ <sequential>
+ <property name="@{name}" value="${@{value}}"/>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-macrodef-javac">
+ <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${src.dir}" name="srcdir"/>
+ <attribute default="${build.classes.dir}" name="destdir"/>
+ <attribute default="${javac.classpath}" name="classpath"/>
+ <attribute default="${includes}" name="includes"/>
+ <attribute default="${excludes}" name="excludes"/>
+ <attribute default="${javac.debug}" name="debug"/>
+ <attribute default="/does/not/exist" name="sourcepath"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}">
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ <compilerarg line="${javac.compilerargs} ${javac.compilerargs.jaxws}"/>
+ <customize/>
+ </javac>
+ </sequential>
+ </macrodef>
+ <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${src.dir}" name="srcdir"/>
+ <attribute default="${build.classes.dir}" name="destdir"/>
+ <attribute default="${javac.classpath}" name="classpath"/>
+ <sequential>
+ <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ </depend>
+ </sequential>
+ </macrodef>
+ <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${build.classes.dir}" name="destdir"/>
+ <sequential>
+ <fail unless="javac.includes">Must set javac.includes</fail>
+ <pathconvert pathsep="," property="javac.includes.binary">
+ <path>
+ <filelist dir="@{destdir}" files="${javac.includes}"/>
+ </path>
+ <globmapper from="*.java" to="*.class"/>
+ </pathconvert>
+ <delete>
+ <files includes="${javac.includes.binary}"/>
+ </delete>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-macrodef-junit">
+ <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${includes}" name="includes"/>
+ <attribute default="${excludes}" name="excludes"/>
+ <attribute default="**" name="testincludes"/>
+ <sequential>
+ <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true">
+ <batchtest todir="${build.test.results.dir}">
+ <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ </batchtest>
+ <classpath>
+ <path path="${run.test.classpath}"/>
+ </classpath>
+ <syspropertyset>
+ <propertyref prefix="test-sys-prop."/>
+ <mapper from="test-sys-prop.*" to="*" type="glob"/>
+ </syspropertyset>
+ <formatter type="brief" usefile="false"/>
+ <formatter type="xml"/>
+ <jvmarg line="${run.jvmargs}"/>
+ </junit>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
+ <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
+ <attribute default="${main.class}" name="name"/>
+ <attribute default="${debug.classpath}" name="classpath"/>
+ <attribute default="" name="stopclassname"/>
+ <sequential>
+ <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ </nbjpdastart>
+ </sequential>
+ </macrodef>
+ <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
+ <attribute default="${build.classes.dir}" name="dir"/>
+ <sequential>
+ <nbjpdareload>
+ <fileset dir="@{dir}" includes="${fix.classes}">
+ <include name="${fix.includes}*.class"/>
+ </fileset>
+ </nbjpdareload>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-debug-args">
+ <property name="version-output" value="java version &quot;${ant.java.version}"/>
+ <condition property="have-jdk-older-than-1.4">
+ <or>
+ <contains string="${version-output}" substring="java version &quot;1.0"/>
+ <contains string="${version-output}" substring="java version &quot;1.1"/>
+ <contains string="${version-output}" substring="java version &quot;1.2"/>
+ <contains string="${version-output}" substring="java version &quot;1.3"/>
+ </or>
+ </condition>
+ <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
+ <istrue value="${have-jdk-older-than-1.4}"/>
+ </condition>
+ <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
+ <os family="windows"/>
+ </condition>
+ <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
+ <isset property="debug.transport"/>
+ </condition>
+ </target>
+ <target depends="-init-debug-args" name="-init-macrodef-debug">
+ <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${main.class}" name="classname"/>
+ <attribute default="${debug.classpath}" name="classpath"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <java classname="@{classname}" dir="${work.dir}" fork="true">
+ <jvmarg line="${debug-args-line}"/>
+ <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
+ <jvmarg line="${run.jvmargs}"/>
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ <syspropertyset>
+ <propertyref prefix="run-sys-prop."/>
+ <mapper from="run-sys-prop.*" to="*" type="glob"/>
+ </syspropertyset>
+ <customize/>
+ </java>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-macrodef-java">
+ <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
+ <attribute default="${main.class}" name="classname"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <java classname="@{classname}" dir="${work.dir}" fork="true">
+ <jvmarg line="${run.jvmargs}"/>
+ <classpath>
+ <path path="${run.classpath}"/>
+ </classpath>
+ <syspropertyset>
+ <propertyref prefix="run-sys-prop."/>
+ <mapper from="run-sys-prop.*" to="*" type="glob"/>
+ </syspropertyset>
+ <customize/>
+ </java>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-presetdef-jar">
+ <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
+ <jar compress="${jar.compress}" jarfile="${dist.jar}">
+ <j2seproject1:fileset dir="${build.classes.dir}"/>
+ </jar>
+ </presetdef>
+ </target>
+ <target depends="-pre-init,-init-private,-init-libraries,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-junit,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar" name="init"/>
+ <!--
+ ===================
+ COMPILATION SECTION
+ ===================
+ -->
+ <target depends="init" name="deps-jar" unless="no.deps"/>
+ <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
+ <target depends="init" name="-check-automatic-build">
+ <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
+ </target>
+ <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
+ <antcall target="clean"/>
+ </target>
+ <target depends="init,deps-jar,wsimport-client-generate" name="-pre-pre-compile">
+ <mkdir dir="${build.classes.dir}"/>
+ </target>
+ <target name="-pre-compile">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target if="do.depend.true" name="-compile-depend">
+ <j2seproject3:depend/>
+ </target>
+ <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-compile-depend,wsimport-client-compile" if="have.sources" name="-do-compile">
+ <j2seproject3:javac/>
+ <copy todir="${build.classes.dir}">
+ <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ </copy>
+ </target>
+ <target name="-post-compile">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
+ <target name="-pre-compile-single">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,deps-jar,-pre-pre-compile,wsimport-client-compile" name="-do-compile-single">
+ <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
+ <j2seproject3:force-recompile/>
+ <j2seproject3:javac excludes="" includes="${javac.includes}" sourcepath="${src.dir}"/>
+ </target>
+ <target name="-post-compile-single">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
+ <!--
+ ====================
+ JAR BUILDING SECTION
+ ====================
+ -->
+ <target depends="init" name="-pre-pre-jar">
+ <dirname file="${dist.jar}" property="dist.jar.dir"/>
+ <mkdir dir="${dist.jar.dir}"/>
+ </target>
+ <target name="-pre-jar">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,compile,-pre-pre-jar,-pre-jar" name="-do-jar-without-manifest" unless="manifest.available">
+ <j2seproject1:jar/>
+ </target>
+ <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available" name="-do-jar-with-manifest" unless="manifest.available+main.class">
+ <j2seproject1:jar manifest="${manifest.file}"/>
+ </target>
+ <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class" name="-do-jar-with-mainclass" unless="manifest.available+main.class+mkdist.available">
+ <j2seproject1:jar manifest="${manifest.file}">
+ <j2seproject1:manifest>
+ <j2seproject1:attribute name="Main-Class" value="${main.class}"/>
+ </j2seproject1:manifest>
+ </j2seproject1:jar>
+ <echo>To run this application from the command line without Ant, try:</echo>
+ <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
+ <property location="${dist.jar}" name="dist.jar.resolved"/>
+ <pathconvert property="run.classpath.with.dist.jar">
+ <path path="${run.classpath}"/>
+ <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
+ </pathconvert>
+ <echo>java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
+ </target>
+ <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class+mkdist.available" name="-do-jar-with-libraries">
+ <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
+ <pathconvert property="run.classpath.without.build.classes.dir">
+ <path path="${run.classpath}"/>
+ <map from="${build.classes.dir.resolved}" to=""/>
+ </pathconvert>
+ <pathconvert pathsep=" " property="jar.classpath">
+ <path path="${run.classpath.without.build.classes.dir}"/>
+ <chainedmapper>
+ <flattenmapper/>
+ <globmapper from="*" to="lib/*"/>
+ </chainedmapper>
+ </pathconvert>
+ <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
+ <copylibs compress="${jar.compress}" jarfile="${dist.jar}" manifest="${manifest.file}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
+ <fileset dir="${build.classes.dir}"/>
+ <manifest>
+ <attribute name="Main-Class" value="${main.class}"/>
+ <attribute name="Class-Path" value="${jar.classpath}"/>
+ </manifest>
+ </copylibs>
+ <echo>To run this application from the command line without Ant, try:</echo>
+ <property location="${dist.jar}" name="dist.jar.resolved"/>
+ <echo>java -jar "${dist.jar.resolved}"</echo>
+ </target>
+ <target name="-post-jar">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries,-post-jar" description="Build JAR." name="jar"/>
+ <!--
+ =================
+ EXECUTION SECTION
+ =================
+ -->
+ <target depends="init,compile" description="Run a main class." name="run">
+ <j2seproject1:java>
+ <customize>
+ <arg line="${application.args}"/>
+ </customize>
+ </j2seproject1:java>
+ </target>
+ <target name="-do-not-recompile">
+ <property name="javac.includes.binary" value=""/>
+ </target>
+ <target depends="init,-do-not-recompile,compile-single" name="run-single">
+ <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
+ <j2seproject1:java classname="${run.class}"/>
+ </target>
+ <!--
+ =================
+ DEBUGGING SECTION
+ =================
+ -->
+ <target depends="init" if="netbeans.home" name="-debug-start-debugger">
+ <j2seproject1:nbjpdastart name="${debug.class}"/>
+ </target>
+ <target depends="init,compile" name="-debug-start-debuggee">
+ <j2seproject3:debug>
+ <customize>
+ <arg line="${application.args}"/>
+ </customize>
+ </j2seproject3:debug>
+ </target>
+ <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
+ <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
+ <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
+ </target>
+ <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
+ <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
+ <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
+ <j2seproject3:debug classname="${debug.class}"/>
+ </target>
+ <target depends="init,-do-not-recompile,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
+ <target depends="init" name="-pre-debug-fix">
+ <fail unless="fix.includes">Must set fix.includes</fail>
+ <property name="javac.includes" value="${fix.includes}.java"/>
+ </target>
+ <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
+ <j2seproject1:nbjpdareload/>
+ </target>
+ <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
+ <!--
+ ===============
+ JAVADOC SECTION
+ ===============
+ -->
+ <target depends="init" name="-javadoc-build">
+ <mkdir dir="${dist.javadoc.dir}"/>
+ <javadoc additionalparam="${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}">
+ <classpath>
+ <path path="${javac.classpath}"/>
+ </classpath>
+ <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/*.java"/>
+ </fileset>
+ </javadoc>
+ </target>
+ <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
+ <nbbrowse file="${dist.javadoc.dir}/index.html"/>
+ </target>
+ <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
+ <!--
+ =========================
+ JUNIT COMPILATION SECTION
+ =========================
+ -->
+ <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
+ <mkdir dir="${build.test.classes.dir}"/>
+ </target>
+ <target name="-pre-compile-test">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target if="do.depend.true" name="-compile-test-depend">
+ <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
+ </target>
+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
+ <j2seproject3:javac classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
+ <copy todir="${build.test.classes.dir}">
+ <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ </copy>
+ </target>
+ <target name="-post-compile-test">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
+ <target name="-pre-compile-test-single">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
+ <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
+ <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
+ <j2seproject3:javac classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" sourcepath="${test.src.dir}" srcdir="${test.src.dir}"/>
+ <copy todir="${build.test.classes.dir}">
+ <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ </copy>
+ </target>
+ <target name="-post-compile-test-single">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
+ <!--
+ =======================
+ JUNIT EXECUTION SECTION
+ =======================
+ -->
+ <target depends="init" if="have.tests" name="-pre-test-run">
+ <mkdir dir="${build.test.results.dir}"/>
+ </target>
+ <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
+ <j2seproject3:junit testincludes="**/*Test.java"/>
+ </target>
+ <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
+ <fail if="tests.failed">Some tests failed; see details above.</fail>
+ </target>
+ <target depends="init" if="have.tests" name="test-report"/>
+ <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
+ <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
+ <target depends="init" if="have.tests" name="-pre-test-run-single">
+ <mkdir dir="${build.test.results.dir}"/>
+ </target>
+ <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
+ <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
+ <j2seproject3:junit excludes="" includes="${test.includes}"/>
+ </target>
+ <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
+ <fail if="tests.failed">Some tests failed; see details above.</fail>
+ </target>
+ <target depends="init,-do-not-recompile,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test." name="test-single"/>
+ <!--
+ =======================
+ JUNIT DEBUGGING SECTION
+ =======================
+ -->
+ <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
+ <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
+ <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
+ <delete file="${test.report.file}"/>
+ <mkdir dir="${build.test.results.dir}"/>
+ <j2seproject3:debug classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner" classpath="${ant.home}/lib/ant.jar:${ant.home}/lib/ant-junit.jar:${debug.test.classpath}">
+ <customize>
+ <syspropertyset>
+ <propertyref prefix="test-sys-prop."/>
+ <mapper from="test-sys-prop.*" to="*" type="glob"/>
+ </syspropertyset>
+ <arg value="${test.class}"/>
+ <arg value="showoutput=true"/>
+ <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
+ <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
+ </customize>
+ </j2seproject3:debug>
+ </target>
+ <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
+ <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
+ </target>
+ <target depends="init,-do-not-recompile,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
+ <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
+ <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
+ </target>
+ <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
+ <!--
+ =========================
+ APPLET EXECUTION SECTION
+ =========================
+ -->
+ <target depends="init,compile-single" name="run-applet">
+ <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
+ <j2seproject1:java classname="sun.applet.AppletViewer">
+ <customize>
+ <arg value="${applet.url}"/>
+ </customize>
+ </j2seproject1:java>
+ </target>
+ <!--
+ =========================
+ APPLET DEBUGGING SECTION
+ =========================
+ -->
+ <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
+ <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
+ <j2seproject3:debug classname="sun.applet.AppletViewer">
+ <customize>
+ <arg value="${applet.url}"/>
+ </customize>
+ </j2seproject3:debug>
+ </target>
+ <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
+ <!--
+ ===============
+ CLEANUP SECTION
+ ===============
+ -->
+ <target depends="init" name="deps-clean" unless="no.deps"/>
+ <target depends="init" name="-do-clean">
+ <delete dir="${build.dir}"/>
+ <delete dir="${dist.dir}"/>
+ </target>
+ <target name="-post-clean">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
+</project>
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/genfiles.properties b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/genfiles.properties
new file mode 100644
index 0000000..fd3ac41
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/genfiles.properties
@@ -0,0 +1,8 @@
+build.xml.data.CRC32=d221105c
+build.xml.script.CRC32=4a36ae31
+build.xml.stylesheet.CRC32=958a1d3e
+# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
+# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
+nbproject/build-impl.xml.data.CRC32=d221105c
+nbproject/build-impl.xml.script.CRC32=a21d2adb
+nbproject/build-impl.xml.stylesheet.CRC32=65b8de21
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/jax-ws.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/jax-ws.xml
new file mode 100644
index 0000000..1e85d37
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/jax-ws.xml
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<jax-ws xmlns="http://www.netbeans.org/ns/jax-ws/1">
+ <services/>
+ <clients>
+ <client name="BestellBean">
+ <wsdl-url>http://localhost:8080/BestellBeanService/BestellBean?wsdl</wsdl-url>
+ <local-wsdl-file>localhost_8080/BestellBeanService/BestellBean.wsdl</local-wsdl-file>
+ <package-name>beans.bestell</package-name>
+ <catalog-file>catalog.xml</catalog-file>
+ <wsimport-options>
+ <wsimport-option>
+ <wsimport-option-name>extension</wsimport-option-name>
+ <wsimport-option-value>true</wsimport-option-value>
+ </wsimport-option>
+ <wsimport-option>
+ <wsimport-option-name>verbose</wsimport-option-name>
+ <wsimport-option-value>true</wsimport-option-value>
+ </wsimport-option>
+ <wsimport-option>
+ <wsimport-option-name>wsdlLocation</wsimport-option-name>
+ <wsimport-option-value>http://localhost:8080/BestellBeanService/BestellBean?wsdl</wsimport-option-value>
+ </wsimport-option>
+ </wsimport-options>
+ </client>
+ <client name="ArtikelManagerBean">
+ <wsdl-url>http://localhost:8080/ArtikelManagerBeanService/ArtikelManagerBean?wsdl</wsdl-url>
+ <local-wsdl-file>localhost_8080/ArtikelManagerBeanService/ArtikelManagerBean.wsdl</local-wsdl-file>
+ <package-name>beans.artikelmanager</package-name>
+ <catalog-file>catalog.xml</catalog-file>
+ <wsimport-options>
+ <wsimport-option>
+ <wsimport-option-name>extension</wsimport-option-name>
+ <wsimport-option-value>true</wsimport-option-value>
+ </wsimport-option>
+ <wsimport-option>
+ <wsimport-option-name>verbose</wsimport-option-name>
+ <wsimport-option-value>true</wsimport-option-value>
+ </wsimport-option>
+ <wsimport-option>
+ <wsimport-option-name>wsdlLocation</wsimport-option-name>
+ <wsimport-option-value>http://localhost:8080/ArtikelManagerBeanService/ArtikelManagerBean?wsdl</wsimport-option-value>
+ </wsimport-option>
+ </wsimport-options>
+ </client>
+ <client name="LagerBean">
+ <wsdl-url>http://localhost:8080/LagerBeanService/LagerBean?wsdl</wsdl-url>
+ <local-wsdl-file>localhost_8080/LagerBeanService/LagerBean.wsdl</local-wsdl-file>
+ <package-name>beans.lager</package-name>
+ <catalog-file>catalog.xml</catalog-file>
+ <wsimport-options>
+ <wsimport-option>
+ <wsimport-option-name>extension</wsimport-option-name>
+ <wsimport-option-value>true</wsimport-option-value>
+ </wsimport-option>
+ <wsimport-option>
+ <wsimport-option-name>verbose</wsimport-option-name>
+ <wsimport-option-value>true</wsimport-option-value>
+ </wsimport-option>
+ <wsimport-option>
+ <wsimport-option-name>wsdlLocation</wsimport-option-name>
+ <wsimport-option-value>http://localhost:8080/LagerBeanService/LagerBean?wsdl</wsimport-option-value>
+ </wsimport-option>
+ </wsimport-options>
+ </client>
+ <client name="LieferantBean">
+ <wsdl-url>http://localhost:8080/LieferantBeanService/LieferantBean?wsdl</wsdl-url>
+ <local-wsdl-file>localhost_8080/LieferantBeanService/LieferantBean.wsdl</local-wsdl-file>
+ <package-name>beans.lieferant</package-name>
+ <catalog-file>catalog.xml</catalog-file>
+ <wsimport-options>
+ <wsimport-option>
+ <wsimport-option-name>extension</wsimport-option-name>
+ <wsimport-option-value>true</wsimport-option-value>
+ </wsimport-option>
+ <wsimport-option>
+ <wsimport-option-name>verbose</wsimport-option-name>
+ <wsimport-option-value>true</wsimport-option-value>
+ </wsimport-option>
+ <wsimport-option>
+ <wsimport-option-name>wsdlLocation</wsimport-option-name>
+ <wsimport-option-value>http://localhost:8080/LieferantBeanService/LieferantBean?wsdl</wsimport-option-value>
+ </wsimport-option>
+ </wsimport-options>
+ </client>
+ <client name="MindestMengeService">
+ <wsdl-url>http://localhost:8080/DSI-Andere-Webservices/MindestMengeService?wsdl</wsdl-url>
+ <local-wsdl-file>localhost_8080/DSI-Andere-Webservices/MindestMengeService.wsdl</local-wsdl-file>
+ <package-name>ws</package-name>
+ <catalog-file>catalog.xml</catalog-file>
+ <wsimport-options>
+ <wsimport-option>
+ <wsimport-option-name>extension</wsimport-option-name>
+ <wsimport-option-value>true</wsimport-option-value>
+ </wsimport-option>
+ <wsimport-option>
+ <wsimport-option-name>verbose</wsimport-option-name>
+ <wsimport-option-value>true</wsimport-option-value>
+ </wsimport-option>
+ <wsimport-option>
+ <wsimport-option-name>wsdlLocation</wsimport-option-name>
+ <wsimport-option-value>http://localhost:8080/DSI-Andere-Webservices/MindestMengeService?wsdl</wsimport-option-value>
+ </wsimport-option>
+ </wsimport-options>
+ </client>
+ </clients>
+ <jsr109>false</jsr109>
+</jax-ws>
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/jaxws-build.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/jaxws-build.xml
new file mode 100644
index 0000000..b66907a
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/jaxws-build.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns:xalan="http://xml.apache.org/xslt" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxws="http://www.netbeans.org/ns/jax-ws/1">
+ <!--
+ ===================
+ JAX-WS WSIMPORT SECTION
+ ===================
+ -->
+ <target name="wsimport-init" depends="init">
+ <mkdir dir="${build.generated.dir}/wsimport/client"/>
+ <taskdef name="wsimport" classname="com.sun.tools.ws.ant.WsImport">
+ <classpath path="${libs.jaxws21.classpath}"/>
+ </taskdef>
+ </target>
+ <target name="wsimport-client-BestellBean" depends="wsimport-init">
+ <property name="wsdl-BestellBean" location="xml-resources/web-service-references/BestellBean/wsdl/localhost_8080/BestellBeanService/BestellBean.wsdl"/>
+ <wsimport sourcedestdir="${build.generated.dir}/wsimport/client" destdir="${build.generated.dir}/wsimport/client" wsdl="${wsdl-BestellBean}" catalog="catalog.xml" extension="true" verbose="true" wsdlLocation="http://localhost:8080/BestellBeanService/BestellBean?wsdl">
+ <produces dir="${build.generated.dir}/wsimport/client/beans/bestell" includes="BestellBean.java" casesensitive="no"/>
+ </wsimport>
+ </target>
+ <target name="wsimport-client-clean-BestellBean" depends="-init-project">
+ <delete dir="${build.generated.dir}/wsimport/client/beans/bestell"/>
+ </target>
+ <target name="wsimport-client-ArtikelManagerBean" depends="wsimport-init">
+ <property name="wsdl-ArtikelManagerBean" location="xml-resources/web-service-references/ArtikelManagerBean/wsdl/localhost_8080/ArtikelManagerBeanService/ArtikelManagerBean.wsdl"/>
+ <wsimport sourcedestdir="${build.generated.dir}/wsimport/client" destdir="${build.generated.dir}/wsimport/client" wsdl="${wsdl-ArtikelManagerBean}" catalog="catalog.xml" extension="true" verbose="true" wsdlLocation="http://localhost:8080/ArtikelManagerBeanService/ArtikelManagerBean?wsdl">
+ <produces dir="${build.generated.dir}/wsimport/client/beans/artikelmanager" includes="ArtikelManagerBean.java" casesensitive="no"/>
+ </wsimport>
+ </target>
+ <target name="wsimport-client-clean-ArtikelManagerBean" depends="-init-project">
+ <delete dir="${build.generated.dir}/wsimport/client/beans/artikelmanager"/>
+ </target>
+ <target name="wsimport-client-LagerBean" depends="wsimport-init">
+ <property name="wsdl-LagerBean" location="xml-resources/web-service-references/LagerBean/wsdl/localhost_8080/LagerBeanService/LagerBean.wsdl"/>
+ <wsimport sourcedestdir="${build.generated.dir}/wsimport/client" destdir="${build.generated.dir}/wsimport/client" wsdl="${wsdl-LagerBean}" catalog="catalog.xml" extension="true" verbose="true" wsdlLocation="http://localhost:8080/LagerBeanService/LagerBean?wsdl">
+ <produces dir="${build.generated.dir}/wsimport/client/beans/lager" includes="LagerBean.java" casesensitive="no"/>
+ </wsimport>
+ </target>
+ <target name="wsimport-client-clean-LagerBean" depends="-init-project">
+ <delete dir="${build.generated.dir}/wsimport/client/beans/lager"/>
+ </target>
+ <target name="wsimport-client-LieferantBean" depends="wsimport-init">
+ <property name="wsdl-LieferantBean" location="xml-resources/web-service-references/LieferantBean/wsdl/localhost_8080/LieferantBeanService/LieferantBean.wsdl"/>
+ <wsimport sourcedestdir="${build.generated.dir}/wsimport/client" destdir="${build.generated.dir}/wsimport/client" wsdl="${wsdl-LieferantBean}" catalog="catalog.xml" extension="true" verbose="true" wsdlLocation="http://localhost:8080/LieferantBeanService/LieferantBean?wsdl">
+ <produces dir="${build.generated.dir}/wsimport/client/beans/lieferant" includes="LieferantBean.java" casesensitive="no"/>
+ </wsimport>
+ </target>
+ <target name="wsimport-client-clean-LieferantBean" depends="-init-project">
+ <delete dir="${build.generated.dir}/wsimport/client/beans/lieferant"/>
+ </target>
+ <target name="wsimport-client-MindestMengeService" depends="wsimport-init">
+ <property name="wsdl-MindestMengeService" location="xml-resources/web-service-references/MindestMengeService/wsdl/localhost_8080/DSI-Andere-Webservices/MindestMengeService.wsdl"/>
+ <wsimport sourcedestdir="${build.generated.dir}/wsimport/client" destdir="${build.generated.dir}/wsimport/client" wsdl="${wsdl-MindestMengeService}" catalog="catalog.xml" extension="true" verbose="true" wsdlLocation="http://localhost:8080/DSI-Andere-Webservices/MindestMengeService?wsdl">
+ <produces dir="${build.generated.dir}/wsimport/client/ws" includes="MindestMengeService.java" casesensitive="no"/>
+ </wsimport>
+ </target>
+ <target name="wsimport-client-clean-MindestMengeService" depends="-init-project">
+ <delete dir="${build.generated.dir}/wsimport/client/ws"/>
+ </target>
+ <target name="wsimport-client-generate" depends="wsimport-client-BestellBean, wsimport-client-ArtikelManagerBean, wsimport-client-LagerBean, wsimport-client-LieferantBean, wsimport-client-MindestMengeService"/>
+ <target name="wsimport-client-compile-depend" if="do.depend.true">
+ <j2seproject3:depend srcdir="${build.generated.dir}/wsimport/client" classpath="${libs.jaxws21.classpath}:${javac.classpath}" destdir="${build.classes.dir}"/>
+ </target>
+ <target name="wsimport-client-compile" depends="-pre-pre-compile, wsimport-client-compile-depend">
+ <j2seproject3:javac srcdir="${build.generated.dir}/wsimport/client" classpath="${libs.jaxws21.classpath}:${javac.classpath}" destdir="${build.classes.dir}"/>
+ <copy todir="${build.classes.dir}">
+ <fileset dir="${build.generated.dir}/wsimport/client" includes="**/*.xml"/>
+ </copy>
+ </target>
+</project>
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/private/private.properties b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/private/private.properties
new file mode 100644
index 0000000..07a4cb1
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/private/private.properties
@@ -0,0 +1,2 @@
+jaxws.endorsed.dir=C:\\Programme\\NetBeans 6.5\\java2\\modules\\ext\\jaxws21\\api:C:\\Programme\\NetBeans 6.5\\ide10\\modules\\ext\\jaxb\\api
+user.properties.file=C:\\Dokumente und Einstellungen\\eisenhauer\\.netbeans\\6.5\\build.properties
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/private/private.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/private/private.xml
new file mode 100644
index 0000000..cc2c0e5
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/private/private.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
+ <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/1"/>
+</project-private>
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/project.properties b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/project.properties
new file mode 100644
index 0000000..fc24d08
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/project.properties
@@ -0,0 +1,61 @@
+build.classes.dir=${build.dir}/classes
+build.classes.excludes=**/*.java,**/*.form
+# This directory is removed when the project is cleaned:
+build.dir=build
+build.generated.dir=${build.dir}/generated
+# Only compile against the classpath explicitly listed here:
+build.sysclasspath=ignore
+build.test.classes.dir=${build.dir}/test/classes
+build.test.results.dir=${build.dir}/test/results
+debug.classpath=\
+ ${run.classpath}
+debug.test.classpath=\
+ ${run.test.classpath}
+# This directory is removed when the project is cleaned:
+dist.dir=dist
+dist.jar=${dist.dir}/WS-Client.jar
+dist.javadoc.dir=${dist.dir}/javadoc
+excludes=
+includes=**
+jar.compress=false
+javac.classpath=\
+ ${libs.jaxws21.classpath}
+# Space-separated list of extra javac options
+javac.compilerargs=
+javac.deprecation=false
+javac.source=1.5
+javac.target=1.5
+javac.test.classpath=\
+ ${javac.classpath}:\
+ ${build.classes.dir}:\
+ ${libs.junit.classpath}:\
+ ${libs.junit_4.classpath}
+javadoc.additionalparam=
+javadoc.author=false
+javadoc.encoding=${source.encoding}
+javadoc.noindex=false
+javadoc.nonavbar=false
+javadoc.notree=false
+javadoc.private=false
+javadoc.splitindex=true
+javadoc.use=true
+javadoc.version=false
+javadoc.windowtitle=
+main.class=wsclient.Main
+manifest.file=manifest.mf
+meta.inf.dir=${src.dir}/META-INF
+platform.active=default_platform
+run.classpath=\
+ ${javac.classpath}:\
+ ${build.classes.dir}
+# Space-separated list of JVM arguments used when running the project
+# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value
+# or test-sys-prop.name=value to set system properties for unit tests):
+run.jvmargs=
+run.test.classpath=\
+ ${javac.test.classpath}:\
+ ${build.test.classes.dir}
+source.encoding=UTF-8
+src.dir=src
+test.src.dir=test
+compile.on.save.unsupported.jaxws=true
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/project.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/project.xml
new file mode 100644
index 0000000..a209bd3
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/project.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://www.netbeans.org/ns/project/1">
+ <type>org.netbeans.modules.java.j2seproject</type>
+ <configuration>
+ <buildExtensions xmlns="http://www.netbeans.org/ns/ant-build-extender/1">
+ <extension file="jaxws-build.xml" id="jaxws">
+ <dependency dependsOn="wsimport-client-compile" target="-do-compile"/>
+ <dependency dependsOn="wsimport-client-compile" target="-do-compile-single"/>
+ <dependency dependsOn="wsimport-client-generate" target="-pre-pre-compile"/>
+ </extension>
+ </buildExtensions>
+ <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
+ <name>WS-Client</name>
+ <minimum-ant-version>1.6.5</minimum-ant-version>
+ <source-roots>
+ <root id="src.dir"/>
+ </source-roots>
+ <test-roots>
+ <root id="test.src.dir"/>
+ </test-roots>
+ </data>
+ <libraries xmlns="http://www.netbeans.org/ns/ant-project-libraries/1">
+ <definitions>.\lib\nblibraries.properties</definitions>
+ </libraries>
+ </configuration>
+</project>
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/Bestellung.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/Bestellung.java
new file mode 100644
index 0000000..d2902d7
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/Bestellung.java
@@ -0,0 +1,174 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package wsclient;
+
+/*
+ * TODO: nach der Generierung der Webservice-Clients bitte Kommentar entfernen
+ *
+import beans.artikelmanager.*;
+*/
+
+
+/**
+ *
+ * @author Jan
+ */
+public class Bestellung {
+
+
+ /**
+ * fuehrt eine Bestellung durch
+ *
+ * @param kundenId Die ID des Kunden
+ * @param artikelId Die ID des Artikels
+ * @param artikelAnzahl Die Anzahl der Artikel
+ * @return String Report ueber die Bestellung
+ * @throws java.lang.Exception
+ */
+ public String fuehreBestellungDurch(long kundenId, long artikelId, long artikelAnzahl) throws Exception {
+ if(validiereBestellung(artikelId, artikelAnzahl, kundenId) != true) {
+ throw new Exception("Bestellung nicht valide");
+ }
+ beans.artikelmanager.Artikel artikel = holeArtikelDaten(artikelId);
+
+ if(pruefeVerfuegbarkeit(artikelId, artikelAnzahl)!=true) {
+ long mindestMenge = holeMindestmengeFuerArtikel(artikelId);
+ long imLager = artikel.getAnzahl();
+ long anzahlNachbestellen = artikelAnzahl - imLager + mindestMenge;
+ bestelleNach(artikelId, anzahlNachbestellen);
+ System.out.println(String.format("Reordeing %d pieces of %d", anzahlNachbestellen,artikelId));
+ }
+ bucheAus(artikelId, artikelAnzahl);
+ double preisNetto = berechneGesamtpreis(artikelAnzahl, artikel.getPreis());
+ double mwst = berechneMehrwertSteuer(preisNetto);
+ String output = erstelleReport(kundenId, artikelAnzahl, artikel, preisNetto, mwst);
+ return output;
+ //throw new Exception("noch nicht implementiert!");
+ }
+
+
+
+
+/**
+ * Die folgenden Methoden koennen zum wrappen der Webservice-Aufrufe verwendet werden
+ * mittels erstelleReport kann ein Report generiert werden,
+ * den fuehreBestellungenDurch zurueckgeben kann
+ */
+
+ private boolean validiereBestellung(long artikelId, long anzahl, long kundenId) throws Exception {
+ try { // Call Web Service Operation
+ beans.bestell.BestellBeanService service = new beans.bestell.BestellBeanService();
+ beans.bestell.BestellBean port = service.getBestellBeanPort();
+ boolean result = port.validiereBestellung(artikelId, anzahl, kundenId);
+ System.out.println("Result = "+result);
+ return result;
+ } catch (Exception ex) {
+ throw new Exception("Error validating order with BestellBeanService",ex);
+ }
+ }
+
+ private beans.artikelmanager.Artikel holeArtikelDaten(long artikelId) throws beans.artikelmanager.UnbekanntesEntityException_Exception, Exception {
+ try { // Call Web Service Operation
+ beans.artikelmanager.ArtikelManagerBeanService service = new beans.artikelmanager.ArtikelManagerBeanService();
+ beans.artikelmanager.ArtikelManagerBean port = service.getArtikelManagerBeanPort();
+ beans.artikelmanager.Artikel result = port.readArtikel(artikelId);
+ System.out.println("Result = "+result);
+ return result;
+ } catch (Exception ex) {
+ throw new Exception("Error fetching Artikel from ArtikelManagerBeanService", ex);
+ }
+ }
+
+ private boolean pruefeVerfuegbarkeit(long artikelId, long anzahl) throws Exception {
+ try { // Call Web Service Operation
+ beans.lager.LagerBeanService service = new beans.lager.LagerBeanService();
+ beans.lager.LagerBean port = service.getLagerBeanPort();
+ boolean result = port.pruefeVerfuegbarkeit(artikelId, anzahl);
+ System.out.println("Result = "+result);
+ return result;
+ } catch (Exception ex) {
+ throw new Exception("Error fetching availability from LagerBeanService", ex);
+ }
+
+ }
+
+ private void bestelleNach(long artikelId, long anzahl) throws beans.lieferant.IllegalerWertException_Exception, beans.lieferant.UnbekanntesEntityException_Exception, Exception {
+ try { // Call Web Service Operation
+ beans.lieferant.LieferantBeanService service = new beans.lieferant.LieferantBeanService();
+ beans.lieferant.LieferantBean port = service.getLieferantBeanPort();
+ port.bestelleNach(artikelId, anzahl);
+ } catch (Exception ex) {
+ throw new Exception("Error calling bestelleNach Service Method of LieferantBeanService",ex);
+ }
+
+ }
+
+ private void bucheAus(long artikelId, long anzahl) throws beans.lager.IllegalerWertException_Exception, beans.lager.UnbekanntesEntityException_Exception, Exception {
+ try { // Call Web Service Operation
+ beans.lager.LagerBeanService service = new beans.lager.LagerBeanService();
+ beans.lager.LagerBean port = service.getLagerBeanPort();
+ port.bucheArtikelAus(artikelId, anzahl);
+ } catch (Exception ex) {
+ throw new Exception("Error calling bucheAus Service Method of LagerBeanService", ex);
+ }
+
+ }
+
+ private double berechneGesamtpreis(long anzahl, double preis) throws Exception {
+ try { // Call Web Service Operation
+ beans.bestell.BestellBeanService service = new beans.bestell.BestellBeanService();
+ beans.bestell.BestellBean port = service.getBestellBeanPort();
+ double result = port.berechneGesamtpreis(anzahl, preis);
+ System.out.println("Result = "+result);
+ return result;
+ } catch (Exception ex) {
+ throw new Exception("Error calling berechneGesamtpreis Service Method of BestellBeanService", ex);
+ }
+
+ }
+
+ private double berechneMehrwertSteuer(double preis) throws Exception {
+ try { // Call Web Service Operation
+ beans.bestell.BestellBeanService service = new beans.bestell.BestellBeanService();
+ beans.bestell.BestellBean port = service.getBestellBeanPort();
+ double result = port.berechneMehrwertSteuer(preis);
+ System.out.println("Result = "+result);
+ return result;
+ } catch (Exception ex) {
+ throw new Exception("Error calling berechneMehrwertSteuer Service Method of BestellBeanService", ex);
+ }
+
+ }
+
+ private long holeMindestmengeFuerArtikel(long artikelId) throws Exception {
+ try { // Call Web Service Operation
+ ws.MindestMengeService service = new ws.MindestMengeService();
+ ws.MindestMenge port = service.getMindestMengePort();
+ long result = port.holeMindestmengeFuerArtikel(artikelId);
+ System.out.println("Result = "+result);
+ return result;
+ } catch (Exception ex) {
+ throw new Exception("Error calling holeMindestmengeFuerArtikel Service Method of MindestMengeService", ex);
+ }
+
+ }
+
+ private String erstelleReport(long kundenId, long artikelAnzahl, beans.artikelmanager.Artikel artikel, double preisOhneMwSt , double MwSt){
+ String output = "";
+
+ output += "<html>";
+ output += "<h2>Bestellung</h2>";
+
+ output += "Kunden-Nr: " + kundenId + "<p>";
+ output += "Artikel" + "<p>";
+ output += " Artikel-Nr: " + artikel.getId() + " Bezeichnung: " + artikel.getBezeichnung() + "<p>";
+ output += "Bestellmenge: " + artikelAnzahl + "<p>";
+ output += "Preis: " + String.format("%.2f", preisOhneMwSt) + "€ + " + String.format("%.2f", MwSt) + "€ MwSt = " + String.format("%.2f" ,(preisOhneMwSt + MwSt)) + "€" + "<p>";
+ output += "</html>";
+
+ return output;
+ }
+
+} \ No newline at end of file
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/Main.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/Main.java
new file mode 100644
index 0000000..d95fedf
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/Main.java
@@ -0,0 +1,25 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package wsclient;
+
+import javax.swing.JFrame;
+
+/**
+ *
+ * @author Jan
+ */
+public class Main {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ // TODO code application logic here
+ JFrame main = new MainWindow();
+ main.setVisible(true);
+ }
+
+}
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/MainWindow.form b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/MainWindow.form
new file mode 100644
index 0000000..10aa90e
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/MainWindow.form
@@ -0,0 +1,139 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<Form version="1.5" maxVersion="1.6" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
+ <Properties>
+ <Property name="defaultCloseOperation" type="int" value="3"/>
+ </Properties>
+ <SyntheticProperties>
+ <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
+ </SyntheticProperties>
+ <AuxValues>
+ <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
+ <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
+ <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
+ <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
+ <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
+ <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
+ <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
+ <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
+ <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
+ </AuxValues>
+
+ <Layout>
+ <DimensionLayout dim="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" attributes="0">
+ <EmptySpace min="-2" pref="22" max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Component id="jLabel3" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel2" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel1" alignment="0" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="32767" attributes="0"/>
+ <Group type="103" groupAlignment="0" max="-2" attributes="0">
+ <Component id="jSpinnerKundeId" alignment="0" max="32767" attributes="1"/>
+ <Component id="jSpinnerArtikelId" alignment="0" max="32767" attributes="1"/>
+ <Component id="jSpinnerArtikelAnzahl" alignment="0" min="-2" pref="95" max="-2" attributes="1"/>
+ </Group>
+ <EmptySpace min="-2" pref="18" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="jButtonBestellungAbschicken" pref="179" max="32767" attributes="0"/>
+ <EmptySpace max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ <EmptySpace min="-2" pref="158" max="-2" attributes="0"/>
+ <Component id="jLabelOutput" min="-2" pref="293" max="-2" attributes="0"/>
+ <EmptySpace max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ <DimensionLayout dim="1">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" attributes="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" attributes="0">
+ <EmptySpace min="-2" pref="24" max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jSpinnerKundeId" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jSpinnerArtikelId" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jSpinnerArtikelAnzahl" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="jButtonBestellungAbschicken" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="jLabelOutput" min="-2" pref="192" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ <EmptySpace pref="102" max="32767" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ </Layout>
+ <SubComponents>
+ <Component class="javax.swing.JLabel" name="jLabel1">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="Kunden-Id"/>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="jLabel2">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="Artikel-Id"/>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="jLabel3">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="Anzahl"/>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JSpinner" name="jSpinnerKundeId">
+ <Properties>
+ <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
+ <SpinnerModel initial="0" numberType="java.lang.Long" stepSize="1" type="number"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JSpinner" name="jSpinnerArtikelId">
+ <Properties>
+ <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
+ <SpinnerModel initial="0" numberType="java.lang.Long" stepSize="1" type="number"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JSpinner" name="jSpinnerArtikelAnzahl">
+ <Properties>
+ <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
+ <SpinnerModel initial="0" numberType="java.lang.Long" stepSize="1" type="number"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JButton" name="jButtonBestellungAbschicken">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="Bestellung abschicken"/>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonBestellungAbschickenActionPerformed"/>
+ </Events>
+ </Component>
+ <Component class="javax.swing.JLabel" name="jLabelOutput">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="..."/>
+ <Property name="verticalAlignment" type="int" value="1"/>
+ </Properties>
+ </Component>
+ </SubComponents>
+</Form>
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/MainWindow.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/MainWindow.java
new file mode 100644
index 0000000..c05c0ce
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/MainWindow.java
@@ -0,0 +1,159 @@
+/*
+ * MainWindow.java
+ *
+ * Created on 8. Juli 2008, 17:02
+ */
+
+package wsclient;
+
+import java.util.logging.Level;
+import java.util.logging.Logger;
+import javax.swing.JDialog;
+import javax.swing.JOptionPane;
+
+/**
+ *
+ * @author Jan
+ */
+public class MainWindow extends javax.swing.JFrame {
+
+ /** Creates new form MainWindow */
+ public MainWindow() {
+ initComponents();
+ }
+
+ /** This method is called from within the constructor to
+ * initialize the form.
+ * WARNING: Do NOT modify this code. The content of this method is
+ * always regenerated by the Form Editor.
+ */
+ @SuppressWarnings("unchecked")
+ // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
+ private void initComponents() {
+
+ jLabel1 = new javax.swing.JLabel();
+ jLabel2 = new javax.swing.JLabel();
+ jLabel3 = new javax.swing.JLabel();
+ jSpinnerKundeId = new javax.swing.JSpinner();
+ jSpinnerArtikelId = new javax.swing.JSpinner();
+ jSpinnerArtikelAnzahl = new javax.swing.JSpinner();
+ jButtonBestellungAbschicken = new javax.swing.JButton();
+ jLabelOutput = new javax.swing.JLabel();
+
+ setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
+
+ jLabel1.setText("Kunden-Id");
+
+ jLabel2.setText("Artikel-Id");
+
+ jLabel3.setText("Anzahl");
+
+ jSpinnerKundeId.setModel(new javax.swing.SpinnerNumberModel(Long.valueOf(0L), null, null, Long.valueOf(1L)));
+
+ jSpinnerArtikelId.setModel(new javax.swing.SpinnerNumberModel(Long.valueOf(0L), null, null, Long.valueOf(1L)));
+
+ jSpinnerArtikelAnzahl.setModel(new javax.swing.SpinnerNumberModel(Long.valueOf(0L), null, null, Long.valueOf(1L)));
+
+ jButtonBestellungAbschicken.setText("Bestellung abschicken");
+ jButtonBestellungAbschicken.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButtonBestellungAbschickenActionPerformed(evt);
+ }
+ });
+
+ jLabelOutput.setText("...");
+ jLabelOutput.setVerticalAlignment(javax.swing.SwingConstants.TOP);
+
+ javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
+ getContentPane().setLayout(layout);
+ layout.setHorizontalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(layout.createSequentialGroup()
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(layout.createSequentialGroup()
+ .addGap(22, 22, 22)
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jLabel3)
+ .addComponent(jLabel2)
+ .addComponent(jLabel1))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
+ .addComponent(jSpinnerKundeId)
+ .addComponent(jSpinnerArtikelId)
+ .addComponent(jSpinnerArtikelAnzahl, javax.swing.GroupLayout.PREFERRED_SIZE, 95, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addGap(18, 18, 18))
+ .addGroup(layout.createSequentialGroup()
+ .addContainerGap()
+ .addComponent(jButtonBestellungAbschicken, javax.swing.GroupLayout.DEFAULT_SIZE, 179, Short.MAX_VALUE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)))
+ .addGap(158, 158, 158)
+ .addComponent(jLabelOutput, javax.swing.GroupLayout.PREFERRED_SIZE, 293, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addContainerGap())
+ );
+ layout.setVerticalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(layout.createSequentialGroup()
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(layout.createSequentialGroup()
+ .addGap(24, 24, 24)
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jLabel1)
+ .addComponent(jSpinnerKundeId, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jLabel2)
+ .addComponent(jSpinnerArtikelId, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jLabel3)
+ .addComponent(jSpinnerArtikelAnzahl, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(jButtonBestellungAbschicken))
+ .addGroup(layout.createSequentialGroup()
+ .addContainerGap()
+ .addComponent(jLabelOutput, javax.swing.GroupLayout.PREFERRED_SIZE, 192, javax.swing.GroupLayout.PREFERRED_SIZE)))
+ .addContainerGap(102, Short.MAX_VALUE))
+ );
+
+ pack();
+ }// </editor-fold>//GEN-END:initComponents
+
+
+private void jButtonBestellungAbschickenActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonBestellungAbschickenActionPerformed
+ Bestellung b = new Bestellung();
+
+ try {
+
+
+ String output = b.fuehreBestellungDurch((Long) jSpinnerKundeId.getValue(), (Long) jSpinnerArtikelId.getValue(), (Long) jSpinnerArtikelAnzahl.getValue());
+
+ jLabelOutput.setText(output);
+ } catch (Exception ex) {
+
+ JOptionPane.showMessageDialog(rootPane, ex.getMessage(), "Fehler beim Bestellvorgang", JOptionPane.ERROR_MESSAGE);
+ }
+}//GEN-LAST:event_jButtonBestellungAbschickenActionPerformed
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String args[]) {
+ java.awt.EventQueue.invokeLater(new Runnable() {
+ public void run() {
+ new MainWindow().setVisible(true);
+ }
+ });
+ }
+
+ // Variables declaration - do not modify//GEN-BEGIN:variables
+ private javax.swing.JButton jButtonBestellungAbschicken;
+ private javax.swing.JLabel jLabel1;
+ private javax.swing.JLabel jLabel2;
+ private javax.swing.JLabel jLabel3;
+ private javax.swing.JLabel jLabelOutput;
+ private javax.swing.JSpinner jSpinnerArtikelAnzahl;
+ private javax.swing.JSpinner jSpinnerArtikelId;
+ private javax.swing.JSpinner jSpinnerKundeId;
+ // End of variables declaration//GEN-END:variables
+
+}
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/ArtikelManagerBean/wsdl/localhost_8080/ArtikelManagerBeanService/ArtikelManagerBean.wsdl b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/ArtikelManagerBean/wsdl/localhost_8080/ArtikelManagerBeanService/ArtikelManagerBean.wsdl
new file mode 100644
index 0000000..f442156
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/ArtikelManagerBean/wsdl/localhost_8080/ArtikelManagerBeanService/ArtikelManagerBean.wsdl
@@ -0,0 +1,227 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-749-SNAPSHOT. --><!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-749-SNAPSHOT. --><definitions xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://artikelManager.beans/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://artikelManager.beans/" name="ArtikelManagerBeanService">
+<ns1:Policy xmlns:ns1="http://www.w3.org/ns/ws-policy" wsu:Id="ArtikelManagerBeanPortBinding_deleteArtikel_WSAT_Policy">
+<ns1:ExactlyOne>
+<ns1:All>
+<ns2:ATAlwaysCapability xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns2:ATAlwaysCapability>
+<ns3:ATAssertion xmlns:ns4="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:ns3="http://schemas.xmlsoap.org/ws/2004/10/wsat" ns1:Optional="true" ns4:Optional="true"></ns3:ATAssertion>
+</ns1:All>
+</ns1:ExactlyOne>
+</ns1:Policy>
+<ns5:Policy xmlns:ns5="http://www.w3.org/ns/ws-policy" wsu:Id="ArtikelManagerBeanPortBinding_readArtikel_WSAT_Policy">
+<ns5:ExactlyOne>
+<ns5:All>
+<ns6:ATAlwaysCapability xmlns:ns6="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns6:ATAlwaysCapability>
+<ns7:ATAssertion xmlns:ns8="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:ns7="http://schemas.xmlsoap.org/ws/2004/10/wsat" ns5:Optional="true" ns8:Optional="true"></ns7:ATAssertion>
+</ns5:All>
+</ns5:ExactlyOne>
+</ns5:Policy>
+<ns9:Policy xmlns:ns9="http://www.w3.org/ns/ws-policy" wsu:Id="ArtikelManagerBeanPortBinding_updateArtikel_WSAT_Policy">
+<ns9:ExactlyOne>
+<ns9:All>
+<ns10:ATAlwaysCapability xmlns:ns10="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns10:ATAlwaysCapability>
+<ns11:ATAssertion xmlns:ns12="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:ns11="http://schemas.xmlsoap.org/ws/2004/10/wsat" ns9:Optional="true" ns12:Optional="true"></ns11:ATAssertion>
+</ns9:All>
+</ns9:ExactlyOne>
+</ns9:Policy>
+<ns13:Policy xmlns:ns13="http://www.w3.org/ns/ws-policy" wsu:Id="ArtikelManagerBeanPortBinding_deleteAllArtikel_WSAT_Policy">
+<ns13:ExactlyOne>
+<ns13:All>
+<ns14:ATAlwaysCapability xmlns:ns14="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns14:ATAlwaysCapability>
+<ns15:ATAssertion xmlns:ns16="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:ns15="http://schemas.xmlsoap.org/ws/2004/10/wsat" ns13:Optional="true" ns16:Optional="true"></ns15:ATAssertion>
+</ns13:All>
+</ns13:ExactlyOne>
+</ns13:Policy>
+<ns17:Policy xmlns:ns17="http://www.w3.org/ns/ws-policy" wsu:Id="ArtikelManagerBeanPortBinding_createArtikel_WSAT_Policy">
+<ns17:ExactlyOne>
+<ns17:All>
+<ns18:ATAlwaysCapability xmlns:ns18="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns18:ATAlwaysCapability>
+<ns19:ATAssertion xmlns:ns20="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:ns19="http://schemas.xmlsoap.org/ws/2004/10/wsat" ns17:Optional="true" ns20:Optional="true"></ns19:ATAssertion>
+</ns17:All>
+</ns17:ExactlyOne>
+</ns17:Policy>
+<ns21:Policy xmlns:ns21="http://www.w3.org/ns/ws-policy" wsu:Id="ArtikelManagerBeanPortBinding_existsArtikel_WSAT_Policy">
+<ns21:ExactlyOne>
+<ns21:All>
+<ns22:ATAlwaysCapability xmlns:ns22="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns22:ATAlwaysCapability>
+<ns23:ATAssertion xmlns:ns24="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:ns23="http://schemas.xmlsoap.org/ws/2004/10/wsat" ns21:Optional="true" ns24:Optional="true"></ns23:ATAssertion>
+</ns21:All>
+</ns21:ExactlyOne>
+</ns21:Policy>
+<ns25:Policy xmlns:ns25="http://www.w3.org/ns/ws-policy" wsu:Id="ArtikelManagerBeanPortBinding_readAllArtikel_WSAT_Policy">
+<ns25:ExactlyOne>
+<ns25:All>
+<ns26:ATAlwaysCapability xmlns:ns26="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns26:ATAlwaysCapability>
+<ns27:ATAssertion xmlns:ns28="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:ns27="http://schemas.xmlsoap.org/ws/2004/10/wsat" ns25:Optional="true" ns28:Optional="true"></ns27:ATAssertion>
+</ns25:All>
+</ns25:ExactlyOne>
+</ns25:Policy>
+<types>
+<xsd:schema>
+<xsd:import namespace="http://artikelManager.beans/" schemaLocation="http://localhost:8080/ArtikelManagerBeanService/ArtikelManagerBean?xsd=1"></xsd:import>
+</xsd:schema>
+</types>
+<message name="readArtikel">
+<part name="parameters" element="tns:readArtikel"></part>
+</message>
+<message name="readArtikelResponse">
+<part name="parameters" element="tns:readArtikelResponse"></part>
+</message>
+<message name="UnbekanntesEntityException">
+<part name="fault" element="tns:UnbekanntesEntityException"></part>
+</message>
+<message name="createArtikel">
+<part name="parameters" element="tns:createArtikel"></part>
+</message>
+<message name="createArtikelResponse">
+<part name="parameters" element="tns:createArtikelResponse"></part>
+</message>
+<message name="IdBereitsVergebenException">
+<part name="fault" element="tns:IdBereitsVergebenException"></part>
+</message>
+<message name="readAllArtikel">
+<part name="parameters" element="tns:readAllArtikel"></part>
+</message>
+<message name="readAllArtikelResponse">
+<part name="parameters" element="tns:readAllArtikelResponse"></part>
+</message>
+<message name="updateArtikel">
+<part name="parameters" element="tns:updateArtikel"></part>
+</message>
+<message name="updateArtikelResponse">
+<part name="parameters" element="tns:updateArtikelResponse"></part>
+</message>
+<message name="deleteArtikel">
+<part name="parameters" element="tns:deleteArtikel"></part>
+</message>
+<message name="deleteArtikelResponse">
+<part name="parameters" element="tns:deleteArtikelResponse"></part>
+</message>
+<message name="deleteAllArtikel">
+<part name="parameters" element="tns:deleteAllArtikel"></part>
+</message>
+<message name="deleteAllArtikelResponse">
+<part name="parameters" element="tns:deleteAllArtikelResponse"></part>
+</message>
+<message name="existsArtikel">
+<part name="parameters" element="tns:existsArtikel"></part>
+</message>
+<message name="existsArtikelResponse">
+<part name="parameters" element="tns:existsArtikelResponse"></part>
+</message>
+<portType name="ArtikelManagerBean">
+<operation name="readArtikel">
+<input message="tns:readArtikel"></input>
+<output message="tns:readArtikelResponse"></output>
+<fault message="tns:UnbekanntesEntityException" name="UnbekanntesEntityException"></fault>
+</operation>
+<operation name="createArtikel">
+<input message="tns:createArtikel"></input>
+<output message="tns:createArtikelResponse"></output>
+<fault message="tns:IdBereitsVergebenException" name="IdBereitsVergebenException"></fault>
+</operation>
+<operation name="readAllArtikel">
+<input message="tns:readAllArtikel"></input>
+<output message="tns:readAllArtikelResponse"></output>
+</operation>
+<operation name="updateArtikel">
+<input message="tns:updateArtikel"></input>
+<output message="tns:updateArtikelResponse"></output>
+</operation>
+<operation name="deleteArtikel">
+<input message="tns:deleteArtikel"></input>
+<output message="tns:deleteArtikelResponse"></output>
+</operation>
+<operation name="deleteAllArtikel">
+<input message="tns:deleteAllArtikel"></input>
+<output message="tns:deleteAllArtikelResponse"></output>
+</operation>
+<operation name="existsArtikel">
+<input message="tns:existsArtikel"></input>
+<output message="tns:existsArtikelResponse"></output>
+</operation>
+</portType>
+<binding name="ArtikelManagerBeanPortBinding" type="tns:ArtikelManagerBean">
+<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"></soap:binding>
+<operation name="readArtikel">
+<ns29:PolicyReference xmlns:ns29="http://www.w3.org/ns/ws-policy" URI="#ArtikelManagerBeanPortBinding_readArtikel_WSAT_Policy"></ns29:PolicyReference>
+<soap:operation soapAction=""></soap:operation>
+<input>
+<soap:body use="literal"></soap:body>
+</input>
+<output>
+<soap:body use="literal"></soap:body>
+</output>
+<fault name="UnbekanntesEntityException">
+<soap:fault name="UnbekanntesEntityException" use="literal"></soap:fault>
+</fault>
+</operation>
+<operation name="createArtikel">
+<ns30:PolicyReference xmlns:ns30="http://www.w3.org/ns/ws-policy" URI="#ArtikelManagerBeanPortBinding_createArtikel_WSAT_Policy"></ns30:PolicyReference>
+<soap:operation soapAction=""></soap:operation>
+<input>
+<soap:body use="literal"></soap:body>
+</input>
+<output>
+<soap:body use="literal"></soap:body>
+</output>
+<fault name="IdBereitsVergebenException">
+<soap:fault name="IdBereitsVergebenException" use="literal"></soap:fault>
+</fault>
+</operation>
+<operation name="readAllArtikel">
+<ns31:PolicyReference xmlns:ns31="http://www.w3.org/ns/ws-policy" URI="#ArtikelManagerBeanPortBinding_readAllArtikel_WSAT_Policy"></ns31:PolicyReference>
+<soap:operation soapAction=""></soap:operation>
+<input>
+<soap:body use="literal"></soap:body>
+</input>
+<output>
+<soap:body use="literal"></soap:body>
+</output>
+</operation>
+<operation name="updateArtikel">
+<ns32:PolicyReference xmlns:ns32="http://www.w3.org/ns/ws-policy" URI="#ArtikelManagerBeanPortBinding_updateArtikel_WSAT_Policy"></ns32:PolicyReference>
+<soap:operation soapAction=""></soap:operation>
+<input>
+<soap:body use="literal"></soap:body>
+</input>
+<output>
+<soap:body use="literal"></soap:body>
+</output>
+</operation>
+<operation name="deleteArtikel">
+<ns33:PolicyReference xmlns:ns33="http://www.w3.org/ns/ws-policy" URI="#ArtikelManagerBeanPortBinding_deleteArtikel_WSAT_Policy"></ns33:PolicyReference>
+<soap:operation soapAction=""></soap:operation>
+<input>
+<soap:body use="literal"></soap:body>
+</input>
+<output>
+<soap:body use="literal"></soap:body>
+</output>
+</operation>
+<operation name="deleteAllArtikel">
+<ns34:PolicyReference xmlns:ns34="http://www.w3.org/ns/ws-policy" URI="#ArtikelManagerBeanPortBinding_deleteAllArtikel_WSAT_Policy"></ns34:PolicyReference>
+<soap:operation soapAction=""></soap:operation>
+<input>
+<soap:body use="literal"></soap:body>
+</input>
+<output>
+<soap:body use="literal"></soap:body>
+</output>
+</operation>
+<operation name="existsArtikel">
+<ns35:PolicyReference xmlns:ns35="http://www.w3.org/ns/ws-policy" URI="#ArtikelManagerBeanPortBinding_existsArtikel_WSAT_Policy"></ns35:PolicyReference>
+<soap:operation soapAction=""></soap:operation>
+<input>
+<soap:body use="literal"></soap:body>
+</input>
+<output>
+<soap:body use="literal"></soap:body>
+</output>
+</operation>
+</binding>
+<service name="ArtikelManagerBeanService">
+<port name="ArtikelManagerBeanPort" binding="tns:ArtikelManagerBeanPortBinding">
+<soap:address location="http://localhost:8080/ArtikelManagerBeanService/ArtikelManagerBean"></soap:address>
+</port>
+</service>
+</definitions> \ No newline at end of file
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/ArtikelManagerBean/wsdl/localhost_8080/ArtikelManagerBeanService/ArtikelManagerBean.xsd_1.xsd b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/ArtikelManagerBean/wsdl/localhost_8080/ArtikelManagerBeanService/ArtikelManagerBean.xsd_1.xsd
new file mode 100644
index 0000000..5b22af3
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/ArtikelManagerBean/wsdl/localhost_8080/ArtikelManagerBeanService/ArtikelManagerBean.xsd_1.xsd
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-749-SNAPSHOT. --><xs:schema xmlns:tns="http://artikelManager.beans/" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0" targetNamespace="http://artikelManager.beans/">
+
+<xs:element name="IdBereitsVergebenException" type="tns:IdBereitsVergebenException"></xs:element>
+
+<xs:element name="UnbekanntesEntityException" type="tns:UnbekanntesEntityException"></xs:element>
+
+<xs:element name="createArtikel" type="tns:createArtikel"></xs:element>
+
+<xs:element name="createArtikelResponse" type="tns:createArtikelResponse"></xs:element>
+
+<xs:element name="deleteAllArtikel" type="tns:deleteAllArtikel"></xs:element>
+
+<xs:element name="deleteAllArtikelResponse" type="tns:deleteAllArtikelResponse"></xs:element>
+
+<xs:element name="deleteArtikel" type="tns:deleteArtikel"></xs:element>
+
+<xs:element name="deleteArtikelResponse" type="tns:deleteArtikelResponse"></xs:element>
+
+<xs:element name="existsArtikel" type="tns:existsArtikel"></xs:element>
+
+<xs:element name="existsArtikelResponse" type="tns:existsArtikelResponse"></xs:element>
+
+<xs:element name="readAllArtikel" type="tns:readAllArtikel"></xs:element>
+
+<xs:element name="readAllArtikelResponse" type="tns:readAllArtikelResponse"></xs:element>
+
+<xs:element name="readArtikel" type="tns:readArtikel"></xs:element>
+
+<xs:element name="readArtikelResponse" type="tns:readArtikelResponse"></xs:element>
+
+<xs:element name="updateArtikel" type="tns:updateArtikel"></xs:element>
+
+<xs:element name="updateArtikelResponse" type="tns:updateArtikelResponse"></xs:element>
+
+<xs:complexType name="readAllArtikel">
+<xs:sequence></xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="readAllArtikelResponse">
+<xs:sequence>
+<xs:element name="allArtikel" type="tns:artikel" minOccurs="0" maxOccurs="unbounded"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="artikel">
+<xs:sequence>
+<xs:element name="anzahl" type="xs:long" minOccurs="0"></xs:element>
+<xs:element name="bezeichnung" type="xs:string" minOccurs="0"></xs:element>
+<xs:element name="id" type="xs:long" minOccurs="0"></xs:element>
+<xs:element name="preis" type="xs:double" minOccurs="0"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="createArtikel">
+<xs:sequence>
+<xs:element name="artikel" type="tns:artikel" minOccurs="0"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="createArtikelResponse">
+<xs:sequence>
+<xs:element name="newArtikelId" type="xs:long"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="IdBereitsVergebenException">
+<xs:sequence>
+<xs:element name="message" type="xs:string" minOccurs="0"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="existsArtikel">
+<xs:sequence>
+<xs:element name="artikelId" type="xs:long"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="existsArtikelResponse">
+<xs:sequence>
+<xs:element name="existiert" type="xs:boolean"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="updateArtikel">
+<xs:sequence>
+<xs:element name="artikel" type="tns:artikel" minOccurs="0"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="updateArtikelResponse">
+<xs:sequence></xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="deleteAllArtikel">
+<xs:sequence></xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="deleteAllArtikelResponse">
+<xs:sequence></xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="readArtikel">
+<xs:sequence>
+<xs:element name="artikelId" type="xs:long"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="readArtikelResponse">
+<xs:sequence>
+<xs:element name="artikel" type="tns:artikel" minOccurs="0"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="UnbekanntesEntityException">
+<xs:sequence>
+<xs:element name="message" type="xs:string" minOccurs="0"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="deleteArtikel">
+<xs:sequence>
+<xs:element name="artikelId" type="xs:long"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="deleteArtikelResponse">
+<xs:sequence></xs:sequence>
+</xs:complexType>
+</xs:schema> \ No newline at end of file
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/BestellBean/wsdl/localhost_8080/BestellBeanService/BestellBean.wsdl b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/BestellBean/wsdl/localhost_8080/BestellBeanService/BestellBean.wsdl
new file mode 100644
index 0000000..5ad7ab1
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/BestellBean/wsdl/localhost_8080/BestellBeanService/BestellBean.wsdl
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-749-SNAPSHOT. --><!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-749-SNAPSHOT. --><definitions xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://bestell.beans/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://bestell.beans/" name="BestellBeanService">
+<ns1:Policy xmlns:ns1="http://www.w3.org/ns/ws-policy" wsu:Id="BestellBeanPortBinding_validierePosition_WSAT_Policy">
+<ns1:ExactlyOne>
+<ns1:All>
+<ns2:ATAlwaysCapability xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns2:ATAlwaysCapability>
+<ns3:ATAssertion xmlns:ns4="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:ns3="http://schemas.xmlsoap.org/ws/2004/10/wsat" ns1:Optional="true" ns4:Optional="true"></ns3:ATAssertion>
+</ns1:All>
+</ns1:ExactlyOne>
+</ns1:Policy>
+<ns5:Policy xmlns:ns5="http://www.w3.org/ns/ws-policy" wsu:Id="BestellBeanPortBinding_berechneGesamtpreis_WSAT_Policy">
+<ns5:ExactlyOne>
+<ns5:All>
+<ns6:ATAlwaysCapability xmlns:ns6="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns6:ATAlwaysCapability>
+<ns7:ATAssertion xmlns:ns8="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:ns7="http://schemas.xmlsoap.org/ws/2004/10/wsat" ns5:Optional="true" ns8:Optional="true"></ns7:ATAssertion>
+</ns5:All>
+</ns5:ExactlyOne>
+</ns5:Policy>
+<ns9:Policy xmlns:ns9="http://www.w3.org/ns/ws-policy" wsu:Id="BestellBeanPortBinding_berechneMehrwertSteuer_WSAT_Policy">
+<ns9:ExactlyOne>
+<ns9:All>
+<ns10:ATAlwaysCapability xmlns:ns10="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns10:ATAlwaysCapability>
+<ns11:ATAssertion xmlns:ns12="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:ns11="http://schemas.xmlsoap.org/ws/2004/10/wsat" ns9:Optional="true" ns12:Optional="true"></ns11:ATAssertion>
+</ns9:All>
+</ns9:ExactlyOne>
+</ns9:Policy>
+<ns13:Policy xmlns:ns13="http://www.w3.org/ns/ws-policy" wsu:Id="BestellBeanPortBinding_validiereBestellung_WSAT_Policy">
+<ns13:ExactlyOne>
+<ns13:All>
+<ns14:ATAlwaysCapability xmlns:ns14="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns14:ATAlwaysCapability>
+<ns15:ATAssertion xmlns:ns16="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:ns15="http://schemas.xmlsoap.org/ws/2004/10/wsat" ns13:Optional="true" ns16:Optional="true"></ns15:ATAssertion>
+</ns13:All>
+</ns13:ExactlyOne>
+</ns13:Policy>
+<types>
+<xsd:schema>
+<xsd:import namespace="http://bestell.beans/" schemaLocation="http://localhost:8080/BestellBeanService/BestellBean?xsd=1"></xsd:import>
+</xsd:schema>
+</types>
+<message name="validiereBestellung">
+<part name="parameters" element="tns:validiereBestellung"></part>
+</message>
+<message name="validiereBestellungResponse">
+<part name="parameters" element="tns:validiereBestellungResponse"></part>
+</message>
+<message name="berechneGesamtpreis">
+<part name="parameters" element="tns:berechneGesamtpreis"></part>
+</message>
+<message name="berechneGesamtpreisResponse">
+<part name="parameters" element="tns:berechneGesamtpreisResponse"></part>
+</message>
+<message name="berechneMehrwertSteuer">
+<part name="parameters" element="tns:berechneMehrwertSteuer"></part>
+</message>
+<message name="berechneMehrwertSteuerResponse">
+<part name="parameters" element="tns:berechneMehrwertSteuerResponse"></part>
+</message>
+<message name="validierePosition">
+<part name="parameters" element="tns:validierePosition"></part>
+</message>
+<message name="validierePositionResponse">
+<part name="parameters" element="tns:validierePositionResponse"></part>
+</message>
+<portType name="BestellBean">
+<operation name="validiereBestellung">
+<input message="tns:validiereBestellung"></input>
+<output message="tns:validiereBestellungResponse"></output>
+</operation>
+<operation name="berechneGesamtpreis">
+<input message="tns:berechneGesamtpreis"></input>
+<output message="tns:berechneGesamtpreisResponse"></output>
+</operation>
+<operation name="berechneMehrwertSteuer">
+<input message="tns:berechneMehrwertSteuer"></input>
+<output message="tns:berechneMehrwertSteuerResponse"></output>
+</operation>
+<operation name="validierePosition">
+<input message="tns:validierePosition"></input>
+<output message="tns:validierePositionResponse"></output>
+</operation>
+</portType>
+<binding name="BestellBeanPortBinding" type="tns:BestellBean">
+<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"></soap:binding>
+<operation name="validiereBestellung">
+<ns17:PolicyReference xmlns:ns17="http://www.w3.org/ns/ws-policy" URI="#BestellBeanPortBinding_validiereBestellung_WSAT_Policy"></ns17:PolicyReference>
+<soap:operation soapAction=""></soap:operation>
+<input>
+<soap:body use="literal"></soap:body>
+</input>
+<output>
+<soap:body use="literal"></soap:body>
+</output>
+</operation>
+<operation name="berechneGesamtpreis">
+<ns18:PolicyReference xmlns:ns18="http://www.w3.org/ns/ws-policy" URI="#BestellBeanPortBinding_berechneGesamtpreis_WSAT_Policy"></ns18:PolicyReference>
+<soap:operation soapAction=""></soap:operation>
+<input>
+<soap:body use="literal"></soap:body>
+</input>
+<output>
+<soap:body use="literal"></soap:body>
+</output>
+</operation>
+<operation name="berechneMehrwertSteuer">
+<ns19:PolicyReference xmlns:ns19="http://www.w3.org/ns/ws-policy" URI="#BestellBeanPortBinding_berechneMehrwertSteuer_WSAT_Policy"></ns19:PolicyReference>
+<soap:operation soapAction=""></soap:operation>
+<input>
+<soap:body use="literal"></soap:body>
+</input>
+<output>
+<soap:body use="literal"></soap:body>
+</output>
+</operation>
+<operation name="validierePosition">
+<ns20:PolicyReference xmlns:ns20="http://www.w3.org/ns/ws-policy" URI="#BestellBeanPortBinding_validierePosition_WSAT_Policy"></ns20:PolicyReference>
+<soap:operation soapAction=""></soap:operation>
+<input>
+<soap:body use="literal"></soap:body>
+</input>
+<output>
+<soap:body use="literal"></soap:body>
+</output>
+</operation>
+</binding>
+<service name="BestellBeanService">
+<port name="BestellBeanPort" binding="tns:BestellBeanPortBinding">
+<soap:address location="http://localhost:8080/BestellBeanService/BestellBean"></soap:address>
+</port>
+</service>
+</definitions> \ No newline at end of file
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/BestellBean/wsdl/localhost_8080/BestellBeanService/BestellBean.xsd_1.xsd b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/BestellBean/wsdl/localhost_8080/BestellBeanService/BestellBean.xsd_1.xsd
new file mode 100644
index 0000000..494ace5
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/BestellBean/wsdl/localhost_8080/BestellBeanService/BestellBean.xsd_1.xsd
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-749-SNAPSHOT. --><xs:schema xmlns:tns="http://bestell.beans/" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0" targetNamespace="http://bestell.beans/">
+
+<xs:element name="berechneGesamtpreis" type="tns:berechneGesamtpreis"></xs:element>
+
+<xs:element name="berechneGesamtpreisResponse" type="tns:berechneGesamtpreisResponse"></xs:element>
+
+<xs:element name="berechneMehrwertSteuer" type="tns:berechneMehrwertSteuer"></xs:element>
+
+<xs:element name="berechneMehrwertSteuerResponse" type="tns:berechneMehrwertSteuerResponse"></xs:element>
+
+<xs:element name="validiereBestellung" type="tns:validiereBestellung"></xs:element>
+
+<xs:element name="validiereBestellungResponse" type="tns:validiereBestellungResponse"></xs:element>
+
+<xs:element name="validierePosition" type="tns:validierePosition"></xs:element>
+
+<xs:element name="validierePositionResponse" type="tns:validierePositionResponse"></xs:element>
+
+<xs:complexType name="berechneMehrwertSteuer">
+<xs:sequence>
+<xs:element name="preis" type="xs:double"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="berechneMehrwertSteuerResponse">
+<xs:sequence>
+<xs:element name="mehrwertsteuer" type="xs:double"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="berechneGesamtpreis">
+<xs:sequence>
+<xs:element name="anzahl" type="xs:long"></xs:element>
+<xs:element name="preis" type="xs:double"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="berechneGesamtpreisResponse">
+<xs:sequence>
+<xs:element name="gesamtpreis" type="xs:double"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="validiereBestellung">
+<xs:sequence>
+<xs:element name="artikelId" type="xs:long"></xs:element>
+<xs:element name="anzahl" type="xs:long"></xs:element>
+<xs:element name="kundenId" type="xs:long"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="validiereBestellungResponse">
+<xs:sequence>
+<xs:element name="valide" type="xs:boolean"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="validierePosition">
+<xs:sequence>
+<xs:element name="artikelId" type="xs:long"></xs:element>
+<xs:element name="anzahl" type="xs:long"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="validierePositionResponse">
+<xs:sequence>
+<xs:element name="valide" type="xs:boolean"></xs:element>
+</xs:sequence>
+</xs:complexType>
+</xs:schema> \ No newline at end of file
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LagerBean/wsdl/localhost_8080/LagerBeanService/LagerBean.wsdl b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LagerBean/wsdl/localhost_8080/LagerBeanService/LagerBean.wsdl
new file mode 100644
index 0000000..8bc3ae1
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LagerBean/wsdl/localhost_8080/LagerBeanService/LagerBean.wsdl
@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-749-SNAPSHOT. --><!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-749-SNAPSHOT. --><definitions xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://lager.beans/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://lager.beans/" name="LagerBeanService">
+<ns1:Policy xmlns:ns1="http://www.w3.org/ns/ws-policy" wsu:Id="LagerBeanPortBinding_bucheArtikelEin_WSAT_Policy">
+<ns1:ExactlyOne>
+<ns1:All>
+<ns2:ATAlwaysCapability xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns2:ATAlwaysCapability>
+<ns3:ATAssertion xmlns:ns4="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:ns3="http://schemas.xmlsoap.org/ws/2004/10/wsat" ns1:Optional="true" ns4:Optional="true"></ns3:ATAssertion>
+</ns1:All>
+</ns1:ExactlyOne>
+</ns1:Policy>
+<ns5:Policy xmlns:ns5="http://www.w3.org/ns/ws-policy" wsu:Id="LagerBeanPortBinding_bucheArtikelAus_WSAT_Policy">
+<ns5:ExactlyOne>
+<ns5:All>
+<ns6:ATAlwaysCapability xmlns:ns6="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns6:ATAlwaysCapability>
+<ns7:ATAssertion xmlns:ns8="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:ns7="http://schemas.xmlsoap.org/ws/2004/10/wsat" ns5:Optional="true" ns8:Optional="true"></ns7:ATAssertion>
+</ns5:All>
+</ns5:ExactlyOne>
+</ns5:Policy>
+<ns9:Policy xmlns:ns9="http://www.w3.org/ns/ws-policy" wsu:Id="LagerBeanPortBinding_pruefeVerfuegbarkeit_WSAT_Policy">
+<ns9:ExactlyOne>
+<ns9:All>
+<ns10:ATAlwaysCapability xmlns:ns10="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns10:ATAlwaysCapability>
+<ns11:ATAssertion xmlns:ns12="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:ns11="http://schemas.xmlsoap.org/ws/2004/10/wsat" ns9:Optional="true" ns12:Optional="true"></ns11:ATAssertion>
+</ns9:All>
+</ns9:ExactlyOne>
+</ns9:Policy>
+<types>
+<xsd:schema>
+<xsd:import namespace="http://lager.beans/" schemaLocation="http://localhost:8080/LagerBeanService/LagerBean?xsd=1"></xsd:import>
+</xsd:schema>
+</types>
+<message name="bucheArtikelEin">
+<part name="parameters" element="tns:bucheArtikelEin"></part>
+</message>
+<message name="bucheArtikelEinResponse">
+<part name="parameters" element="tns:bucheArtikelEinResponse"></part>
+</message>
+<message name="UnbekanntesEntityException">
+<part name="fault" element="tns:UnbekanntesEntityException"></part>
+</message>
+<message name="IllegalerWertException">
+<part name="fault" element="tns:IllegalerWertException"></part>
+</message>
+<message name="pruefeVerfuegbarkeit">
+<part name="parameters" element="tns:pruefeVerfuegbarkeit"></part>
+</message>
+<message name="pruefeVerfuegbarkeitResponse">
+<part name="parameters" element="tns:pruefeVerfuegbarkeitResponse"></part>
+</message>
+<message name="Exception">
+<part name="fault" element="tns:Exception"></part>
+</message>
+<message name="bucheArtikelAus">
+<part name="parameters" element="tns:bucheArtikelAus"></part>
+</message>
+<message name="bucheArtikelAusResponse">
+<part name="parameters" element="tns:bucheArtikelAusResponse"></part>
+</message>
+<portType name="LagerBean">
+<operation name="bucheArtikelEin">
+<input message="tns:bucheArtikelEin"></input>
+<output message="tns:bucheArtikelEinResponse"></output>
+<fault message="tns:UnbekanntesEntityException" name="UnbekanntesEntityException"></fault>
+<fault message="tns:IllegalerWertException" name="IllegalerWertException"></fault>
+</operation>
+<operation name="pruefeVerfuegbarkeit">
+<input message="tns:pruefeVerfuegbarkeit"></input>
+<output message="tns:pruefeVerfuegbarkeitResponse"></output>
+<fault message="tns:Exception" name="Exception"></fault>
+</operation>
+<operation name="bucheArtikelAus">
+<input message="tns:bucheArtikelAus"></input>
+<output message="tns:bucheArtikelAusResponse"></output>
+<fault message="tns:UnbekanntesEntityException" name="UnbekanntesEntityException"></fault>
+<fault message="tns:IllegalerWertException" name="IllegalerWertException"></fault>
+</operation>
+</portType>
+<binding name="LagerBeanPortBinding" type="tns:LagerBean">
+<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"></soap:binding>
+<operation name="bucheArtikelEin">
+<ns13:PolicyReference xmlns:ns13="http://www.w3.org/ns/ws-policy" URI="#LagerBeanPortBinding_bucheArtikelEin_WSAT_Policy"></ns13:PolicyReference>
+<soap:operation soapAction=""></soap:operation>
+<input>
+<soap:body use="literal"></soap:body>
+</input>
+<output>
+<soap:body use="literal"></soap:body>
+</output>
+<fault name="UnbekanntesEntityException">
+<soap:fault name="UnbekanntesEntityException" use="literal"></soap:fault>
+</fault>
+<fault name="IllegalerWertException">
+<soap:fault name="IllegalerWertException" use="literal"></soap:fault>
+</fault>
+</operation>
+<operation name="pruefeVerfuegbarkeit">
+<ns14:PolicyReference xmlns:ns14="http://www.w3.org/ns/ws-policy" URI="#LagerBeanPortBinding_pruefeVerfuegbarkeit_WSAT_Policy"></ns14:PolicyReference>
+<soap:operation soapAction=""></soap:operation>
+<input>
+<soap:body use="literal"></soap:body>
+</input>
+<output>
+<soap:body use="literal"></soap:body>
+</output>
+<fault name="Exception">
+<soap:fault name="Exception" use="literal"></soap:fault>
+</fault>
+</operation>
+<operation name="bucheArtikelAus">
+<ns15:PolicyReference xmlns:ns15="http://www.w3.org/ns/ws-policy" URI="#LagerBeanPortBinding_bucheArtikelAus_WSAT_Policy"></ns15:PolicyReference>
+<soap:operation soapAction=""></soap:operation>
+<input>
+<soap:body use="literal"></soap:body>
+</input>
+<output>
+<soap:body use="literal"></soap:body>
+</output>
+<fault name="UnbekanntesEntityException">
+<soap:fault name="UnbekanntesEntityException" use="literal"></soap:fault>
+</fault>
+<fault name="IllegalerWertException">
+<soap:fault name="IllegalerWertException" use="literal"></soap:fault>
+</fault>
+</operation>
+</binding>
+<service name="LagerBeanService">
+<port name="LagerBeanPort" binding="tns:LagerBeanPortBinding">
+<soap:address location="http://localhost:8080/LagerBeanService/LagerBean"></soap:address>
+</port>
+</service>
+</definitions> \ No newline at end of file
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LagerBean/wsdl/localhost_8080/LagerBeanService/LagerBean.xsd_1.xsd b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LagerBean/wsdl/localhost_8080/LagerBeanService/LagerBean.xsd_1.xsd
new file mode 100644
index 0000000..7b12c62
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LagerBean/wsdl/localhost_8080/LagerBeanService/LagerBean.xsd_1.xsd
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-749-SNAPSHOT. --><xs:schema xmlns:tns="http://lager.beans/" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0" targetNamespace="http://lager.beans/">
+
+<xs:element name="Exception" type="tns:Exception"></xs:element>
+
+<xs:element name="IllegalerWertException" type="tns:IllegalerWertException"></xs:element>
+
+<xs:element name="UnbekanntesEntityException" type="tns:UnbekanntesEntityException"></xs:element>
+
+<xs:element name="bucheArtikelAus" type="tns:bucheArtikelAus"></xs:element>
+
+<xs:element name="bucheArtikelAusResponse" type="tns:bucheArtikelAusResponse"></xs:element>
+
+<xs:element name="bucheArtikelEin" type="tns:bucheArtikelEin"></xs:element>
+
+<xs:element name="bucheArtikelEinResponse" type="tns:bucheArtikelEinResponse"></xs:element>
+
+<xs:element name="pruefeVerfuegbarkeit" type="tns:pruefeVerfuegbarkeit"></xs:element>
+
+<xs:element name="pruefeVerfuegbarkeitResponse" type="tns:pruefeVerfuegbarkeitResponse"></xs:element>
+
+<xs:complexType name="pruefeVerfuegbarkeit">
+<xs:sequence>
+<xs:element name="artikelId" type="xs:long"></xs:element>
+<xs:element name="anzahl" type="xs:long"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="pruefeVerfuegbarkeitResponse">
+<xs:sequence>
+<xs:element name="verfuegbar" type="xs:boolean"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="Exception">
+<xs:sequence>
+<xs:element name="message" type="xs:string" minOccurs="0"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="bucheArtikelAus">
+<xs:sequence>
+<xs:element name="artikelId" type="xs:long"></xs:element>
+<xs:element name="anzahl" type="xs:long"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="bucheArtikelAusResponse">
+<xs:sequence></xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="UnbekanntesEntityException">
+<xs:sequence>
+<xs:element name="message" type="xs:string" minOccurs="0"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="IllegalerWertException">
+<xs:sequence>
+<xs:element name="message" type="xs:string" minOccurs="0"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="bucheArtikelEin">
+<xs:sequence>
+<xs:element name="artikelId" type="xs:long"></xs:element>
+<xs:element name="anzahl" type="xs:long"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="bucheArtikelEinResponse">
+<xs:sequence></xs:sequence>
+</xs:complexType>
+</xs:schema> \ No newline at end of file
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LieferantBean/wsdl/localhost_8080/LieferantBeanService/LieferantBean.wsdl b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LieferantBean/wsdl/localhost_8080/LieferantBeanService/LieferantBean.wsdl
new file mode 100644
index 0000000..683b35d
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LieferantBean/wsdl/localhost_8080/LieferantBeanService/LieferantBean.wsdl
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-749-SNAPSHOT. --><!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-749-SNAPSHOT. --><definitions xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://lieferant.beans/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://lieferant.beans/" name="LieferantBeanService">
+<ns1:Policy xmlns:ns1="http://www.w3.org/ns/ws-policy" wsu:Id="LieferantBeanPortBinding_bestelleNach_WSAT_Policy">
+<ns1:ExactlyOne>
+<ns1:All>
+<ns2:ATAlwaysCapability xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns2:ATAlwaysCapability>
+<ns3:ATAssertion xmlns:ns4="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:ns3="http://schemas.xmlsoap.org/ws/2004/10/wsat" ns1:Optional="true" ns4:Optional="true"></ns3:ATAssertion>
+</ns1:All>
+</ns1:ExactlyOne>
+</ns1:Policy>
+<types>
+<xsd:schema>
+<xsd:import namespace="http://lieferant.beans/" schemaLocation="http://localhost:8080/LieferantBeanService/LieferantBean?xsd=1"></xsd:import>
+</xsd:schema>
+</types>
+<message name="bestelleNach">
+<part name="parameters" element="tns:bestelleNach"></part>
+</message>
+<message name="bestelleNachResponse">
+<part name="parameters" element="tns:bestelleNachResponse"></part>
+</message>
+<message name="UnbekanntesEntityException">
+<part name="fault" element="tns:UnbekanntesEntityException"></part>
+</message>
+<message name="IllegalerWertException">
+<part name="fault" element="tns:IllegalerWertException"></part>
+</message>
+<portType name="LieferantBean">
+<operation name="bestelleNach">
+<input message="tns:bestelleNach"></input>
+<output message="tns:bestelleNachResponse"></output>
+<fault message="tns:UnbekanntesEntityException" name="UnbekanntesEntityException"></fault>
+<fault message="tns:IllegalerWertException" name="IllegalerWertException"></fault>
+</operation>
+</portType>
+<binding name="LieferantBeanPortBinding" type="tns:LieferantBean">
+<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"></soap:binding>
+<operation name="bestelleNach">
+<ns5:PolicyReference xmlns:ns5="http://www.w3.org/ns/ws-policy" URI="#LieferantBeanPortBinding_bestelleNach_WSAT_Policy"></ns5:PolicyReference>
+<soap:operation soapAction=""></soap:operation>
+<input>
+<soap:body use="literal"></soap:body>
+</input>
+<output>
+<soap:body use="literal"></soap:body>
+</output>
+<fault name="UnbekanntesEntityException">
+<soap:fault name="UnbekanntesEntityException" use="literal"></soap:fault>
+</fault>
+<fault name="IllegalerWertException">
+<soap:fault name="IllegalerWertException" use="literal"></soap:fault>
+</fault>
+</operation>
+</binding>
+<service name="LieferantBeanService">
+<port name="LieferantBeanPort" binding="tns:LieferantBeanPortBinding">
+<soap:address location="http://localhost:8080/LieferantBeanService/LieferantBean"></soap:address>
+</port>
+</service>
+</definitions> \ No newline at end of file
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LieferantBean/wsdl/localhost_8080/LieferantBeanService/LieferantBean.xsd_1.xsd b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LieferantBean/wsdl/localhost_8080/LieferantBeanService/LieferantBean.xsd_1.xsd
new file mode 100644
index 0000000..bced623
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LieferantBean/wsdl/localhost_8080/LieferantBeanService/LieferantBean.xsd_1.xsd
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-749-SNAPSHOT. --><xs:schema xmlns:tns="http://lieferant.beans/" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0" targetNamespace="http://lieferant.beans/">
+
+<xs:element name="IllegalerWertException" type="tns:IllegalerWertException"></xs:element>
+
+<xs:element name="UnbekanntesEntityException" type="tns:UnbekanntesEntityException"></xs:element>
+
+<xs:element name="bestelleNach" type="tns:bestelleNach"></xs:element>
+
+<xs:element name="bestelleNachResponse" type="tns:bestelleNachResponse"></xs:element>
+
+<xs:complexType name="bestelleNach">
+<xs:sequence>
+<xs:element name="artikelId" type="xs:long"></xs:element>
+<xs:element name="anzahl" type="xs:long"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="bestelleNachResponse">
+<xs:sequence></xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="UnbekanntesEntityException">
+<xs:sequence>
+<xs:element name="message" type="xs:string" minOccurs="0"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="IllegalerWertException">
+<xs:sequence>
+<xs:element name="message" type="xs:string" minOccurs="0"></xs:element>
+</xs:sequence>
+</xs:complexType>
+</xs:schema> \ No newline at end of file
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/MindestMengeService/wsdl/localhost_8080/DSI-Andere-Webservices/MindestMengeService.wsdl b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/MindestMengeService/wsdl/localhost_8080/DSI-Andere-Webservices/MindestMengeService.wsdl
new file mode 100644
index 0000000..9ebc836
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/MindestMengeService/wsdl/localhost_8080/DSI-Andere-Webservices/MindestMengeService.wsdl
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-749-SNAPSHOT. --><!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-749-SNAPSHOT. --><definitions xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ws/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://ws/" name="MindestMengeService">
+<types>
+<xsd:schema>
+<xsd:import namespace="http://ws/" schemaLocation="http://localhost:8080/DSI-Andere-Webservices/MindestMengeService?xsd=1"></xsd:import>
+</xsd:schema>
+</types>
+<message name="holeMindestmengeFuerArtikel">
+<part name="parameters" element="tns:holeMindestmengeFuerArtikel"></part>
+</message>
+<message name="holeMindestmengeFuerArtikelResponse">
+<part name="parameters" element="tns:holeMindestmengeFuerArtikelResponse"></part>
+</message>
+<portType name="MindestMenge">
+<operation name="holeMindestmengeFuerArtikel">
+<input message="tns:holeMindestmengeFuerArtikel"></input>
+<output message="tns:holeMindestmengeFuerArtikelResponse"></output>
+</operation>
+</portType>
+<binding name="MindestMengePortBinding" type="tns:MindestMenge">
+<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"></soap:binding>
+<operation name="holeMindestmengeFuerArtikel">
+<soap:operation soapAction=""></soap:operation>
+<input>
+<soap:body use="literal"></soap:body>
+</input>
+<output>
+<soap:body use="literal"></soap:body>
+</output>
+</operation>
+</binding>
+<service name="MindestMengeService">
+<port name="MindestMengePort" binding="tns:MindestMengePortBinding">
+<soap:address location="http://localhost:8080/DSI-Andere-Webservices/MindestMengeService"></soap:address>
+</port>
+</service>
+</definitions> \ No newline at end of file
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/MindestMengeService/wsdl/localhost_8080/DSI-Andere-Webservices/MindestMengeService.xsd_1.xsd b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/MindestMengeService/wsdl/localhost_8080/DSI-Andere-Webservices/MindestMengeService.xsd_1.xsd
new file mode 100644
index 0000000..3c9c4f3
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/MindestMengeService/wsdl/localhost_8080/DSI-Andere-Webservices/MindestMengeService.xsd_1.xsd
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-749-SNAPSHOT. --><xs:schema xmlns:tns="http://ws/" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0" targetNamespace="http://ws/">
+
+<xs:element name="holeMindestmengeFuerArtikel" type="tns:holeMindestmengeFuerArtikel"></xs:element>
+
+<xs:element name="holeMindestmengeFuerArtikelResponse" type="tns:holeMindestmengeFuerArtikelResponse"></xs:element>
+
+<xs:complexType name="holeMindestmengeFuerArtikel">
+<xs:sequence>
+<xs:element name="artikelId" type="xs:long"></xs:element>
+</xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="holeMindestmengeFuerArtikelResponse">
+<xs:sequence>
+<xs:element name="mindestmenge" type="xs:long"></xs:element>
+</xs:sequence>
+</xs:complexType>
+</xs:schema> \ No newline at end of file
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/doc/dsi_praktikum_1_web_service_20090115.pdf b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/doc/dsi_praktikum_1_web_service_20090115.pdf
new file mode 100644
index 0000000..3bd021c
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/doc/dsi_praktikum_1_web_service_20090115.pdf
Binary files differ