facebook

wseedoclet on ME

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    nnmarques
    Member

    Hello,

    I’m trying to create a web service based on a stateless session bean created with ME.

    I’ve found wseedoclet on XDoclet and I would like to use it with ME. Can anyone help me with a very simple example.

    Thanks,
    Nelson Marques

    #227637

    Riyad Kalla
    Member
    #227649

    nnmarques
    Member

    Can the webservice generated with servicegen be deployed in JBoss 3.2 or is this proprietary.

    I also would like to know if the wseedoclet works for JBoss and Weblogic.

    Thanks,
    Nelson Marques

    #227653

    Riyad Kalla
    Member

    What is “servicegen”? Are you asking about the tutorial?

    Any web service you generate using Xdoclet can be deployed to any app server you need it to be. XDoclet is not proprietary, it is just a tag processing library.

    #236350

    pathcom
    Member

    your example is not valid for the question, it only shows the WEBLOGIC example, it does not contain a pure xdoclet… am I right?

    #236351

    pathcom
    Member

    my question is how you make myeclipse to trigger the xdoclet to interpret the items like:
    “@wsee.port-component” for your code?

    #236354

    Riyad Kalla
    Member

    You would need to add XDoclet support to your project in the form of a Doclet, then configure it and run XDoclet on your project.

    #236356

    pathcom
    Member

    yes I did that but the @wsee are ignored. example:
    /**
    *
    * @ejb.bean
    * name=”HelloBean”
    * display-name=”Hello”
    * description=”A simple hello world bean.”
    * jndi-name=”ejb/Hello”
    * type=”Stateless”
    * view-type=”service-endpoint”
    *
    * @ejb.interface
    * service-endpoint-class=”de.hpi.dcl.asg.interfaces.HelloEndpoint”
    *
    * @wsee.port-component
    * name=”HelloEndpointPort”
    */

    the ejb infrastructure is generated, but no services xml …
    when I click on ProjectProperties -> my eclipse xdoclet -> add standard -> Standard EJB selected.
    what else should I configure?

    #236514

    pathcom
    Member

    it looks like I need to use xdoclet manually called in the ant script … hmmm

    #236532

    Scott Anderson
    Participant

    No, you don’t, you just need to create a wsee configuration to add to the ejb configuration. Go to Properties > MyEclipse-XDoclet and click Add… , name the configuration wsee, or whatever. Now, select the new configuration and then right click in the blank doclet area in the section below the configuration and to the left of the properties pane. Select Add Doclet and select wseedoclet. Configure it and go.

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: wseedoclet on ME

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