• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Intranet to Internet transfer

 
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 645
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic