Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Development Cycle

Development Cycle

From: Mazur <robertm_at_sherwoodforestfarms.com>
Date: Sat, 24 Feb 2001 12:00:39 -0800
Message-ID: <3A9812E7.A03CD1F4@sherwoodforestfarms.com>

How do you guys keep the SID's and ip addresses of your code straight during the development cycle?

Let me explain....I have a project that I would like to work on at the office where there is a Oracle instance on a server. I write my code (servlets/JSP's) on my laptop connected to the Oracle server on the LAN.

I also have an Oracle instance at home on a server, where I write my code on a desktop connected to the Oracle server on the LAN. It has the same SID name as the Oracle instance at work. Both work and home have active web servers online as well.

When developing the code/web pages, I need to specify ip addresses for web links, a SID for the database, an ip address for the Oracle server to accompany the SID for the conneciton, etc. If I am writing this code at work, I can't very well take my java source files home to work on them, and expect them to work on the fly....as the ip addresses for the web servers are different, the ip addresses for the Oracle servers are different....luckily the SID's are the same.

Do you see the dilemna? Of course, when I take the code home, I could change all the hardcoded ip addresses and web link addresses before I begin work again. But then I would have to change them back in the morning when I return to work....a bit of a pain.

Is there some kind of cool scenario anyone uses to get around an issue like this? I mean, an answer would be "do all your development in one place." But....I would like to work at the office and at home on the same project.

Any advice would be appreciated.
Thank you,
Rob Mazur Received on Sat Feb 24 2001 - 14:00:39 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US