-
1. Re: Using Differents jars
ngtdave Aug 7, 2006 9:30 PM (in response to jmarcos_se)Does the application part (without the entity beans) even deploy? If it deploys, it should work, but I'm not exactly sure what you're doing. In general, you should make sure your application jar/war deploys after your persistence jar.
Hope this helps. -
2. Re: Using Differents jars
jmarcos_se Aug 7, 2006 10:30 PM (in response to jmarcos_se)Hi,
Thanks for the reply....
Let me try to explain what I want to say....
First, I created a interface.war for the web Interface and a ejb.jar with the entities and session beans within. Then, I packed those two in a .ear file, ok ?
This worked smoothly.
But now I want to separate the sessions and the entities in two different .jar files. For instance, a entity.jar and a session.jar. So my .ear file would look like this
<display-name>ProjetoJM</display-name>
Entity.jar
Session.jar
<web-uri>InterfaceJSF.war</web-uri>
<context-root>Teste</context-root>
Doing this, I'm getting exceptions just like tho one I told before.....
Sorry about my english, but I'm a Brazillian guy and I'm still learning the language....
Thanks....