[jboss-dev-forums] [Design of JBoss Tools (dev)] - Google Protocol Buffers + Netty support

trustin do-not-reply at jboss.com
Thu Mar 12 03:59:15 EDT 2009


Hi,

Netty project has pretty good support for Google Protocol Buffers (protobuf).  That is, if you describe a message format with a .proto file, protoc (protobuf compiler) will generate some .java files, and then you can write a protobuf-based binary-encoded high-performance client / server appplication very quickly.

The .proto file format is pretty simple and therefore I think a text editor with auto-completion or a visual editor could be implemented and the protoc compiler could be invoked automatically on save to generate .java files.  Refactoring like renaming and move (e.g. renaming a message type in .proto removes the old .java file) would be very useful, too.

Also, we could generate some skeletal client / server application based on Netty by right-clicking the .proto file and choose 'Generate Netty application' menu item for example.

Would this be an interesting feature to you?  From a network application developer's standpoint, I think this will be cool and attractive.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4217294#4217294

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4217294



More information about the jboss-dev-forums mailing list