ScalaBeans is a reflection library for Scala. Its aims are similar to JavaBeans, but scala-specific features have been added:
- Recognizes scala properties
- Can handle immutable and case classes
- Scala collections are supported, including builders
- Preserve generic type information
- Type pattern matching (including generic type arguments)
- High performance serialization to/from protobuf, json, xml
Further information:
- Documentation: http://scalabeans.googlecode.com/
- User group: http://groups.google.com/group/scalastuff
- Issues: http://code.google.com/p/scalabeans/issues/list
If you use Maven, add following lines to your pom.xml:
<dependencies>
...
<dependency>
<groupId>org.scalastuff</groupId>
<artifactId>scalabeans</artifactId>
<version>0.3</version>
</dependency>
</dependencies>