[jboss-user] [EJB3] - Re: EJB 3.0 Project with 2.x entity beans

Marc Anthony Puca do-not-reply at jboss.com
Wed May 22 10:31:46 EDT 2013


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&containerType=14&container=2029]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130522/84cbc529/attachment-0001.html 


More information about the jboss-user mailing list