You can make business methods visible in the local and remote interfaces of the enterprise bean. Alternatively, you can remove methods from the interfaces. When you create a method in the SAP NetWeaver Developer Studio, it is propagated automatically to the remote and local interfaces unless you explicitly define otherwise. In the J2EE Explorer, the icons show which methods are in which interface:
|
Method is in neither remote nor local interface. |
|
Method has been propagated to the remote interface. |
|
Method has been propagated to the local interface. |
|
Method has been propagated to the remote and local interfaces. |
1. In the J2EE Explorer, select the methods to be propagated.
2. From the context menu, choose Propagate to → Local or Propagate to → Remote as required.
You can remove methods from the interfaces in a similar manner using Remove from.
The appropriate code is added to, or removed from, the relevant interfaces.