aspose file tools*
The moose likes Servlets and the fly likes Intranet to Internet transfer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Intranet to Internet transfer" Watch "Intranet to Internet transfer" New topic
Author

Intranet to Internet transfer

Mishra Anshu
Ranch Hand

Joined: Sep 16, 2003
Posts: 224
Suppose you have made some pages using JSP/Servlet
and are comfortable to establish the database connection
(maybe mysql/MsAcces). It is working fine on the intranet.
But if I want to transfer (upload) the same to the internet
doesn't I'll have to change some database code? Since
the path of the database on the server may be different
that was on my intranet.
So, what factors should we consider when we are going
for such a transfer?
Also may be the server I'll be using may not support all
types of the DB.
Plz. comment


"Ignorance is bliss"
Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 613
Anush,
An best practice for database connection is to use properties file for storing info related to database.
so you just need to change properties files for any database change
cheers
Praful


All desirable things in life are either illegal, banned, expensive or married to someone else !!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Intranet to Internet transfer
 
Similar Threads
Tomcat ssl problem
IP, SSL, and Java
IP, SSL, and Java
Please reply fast
Data Transfer