added EventSource for Java and sample projects