Help

Controls

PermLinkWikiLink

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

Forum: Seam Users Forum ListTopic List
28. Mar 2008, 11:28 CET | Link

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 ? :)

1 Reply:
29. Mar 2008, 17:56 CET | Link

A JSF converter? Take a look at how the Seam entity converter is implemented - it uses a SMPC.

 

Read about how to report a bug.