The difference is, that 3dgs does not control the multiplayer connection.

This gives more flixibility.
Though, the collision detection needs to be calculated in Java then.
But this can be done for less complex RPG Levels.
Java gives you more options for really complicated Ai and Gamecalculations
(Object oriented).
It is not trivial to program though.