facebook

[Closed]XDoclet, Weblogic 8, EJB MDB

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #241609 Reply

    Sword
    Member

    Dear,

    My configuration :
    Eclipse 3.1.1, MyEclipse 4.0.3, WXP sp2

    I would write a simple EJB MDB for WLS 81.

    XDoclet configuration : Standard EJB + Weblogic (version=8.1)

    I have severals dysfunctions :
    . the completion on attribute works, but we cannot selected. We have to retype the value.
    . We haven’t all attributes to manage weblogic-ejb-jar.xml descriptor file. for example : jndi-name, jms-client-id, connection-factory-jndi-name …
    –> If I write it, the xdoclet processor don’t care about them
    –> I can add them in thet descriptor file using the completion map on DTD
    Thanks answers,

    Jean-Louis

    #241627 Reply

    Riyad Kalla
    Member

    . the completion on attribute works, but we cannot selected. We have to retype the value.

    This is a known bug

    . We haven’t all attributes to manage weblogic-ejb-jar.xml descriptor file. for example : jndi-name, jms-client-id, connection-factory-jndi-name …
    –> If I write it, the xdoclet processor don’t care about them
    –> I can add them in thet descriptor file using the completion map on DTD

    XDoclet tags are context sensative, it depends on what kind of class you are commenting that you will get certain kinds of completion. Please give us a code example of what you are doing and we can maybe help make sense of it.

    #241656 Reply

    Sword
    Member

    Here the head of the class :

    /**
     * XDoclet-based Message Driven entity bean.
     *
     * To generate EJB related classes using XDoclet:
     *
     *        - Add Standard EJB module to XDoclet project properties
     *        - Customize XDoclet configuration
     *        - Run XDoclet
     *
     * Below are the xdoclet-related tags needed for this EJB.
     *
     * @ejb.bean name="ListenerTopicNoyau"
     *           display-name="Name for ListenerTopicNoyau"
     *           description="Description for ListenerTopicNoyau"
     *           destination-type="javax.jms.Topic"
     *           acknowledge-mode="Auto-acknowledge"
     *           transaction-type="Container"
     *           subscription-durability="Durable"
     *
     */
    public class ListenerTopicNoyauBean implements MessageDrivenBean, MessageListener {
    
    ....
    #241662 Reply

    Riyad Kalla
    Member

    What @tag are you using that you aren’t getting full completion with? You mentioned about not being able to set the jndi properties for weblogic, so I looked up the @weblogic tag and it doesn’t have any such tags: http://xdoclet.sourceforge.net/xdoclet/tags/bea-tags.html

    so I believe you meant some other tags, I would add that @ejb does have a connection-factory-jndi-name property, but again, no jndi or jms-client-id properties as outlined here: http://xdoclet.sourceforge.net/xdoclet/tags/ejb-tags.html

    #241696 Reply

    Sword
    Member

    I’m so sorry,
    I only use @ejb.bean tag not @weblogic.messageDriven tag

    Thanks for your quick answer.

    Jean-Louis

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: [Closed]XDoclet, Weblogic 8, EJB MDB

You must be logged in to post in the forum log in