X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=test%2Fenterprise%2Fsrc%2Fsite%2Fxdoc%2Findex.xml;h=42e38bc85060373c5ca69ebec772406f25a19dc6;hb=a48ae7f175655650b8b077236518977767ae63a4;hp=30289552678185a5d33723b96b11022de56bd124;hpb=796407f70a6a9bdb47fae4377e04e8a518f8ded0;p=utils diff --git a/test/enterprise/src/site/xdoc/index.xml b/test/enterprise/src/site/xdoc/index.xml index 30289552..42e38bc8 100644 --- a/test/enterprise/src/site/xdoc/index.xml +++ b/test/enterprise/src/site/xdoc/index.xml @@ -1,22 +1,79 @@ - - + + - Test/Enterprise overview + user guide Erik Brakkee
-

Part of the wamblee.org utilities library are test utilities for - Java EE development. Currently, the following utilities are provided:

+

Several utilities are provide for Java EE testing:

    -
  • JNDI based test support: In particular mocking JNDI in unit test.
  • -
  • JPA testing: Simple out of the box unit testing with JPA connecting to - an inmemory database or an external database.
  • +
  • Basic Support
  • +
  • JNDI
  • +
  • JPA
+ +
+

To configure your pom, you must configure three dependencies:

+
    +
  • The general JPA test support library.
  • +
  • A JPA implementation-specific library.
  • +
  • The dependency on your specific JPA provider.
  • +
+

The above 'three stage rocket' is necessary because:

+
    +
  • Customizations to the persistence unit for different JPA providers might conflict and + might require additional JPA provider specific dependencies.
  • +
  • Different JPA providers can, in general, not be used within the same application. (an + exception is of course an OSGI environment when JPA is used as per the OSGI enterprise + spec).
  • +
  • You also want to define your own specific JPA version.
  • +
+ + +

Always include the dependency below:

+ + + + + + + + + +
groupIdartifactId
org.wambleewamblee-test-enterprise
+
+ + +

Choose one from the choices below:

+ + + + + + + + + + + + + + + + + + + + + +
ProvidergroupIdartifactId
Eclipse linkorg.wambleewamblee-test-eclipselink
Toplinkorg.wambleewamblee-test-toplink
Hibernate (from 3.4.0.GA and higher).org.wambleewamblee-test-hibernate
+
+
+
-