This content has been marked as final.
Show 3 replies
-
1. Re: Why in the packaging tutorial entity beans are packaged
leonell Jun 27, 2005 3:50 PM (in response to paceant)From documentation to pakaging tutorial :-)
The EJB3 specification requires that there be a .par archive that defines what a persistence unit is. A persistence unit is a set of classes which map to a particular database. JBoss EJB 3.0 allows you to put entity classes and mappings directly within a .ejb3 archive, which is not allowed by the specification.
Leonell -
2. Re: Why in the packaging tutorial entity beans are packaged
leonell Jun 27, 2005 3:57 PM (in response to paceant)Be warned - it looks that Beta1 can work with "old" EJB3 packages but specified dataset is ignored and default dataset is used !!!!
If you need your (non-default) dataset then use EAR format.
Leonell -
3. Re: Why in the packaging tutorial entity beans are packaged
bill.burke Jun 29, 2005 12:04 AM (in response to paceant)the spec requires .par files, but JBoss allows you to deploy them in .ejb3 files as well. I didn't want to totally break the older preview users.