Add some java and perl sample code.
Update History.md.