Skip to Content
avatar image
Former Member

New Business Method in EJB not available in Webdynpro Model

Hi,

I am using EJBs for Business Logic in my webdynpro java application. I have added a new Business Method in one of the session bean. But I am not able to see the new method in webdynpro model. I am following the below procedure -

1. Select the Session bean.

2. Add New Business Method. It automatically adds the method in Remote and Local Interface.

3. Implement thie new method.

4. Build EJB project

5. Add it to EAR

6. Build EAR Project

7. Deploy EAR Project

After following above steps, when I am trying to create a model in my webdynpro project, it does not reflect the changes (context returned by new business method).

Can any one help me on this ?

Thanks in advance,

Gaurav

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Apr 12, 2010 at 11:09 AM

    Hi,

    Just re-create you virtual interface and web-service definition. Then continue with your step 4.

    Regards,

    Manoj

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 12, 2010 at 02:46 PM

    hi,

    right click the ejb project, -


    >JAVA EE----


    >create ejb client jar

    Best regards,

    John

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 13, 2010 at 04:40 AM

    Hi Gaurav,

    I also faced same problem in past. With the help of Basis undeployed the project from server, used the same procedure mention by you and redepoyed.

    Try this, hope your issue will solve...

    Deepak!!!

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 15, 2010 at 09:49 AM

    The issue is resolved. This is the case where methods in beans returns collections. For such scenario, relations have to be created manually, it does not come automatically. For details refer the blog at below link --

    /people/balaramnaidu.bankuru/blog/2006/04/23/importing-complex-javabean-model-into-webdynpro-by-creating-relationships-for-the-model-classes

    Thanks everyone.

    --

    Gaurav

    Add comment
    10|10000 characters needed characters exceeded