thank you for replying.
I think I didn't explained well, I know how to connect to a database, I have the drivers, etc, etc.
But when I try to connect to an external Database the connection fails (allways throws as java.Nullpointer exception).
I mean I can connect to a DB that is on my computer...