It's not a secret anymore!
The moose likes Servlets and the fly likes Development Enviroment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Development Enviroment" Watch "Development Enviroment" New topic

Development Enviroment

saquib nisar

Joined: Nov 13, 2000
Posts: 14
We are just about to embark on our first Java development, an Extranet site, which will be developed using Serlets, JDBC and an Oracle DB. The Webserver to be used is IPlanet on a Sun Solaris box, with LDAP login verification.
1) If the application is to be deployed on a Sun UNIX box, if we did the development against a NT machine running IPlanet etc., will have any problems when we deploy?
2) There will be 4 developers working on this application - how do I set different working directories (for WIP objects), and a central directory for booked in objects? Is there any suggested way of doing source control for Servlets?
Thanks for all answers.
Saquib Nisar
Carl Trusiak

Joined: Jun 13, 2000
Posts: 3340
It's really up to you but, IMHO
1) Ensure your code is written to be platform independant. Examples that help in this :
a)Use System.getProperty() to get the properties that you need which could be platform dependant such as directory seperator character.
b)Put anything that could be platform dependant such as directory structures, support file location, host name etc. in a configuration file. You can use an XML file for this however, my preference is a properties file.
2) Get a good versioning program such as CVS and create a repository for all your code and have the programmers check out what they need to work. Mostly TALK to each other constantly.
Hope this helps

I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
There is now an iPlanet forum. I will move this there.
Matthew Phillips

Matthew Phillips
I agree. Here's the link:
subject: Development Enviroment
It's not a secret anymore!