Click here to Skip to main content
15,893,190 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello,

i am mahesh kadtan student of BE IT . for last yr project i`m developing "EDP management system" it has front end JSP and back end oracle 10g my source code run correctly on tomcat server, with the help of local host i.e loop back address. now my project guide told me to use 2 different PC one is for front end and another one is for back end BUT i have no clue how to connect two pc using connection string . i have basic knowledge i.e i have to put my IP instead of local host n so on. BUT full procedure how to set up client-server connection and how can i connect 2 different system using a connection string

here is my soure code:-

try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
out.println("hello" );
Connection con = DriverManager.getConnection("jdbc:odbc:EDP","scott","tiger");

edp :- DSN name

scott:- DB username

tiger:- DB password

so plz post ur valuable commt with full procedure so that i can complete my BE project

with best regard
mahesh kadtan
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900