Java-based distributed architectures for intensive computations related to electrical grids