agentgt / jirm

A Java Immutable object Relational Mapper focused on simplicity, convenience, and thread safety.
Apache License 2.0
66 stars 10 forks source link

Protobuf support #2

Open agentgt opened 11 years ago

agentgt commented 11 years ago

Protobuf has great support for Immutable objects and has its own object definition.

Its very possible that JIRM could automatically know how to CRUD Protobuf generated objects.

Custom handling of Protobuf message objects example: http://code.google.com/p/protobuf-java-format/

The biggest issue is to figure out how to use Protobuf's extension mechanism for custom meta-data works and how to share those extensions.

agentgt commented 11 years ago

Avro is another option: http://avro.apache.org/