openRDF.org Welcome Guest   | Login   
  Search  
  Index  | Recent Threads  | Who's Online  | User List  | Search  | Help  | RSS feeds

Forum closing down
This forum will be closing down due to extensive spamming activities. As a first step, registration of new members has been disabled. Existing members will be able to use the forum for now, but please consider using the sesame-general mailing list instead.


Quick Go »
Thread Status: Normal
Total posts in this thread: 1
[Add To My Favorites] [Watch this Thread] [Post new Thread]
Author
Previous Thread This topic has been viewed 1519 times and has 0 replies Next Thread
Feb 13, 2005 1:32:28 AM

querab
Member



Joined: Feb 11, 2005
Posts: 5
Status: Offline

cool   Repository already connected Reply to this Post
Reply with Quote

I'm developing a web page to answer some questions about my RDF schema.

I connected to my repository successfully, but every time that the client ask some question , I'm conneting with the repository. Is it correct? or Is there a way to know that my program is already connect with the repository?

I'm using the following code:

java.net.URL urlServidor = new java.net.URL("http://localhost:8085/sesame/");
SesameService servicio = Sesame.getService(urlServidor);
servicio.login("testuser","opensesame");
SesameRepository repositorio = servicio.getRepository("mem-rdfs-db-2");

Thanks

querab
Show Printable Version of Post        Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
[Show Printable Version of Thread] [Post new Thread]