This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java in General and the fly likes mixin class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Java in General
Bookmark "mixin class" Watch "mixin class" New topic

mixin class

Astha Sharma
Ranch Hand

Joined: Oct 15, 2011
Posts: 250

I am confused about mixin class? I'v googled it but not able to get what is it. Please tell me what's the need to use mixin classes. How to implement them?
Thanks in advance...

Astha - OCPJP 6 (90%)
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3151

There are no Mixin classes in Java. All you have is interfaces. Mixins are supported in other JVM based languages like Scala (they are called as Traits there), Groovy and JRuby as well. But search for mixins or mixins in java does return few useful results.

Mohamed Sanaulla | My Blog
Astha Sharma
Ranch Hand

Joined: Oct 15, 2011
Posts: 250

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: mixin class
It's not a secret anymore!