Hi Burak,

This sounds intriguing - i'm curious how you create a schema dynamically at 
runtime, do you have sample code you could share?

I'm also curious what performance difference you measured between 
DynamicMessage vs generated POJO class. (I use DynamicMessage very 
successfully to avoid POJO generation, but perhaps performance requirements 
are different)

Yes I also think you would need protoc & compiler toolchain at runtime to 
achieve what you want. Probably using tools.jar to invoke java compiler, 
then Class.forName(). Generated class should be in classpath.

For protoc invocation perhaps following java wrapper can help
https://github.com/os72/protoc-jar

Cheers
--Oliver

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to