How is this possible?

Discussions

EJB design: How is this possible?

  1. How is this possible? (1 messages)

    I was just reading the article in the patterns section about Business Interfaces and the following code snippet was there:

    // Let the remote interface extend the business interface
    public interface EJBRemoteInterface extends EJBObject, BusinessInterface {
    }

    How is it possible to directly extend more than one thing? I thought that was not possible in java?

    Thanks!
  2. How is this possible?[ Go to top ]

    You can get psuedo C++ style multiple class inheritance by extending more than one interface in Java.

    Greg.