[jboss-user] [EJB 3.0] - Deploy - Multiple Jar with entities.

liss do-not-reply at jboss.com
Thu Mar 27 09:01:17 EDT 2008


I have a question about deployment.
I'm trying to integrate three systems through a database. So the idea is to isolate each ear and it's entities. So I would have app1.ear and its app1-entities.jar and app1-services.jar. I would also have appp2.ear that depends on app1 entities and service. I decided to place app1-entities.jar and app1-services.jar at app2.ear lib.

Is it the right thing to do? I mean, when I have app1-entities.jar and app1-services.jar in both ear files (app1 and app2), is it right? When will app1-entities.jar be deployed?

Is is better to place app1-entities.jar at $JBOSS_SERVER/server/all/lib, for instance?

Thanks in advance!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139259#4139259

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139259

More information about the jboss-user mailing list