[jboss-user] [Beginners Corner] - Re: Please help with EJB3 ClassCastException.

kingcu do-not-reply at jboss.com
Sat Jan 13 22:42:50 EST 2007


As for jboss.xml, I don't have it in my ear; I think if I use annotation, I can avoid xml configuration. 

Also, since JBoss 4.0.5 doesn't support J2EE 5 yet, my application ear is still J2EE 1.4; not sure if this will cause any problem. 

Here is what my application.xml looks like:

<?xml version="1.0" encoding="UTF-8"?>
  | <application version="1.4"
  | 	xmlns="http://java.sun.com/xml/ns/j2ee"
  | 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  | 	xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
  | 	http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
  | 
  | 	<module>
  | 		<ejb>ejb3beans.jar</ejb>
  | 	</module>
  | 	
  | 	<module>
  | 		<web>
  | 			<web-uri>was.war</web-uri>
  | 			<context-root>was</context-root>
  | 		</web>
  | 	</module>
  | 
  | </application>
  | 

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

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



More information about the jboss-user mailing list