Create some java and javascript snippets.