Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Interfaces Design  RSS feed

Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got an EJB project. All parameters passed in must be interfaces and everything inside the return classes must be interfaces. Every single method has an input and output packages to hold interfaces. The problem is that the base classes have to implement tons of interfaces. Also, if you wanna copy an interface to another, you have to do setMethod(getMethod). I wrote a clone method that allows you to copy the class, but the architect didn't like my idea.
Has anybody done same kind of project dealing with all interfaces? Can anybody tell any benefits to do so?
By the way, I can't use my user name "Bredan Tomong" at home.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!