Marc Anthony Puca [
https://community.jboss.org/people/marcanthony] created the discussion
"Re: EJB 3.0 Project with 2.x entity beans"
To view the discussion, visit:
https://community.jboss.org/message/818893#818893
--------------------------------------------------------------
Hi jaikiran, thank you for the reply, I have tried to achieve the mentioned above but
without success, the ejb 3 beans deploy whilst the entity beans do not, or better if they
are deployed i cannot find them in the context
<ejb-jar version="3.0" xmlns="
http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd
http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd">
<display-name>OMS Server</display-name>
<enterprise-beans>
<entity>
<ejb-name>pkStoreEjb</ejb-name>
<local-home>server.bean.local.PkStoreLocalHome</local-home>
<local>server.bean.local.PkStoreLocal</local>
<ejb-class>server.bean.service.entity.PkStoreBean</ejb-class>
this is a chunk of the ejb-jar
and this is from the jboss.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN" "
http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd
http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">
<jboss>
<enterprise-beans>
<entity>
<ejb-name>pkStoreEjb</ejb-name>
<local-jndi-name>entity/local/pkStore</local-jndi-name>
</entity>
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/818893#818893]
Start a new discussion in EJB3 at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]