Topic
  • 2 replies
  • Latest Post - ‏2010-06-02T22:30:43Z by Haytham Sawalhi
SystemAdmin
SystemAdmin
1215 Posts

Pinned topic "Promote to Remote Interface option is Disabled.

‏2007-02-13T22:17:49Z |
I have session bean and I want to promote one of it's method to Remote Interface. IN J2EE perspective , I right-click on the method -> Enterprise Bean, all the options are disbled. I would expect that "Promote to Remote Interface" option should be enabled.
Is there any extra setting required?

MTEHOD:
public Boolean createDocDef() {
System.out.println("DocFacade createDocDef ");
try {
Integer id = new Integer(4);
DocDefLocal aDocDefLocal = createDocDefLocal(id);

System.out.println("Documment Name: " + aDocDefLocal.getName());
}catch(Exception e){
System.out.println(e);
e.printStackTrace();
return new Boolean(false);

}
return new Boolean(true);

}
Updated on 2010-06-02T22:30:43Z at 2010-06-02T22:30:43Z by Haytham Sawalhi
  • SystemAdmin
    SystemAdmin
    1215 Posts

    Re: "Promote to Remote Interface option is Disabled.

    ‏2007-02-16T06:12:43Z  
    Hi there,

    Try to put a parameter in your function. It should trigger the feature enabled. Once it works, it works.

    Cheers!
  • Haytham Sawalhi
    Haytham Sawalhi
    1 Post

    Re: "Promote to Remote Interface option is Disabled.

    ‏2010-06-02T22:30:43Z  
    Hi there,

    Try to put a parameter in your function. It should trigger the feature enabled. Once it works, it works.

    Cheers!
    DonaldN Thank you very much :)