Download embedded glassfish example Free Java Code
Description
This is just a simple example of using glassfish's embedded ejb container for unit testing supplementing a blog entry of mine.
Source Files
The download file embedded-glassfish-example-master.zip has the following entries.
.gitignore//from w ww. ja v a2 s . c o m
README
pom.xml
src/main/java/de/familienservice/bookstoreejb/Book.java
src/main/java/de/familienservice/bookstoreejb/BookEJB.java
src/main/java/de/familienservice/bookstoreejb/BookEJBRemote.java
src/main/java/de/familienservice/bookstoreejb/Main.java
src/main/java/de/familienservice/bookstoreejb/NewWebService.java
src/main/resources/META-INF/persistence.xml
src/test/java/de/familienservice/bookstoreejb/BookEJBTest.java
src/test/resources/META-INF/persistence.xml
src/test/testing-domain/config/admin-keyfile
src/test/testing-domain/config/cacerts.jks
src/test/testing-domain/config/domain.xml
src/test/testing-domain/config/keyfile
src/test/testing-domain/config/keystore.jks
src/test/testing-domain/config/login.conf
src/test/testing-domain/config/server.policy
Download
Click the following link to download embedded-glassfish-example-master.zip.
embedded-glassfish-example-master.zip