- This topic has 4 replies, 2 voices, and was last updated 18 years, 11 months ago by Sword.
-
AuthorPosts
-
SwordMemberDear,
My configuration :
Eclipse 3.1.1, MyEclipse 4.0.3, WXP sp2I 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
Riyad KallaMember. 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 DTDXDoclet 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.
SwordMemberHere 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 { ....
Riyad KallaMemberWhat @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
-
AuthorPosts