• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
Bartenders:

Does anyone know the answer of this question ?

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In my WSAD 5.0 workspace there is an EJB project named OafTestEJB.

Within this project there is a file /OafTestEJB/ejbModule/com/company/elslon/common/oaf
/general/servicelocator/ejb/test/ServiceLocatorTestBean.java.

I add to ServiceLocatorTestBean the method:

public String test(String s) {return s;}

When I �Promote to Remote Interface� this method, WSAD adds some code to the remote interface and a couple errors appear in the tasks view. The errors are similar. One of the errors says:

�Class must implement the inherited abstract method com.company.elslon.common.oaf.general.servicelocator.ejb.test.ServiceLocatorTest.test(String). Location: line 9 in EJSRemoteStatelessServiceLocatorTestBean_fd75a2e6�.

What code has WSAD added to the remote interface, and how do I fix the errors?
 
author & internet detective
Posts: 41775
887
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sazzadul,
When you change/add/remove any signatures in an EJB, you need to regenerate the deployed code. You can do this by right clicking the project and choosing the deploy option.
 
Once upon a time there were three bears. And they were visted by a golden haired tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic