• 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
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

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: 41381
853
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.
 
What? What, what, what? What what tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic