Hi
I'm implementing a custom generic entity converter.
I'd like to have it in its own jar.
When I let the converter class in the ejb jar, everything is fine.
When I move it in its own jar, it's not accessed.
As the converter is accessing EntityManager, I'm wondering if I must add a persistence.xml containing the other ejb jars by doing something
<persistence-unit ...> <jar-file> moduleA-ejb.jar </jar-file> <jar-file> moduleB-ejb.jar </jar-file>
Who's got the answer ? :)
A JSF converter? Take a look at how the Seam entity converter is implemented - it uses a SMPC.