Please share any complete example on protocol buffer with Java.I also need instruction to compile java code which use these protocol buffer (protobuf).
You do realise this is not 'code-on-demand', right?
There are tons of tutorials out there.
as for the compiling part, why would this be any different from compiling any other application?
If you want people to share with you that's a two-way process. You should start by sharing what you have done.
Or maybe you just want someone to do your project for you - in which case you have come to the wrong place.