What are the necessary elements in ejb-jar.xml with CMP entity bean

What are the necessary elements in ejb-jar.xml with CMP entity bean
Actually i am using webligic 8.1 and while deployment getting the error that
some elements r missing
Thanks
Anand Pritam

According to the ejb-jar.xml dtd ejb-name, ejb-class, persistence-type, prim-key-class, reentrant are the required elements for an entity bean.
<!ELEMENT entity (description?, display-name?, small-icon?,
          large-icon?, ejb-name, home?, remote?, local-home?,
          local?, ejb-class, persistence-type, prim-key-class,
          reentrant, cmp-version?, abstract-schema-name?,
          cmp-field*, primkey-field?, env-entry*, ejb-ref*,
          ejb-local-ref*, security-role-ref*, security-identity?,
          resource-ref*, resource-env-ref*, query*)>

Similar Messages

  • What are the Necessary Componentsfor  an EJB ?

    Please, I am new to EJB. I need you to answer the following questions for me:
    1. What makes a Java class an EJB?
    2. In terms of implemantaion, what are the necessary components like libararies, inherted components, etc an EJB must contain?
    Thanks
    'Femi

    You are not going to get satisfying answers when you ask such generic questions about technology for which whole books have been filled. But anyway:
    1. What makes a Java class an EJB?When it is properly annotated and packaged such that the container will manage it as an EJB instance.
    2. In terms of implemantaion, what are the necessary components like libararies, inherted components, etc an EJB must contain?You need an enterprise container such as Glassfish, JBoss, Websphere, etc. which deliver the implementation of the Java Enterprise Edition specification. Generally to compile you'd use an IDE and let it setup your project such that the proper jars of the enterprise server are added to the compile classpath of your project, but alternatively you can compile against the generic JEE API jar or use Maven with a specific set of dependencies.
    If that blew right by you: that is to be expected. You really need a decent book to get started with JEE technology, especially the EJB component.

  • What are the basic element of Base configuration of an oracle Database ?

    What are the basic element of Base configuration of an oracle Database ?

    889543 wrote:
    What are the basic element of Base configuration of an oracle Database ?check this link
    http://www.dbnest.com/entry/194/
    and if you want to configure oracle installation click below link .
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14196/install002.htm
    --neeraj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • What are the data elements of 0material and 0customer

    Hi,
    What are the data elements of 0material and 0customer??
    Thanks

    Hi.......
    Dataelement for 0MATERIAL is MATNR
    Dataelement for 0CUSTOMER is KUND1
    Check these links :
    http://help.sap.com/saphelp_nw04/helpdata/en/df/3ff438520e6a71e10000000a11405a/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/0a/802e1c120511d4973900a0c930e0da/frameset.htm
    Hope this helps you......
    Regards,
    Debjani......

  • What are the benefits of buying an iPad 2 with wi-fi, or with 3G when I already have an iPhone 4 with 3G?  My plan with was to go for wi-fi and connect to the internet through my iPhone 4.  Am I missing out on anything by not getting 3G?

    What are the benefits of buying an iPad 2 with wi-fi, or with 3G when I already have an iPhone 4 with 3G?  My plan with was to go for wi-fi and connect to the internet through my iPhone 4.  Am I missing out on anything by not getting 3G?

    James9901 wrote:
    I tried the tethering and hated it. The connection breaks every time I get > 25 feet from it and it's a pain to reestablish the connection. I suppose if I had to choose between breaking connections every now and then or paying another $100 + $25/month I'd do the tethering.
    Or just carrying the phone in your pocket? Just saying.....

  • What are the changes in 7.0 INFOSETs compare with 3.5 infosets

    what are the changes in 7.0 INFOSETs compare with 3.5 infosets

    hi,
    chk these links...
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a4/1be541f321c717e10000000a155106/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ed/084e3ce0f9fe3fe10000000a114084/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ad/2225391d4f000be10000000a114084/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/05/7ce2416149c717e10000000a155106/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/11/723c3b35703079e10000000a114084/content.htm
    assign pts if helpful...

  • What are the advantages of using an internal table with workarea

    Hi,
    can anyone tell me
    What are the advantages of using an internal table with workarea
    over an internal table with header line?
    thnks in adv
    regards
    nagi

    HI,
    Internal tables are a standard data type object which exists only during the runtime of the program. They are used to perform table calculations on subsets of database tables and for re-organising the contents of database tables according to users need.
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb35de358411d1829f0000e829fbfe/content.htm
    <b>Difference between Work Area and Header Line</b>
    While adding or retrieving records to / from internal table we have to keep the record temporarily.
    The area where this record is kept is called as work area for the internal table. The area must have the same structure as that of internal table. An internal table consists of a body and an optional header line.
    Header line is a implicit work area for the internal table. It depends on how the internal table is declared that the itab will have the header line or not.
    e.g.
    data: begin of itab occurs 10,
    ab type c,
    cd type i,
    end of itab. " this table will have the header line.
    data: wa_itab like itab. " explicit work area for itab
    data: itab1 like itab occurs 10. " table is without header line.
    The header line is a field string with the same structure as a row of the body, but it can only hold a single row.
    It is a buffer used to hold each record before it is added or each record as it is retrieved from the internal table. It is the default work area for the internal table
    1) The difference between
    whih header line and with out heater line of internal table.
    ex:-
    a) Data : itab like mara occurs 0 with header line.
    b) Data: itab like mara occurs 0.
    -While adding or retrieving records to / from internal table we have to keep the record temporarily.
    -The area where this record is kept is called as work area for the internal table.
    -The area must have the same structure as that of internal table. An internal table consists of a body and an optional header line.
    -Header line is a implicit work area for the internal table. It depends on how the internal table is declared that the itab will have the header line or not.
    a) Data : itab like mara occurs 0 with header line.
    table is with header line
    b) Data: itab like mara occurs 0.
    table is without header line
    2)work area / field string and internal table
    which one is prefarable for good performance any why ?
    -The header line is a field string with the same structure as a row of the body, but it can only hold a single row , whereas internal table can have more than one record.
    In short u can define a workarea of an internal table which means that area must have the same structure as that of internal table and can have one record only.
    Example code:
    data: begin of itab occurs 10,
    ab type c,
    cd type i,
    end of itab. " this table will have the header line.
    data: wa_itab like itab. " explicit work area for itab
    data: itab1 like itab occurs 10. " table is without header line.
    Regards,
    Padmam.

  • What are the web host options that will work with iWeb?

    What are the web host options that will work with iWeb?

    Most website hosting services will work with iWeb created sites so long as you choose a Linux account.
    If you are new to FTP, you should choose a host who has good 24/7 tech support in your language of choice.
    A couple of examples are shown here...
    http://www.iwebformusicians.com/iWeb/Website-Hosting.html
    The first one allows a trial period and a 30 day money back deal. The second has a free version which you can subsequently upgrade to a paid one with more facilities once you are satisfied with its performance. This means you don't have to commit or pay until you are satisfied and have learned the techniques.
    iWeb gives you two options for publishing via FTP...
    http://www.iwebformusicians.com/iWeb/Publish-Website.html
    The latter method allows you to add tags for SEO...
    http://www.iwebformusicians.com/Search-Engine-Optimization/SEO.html
    ... and to optimize iWeb's bloated code for faster download performance in the browser...
    http://www.iwebformusicians.com/Search-Engine-Optimization/Optimize.html
    "I may receive some form of compensation, financial or otherwise, from my recommendation or link."

  • I would like to uninstall my old CS5 Design Premium from my computer to reinstall it on another computer. What are the steps? Is there something special with the activation codes, etc?

    I would like to uninstall my old CS5 Design Premium from my computer to reinstall it on another computer. What are the steps? Is there something special with the activation codes, etc?

    You are allowed to have two activated installations, so if you prefer to you can keep ut on the current machine and just install it on the new one like you did originally.  If you wish to eliminate it on the other machine, the first thing to do is to deactivate it by opening a program in the suite and selecting Help -> Deactivate in the top toolbar.  That is all you need to do to disable the software.  At this point if you prefer to you can uninstall it if you like.
    As far as getting it on the new nmachine, as I just indicated, just install it like you did the first time.

  • What are the main free apps tha Apple shows with Ipad Air?

    What are the main free apps tha Apple shows with Ipad Air?

    Pages, Numbers, Keynote, iPhoto, iMovie and GarageBand.

  • More information about the ejb-ref element of ejb-jar.xml

    Hello,
    I am currently studying ejbs and I came across the ejb-ref element of the ejb-jar.xml file. I am in reference to O'Reilly Entreprise JavaBeans book. The book says that, thanks to the ejb-ref element it is possible to access one ejb from another ejb with the following client code:
    InitialContext jndiContext = new InitialContext();
    Object ref = jndiContext.lookup("java:comp/env/ejb/ProcessPaymentHomeRemote");
    ProcessPaymentHomeRemote home = (ProcessPaymentHomeRemote) PortableRemoteObject.narrow(ref, ProcessPaymentHomeRemote.class);I thought one could invoke the above client code without the ejb-ref element being present in the ejb-jar.xml... I am right or wrong?
    Then why the need for the ejb-ref element? Can anyone give me a concrete example of usage of the ejb-ref element where the ejb-ref element really is useful? What are the advantages of using the ejb-ref element?
    Thanks in advance,
    Julien Martin.

    Hi Julien,
    The main reason is portability. It's true that in many J2EE implementations it is possible to access an EJB's Home object without going through the component context (java:comp/env), but all such approaches are NOT portable. In the J2EE programming model, all resource access is made via the private component namespace. Using this level of indirection allows the bean developer to code the application without having to know which physical resource will be used at runtime. Each J2EE implementation can use a different scheme to identity physical resources, so by sticking to logical references in your code, you guarantee portability. Finally, you have the advantage that you can change which physical resource is mapped at deployment time without having to change your code.
    So, the bottom line is, whenever you have any J2EE component (ejb, servlet, jsp, Application Client) that looks up an ejb, data source, queue, connection factory, etc., always use the environment reference type that J2EE defines for it and look it up via java:comp/env.
    --ken
    Kenneth Saks
    J2EE SDK Team
    SUN Microsystems

  • What are the org Elements inSAP CRM

    can any one say wt are the org elements in  SAP CRM
    regards,
    madhav

    take a look at transaction pposa_crm.
    Michael.

  • env-entry element in ejb-jar.xml

    I just started to create my ejb-jar.xml (deployment descriptor file) manually so
    that I won't depend on those generated by proprietary IDEs.
    The ejb-jar_2_0.dtd specifies that env-entry is used in
    entity, message-driven, and session elements.
    My question is - When do we use the element <env-entry>? Under what
    circumstances that ejb-jar_2_0.dtd necessitates its provision in the ejb-jar.xml
    in relation to entity, message-driven, and session elements?

    Hi,
    I've same prob here
    <env-entry>
    <env-entry-name>config.file.location</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>C:/bea/ITReportingConf.xml</env-entry-value>
    </env-entry>
    Right now config file is out side of my EAR, How can i put it within the EAR I tried with changing the
    <env-entry-value>/ITReportingConf.xml</env-entry-value> Value
    But i dont know which dir it is refering to and where should i put "ITReportingConf.xml" File
    Thanks

  • What are the new things which I can do with developers accounts

    My father has an developers account and I don't  know what are the things the developer has? Can any one list the new feature of developers account

    Have you tried looking here:  https://developer.apple.com ?

  • Can't I use the comment in weblogic-ejb-jar.xml?

    Hi, I am migrating to WebLogic Server 6.1 from 5.1.
    And for the weblogic-ejb-jar.xml,
    the following error occurs:
    ERROR: Error parsing 'META-INF/weblogic-ejb-jar.xml' line 14: An invalid XML character
    (Unicode: 0xb8) was found in the comment.
    ERROR: ejbc found errors
    The errorneous line is the following comment. (it's fine in 5.1)
    <!-- if false, ... -->
    Must I remove this comment?
    Thanks in advance.

    I used Korean language in comment.
    But the charset of XML was iso-8859-1.
    Sorry.
    "mariah" <[email protected]> wrote:
    >
    Hi, I am migrating to WebLogic Server 6.1 from 5.1.
    And for the weblogic-ejb-jar.xml,
    the following error occurs:
    ERROR: Error parsing 'META-INF/weblogic-ejb-jar.xml' line 14: An invalid
    XML character
    (Unicode: 0xb8) was found in the comment.
    ERROR: ejbc found errors
    The errorneous line is the following comment. (it's fine in 5.1)
    <!-- if false, ... -->
    Must I remove this comment?
    Thanks in advance.

Maybe you are looking for

  • Goods receipt with two cost

    we create one PO and do goods receipt for the finish goods with quantity 200 and standard cost 130 USD/PC, but in the same month, we realize standard cost is not correct, thus we use MR21 to change the price, after we change the price, we did the rev

  • Flash size changes to be too small after published

    Hi there, I have been using captivate for a while and this is my first time to have this problem. After I publish and upload it to Sumtotal, the window looks good but the flash player is very small. I set the project as 750x520 which I usually did. I

  • Cannot move iDisk icon on desktop display.

    Help, I cannot move my iDisk icon on the desktop display. All other icons move with no problem.

  • Sharing Folder between accounts

    I have two users (two separate accounts) on my machine, both with admin privileges. How can we share a certain folder so all can access it? For example, if user A creates a word document in his account A, he'd like to drop it into a folder still unde

  • Importing contacts from google

    Hi All, I am trying of importing my contacts from my google account as i was using an android OS before my curve. Help me, i am not able to sync the contacts, i have all contacts in *.vcf format also with me but then also not able to import them.