[jboss-user] [JBoss Seam] - problem with multiple seam component jars in a WAR

zjsun do-not-reply at jboss.com
Mon Jan 21 22:32:51 EST 2008


i want to divide my web application into some modules, so i have some seam component jar each with Entity classes, my problem is that Entity in module jar can not be loaded or mapped by JPA, why?

my WAR looks like :
---------------------------------------------

  | my-application.war/
  | 	META-INF/
  | 		MANIFEST.MF
  | 	WEB-INF/
  | 		web.xml
  | 		components.xml
  | 		faces-config.xml
  | 		pages.xml
  | 	lib/
  | 		jboss-seam.jar
  | 		jboss-seam-ui.jar
  | 		jboss-el.jar
  | 		jsf-facelets.jar
  | 		jsf-api.jar
  | 		jsf-impl.jar
  | 		...
  | 	classes/
  | 		persistence.xml
  | 		
  | 	my-module1.jar/
  | 		META-INF/
  | 			MANIFEST.MF
  | 			components.xml(blank)
  | 		org/
  | 			jboss/
  | 				module1/
  | 					User.class
  | 					Login.class
  | 					LoginBean.class
  | 					Register.class
  | 					RegisterBean.class
  | 		seam.properties
  | 		...
  | 	my-module2.jar/
  | 		META-INF/
  | 			MANIFEST.MF
  | 			components.xml(blank)
  | 		org/
  | 			jboss/
  | 				module2/
  | 					Entity2.class
  | 		seam.properties
  | 		...
  | 	login.jsp
  | 	register.jsp
  | 	...
  | 

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

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



More information about the jboss-user mailing list