Java Programming Thought Distributed Energy