Menu

#2 application connect to servlet become slow?

open
nobody
None
5
2008-03-27
2008-03-27
No

hi,

I want to use vjdbc 1.6.5 in future project.

now, I got a problem like this:

I code in eclipse and it work fine to connect to servlet:

Class.forName("de.simplicit.vjdbc.VirtualDriver").newInstance();
String URL="jdbc:vjdbc:servlet:http://192.168.4.20:8080/vjdbc_servlet/vjdbc,test";
Connection conn1 = DriverManager.getConnection(URL);
return conn1;

but when I package it and run as application without eclipse it connect to the servlet become very slow.

why?

best regards.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.