[jboss-user] [EJB 3.0] - Re: Package ejb2.1 entities along with ejb3.0 session deans
benwalker_vf
do-not-reply at jboss.com
Mon Feb 18 07:26:09 EST 2008
Hi,
Is there any progress on this? I think it is still a problem in jboss 5 beta 4.
If you use the 2.0 dtd for your ejb-jar.xml file: -
<?xml version="1.0" encoding="UTF-8"?>
| <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
| <ejb-jar>
| ...
|
all ejb 3 beans in the jar are ignored.
Vice versa, if you use the ejb 3 schema for your ejb-jar.xml file: -
<?xml version="1.0" encoding="UTF-8"?>
| <ejb-jar version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd">
| ...
|
all ejb 2 beans are ignored
Is it a mandatory to put different ejb versions in different ejb modules?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4130085#4130085
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4130085
More information about the jboss-user
mailing list