Consider this:
@Stateless
class CustomerBean implements Customer, Serializable, ... {
public addOrder(Order o) {
}
private doStuff() {
}
}
@Local
interface Customer {
}
On save of CustomerBean autoadd public methods on Bean to the first @Local interface found in the implements part.
Autoremove as an option.
Use jmerge to control add/remove ?