Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Interfaces Design  RSS feed

 
bredan
Greenhorn
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?
Thanks.
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!