[jboss-user] [EJB 3.0] - Re: external configuration for service beans

ALRubinger do-not-reply at jboss.com
Tue Nov 28 14:58:21 EST 2006


You can place a jboss.xml into the META-INF of the JAR in which you're deploying your beans:

<?xml version="1.0"?>
  | <jboss xmlns="http://java.sun.com/xml/ns/javaee"
  |              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  |              xsi:schemaLocation="http://www.jboss.org/j2ee/schema
  |                             http://www.jboss.org/j2ee/schema/jboss_5_0.xsd"
  |              version="5.0">
  | 	<enterprise-beans>
  | 		<service>
  | 			<ejb-name>ServiceMBeanName</ejb-name>
  | 		</service>
  | 	</enterprise-beans>
  | </jboss>
  | 

...check the XSD for the full properties it supports. :)

S,
ALR

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

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



More information about the jboss-user mailing list