openDatabase on a distant server with java

Hi,i have in JAVA to open a database on a distant server. I have some problem with the syntax.

Can somebody help me.

Session s = NotesFactory.createSession();

DbDirectory Dir = s.getDbDirectory(“the distant server”);

Database db = Dir.openDatabase(“\Databases\MYBASE.nsf”);

Thank’s in advance