RE: What is a good dev-enviroment for servlet/tomcat?

2003-10-09 Thread Andy Eastham
Have you never run into a problem when multiple developers are working on
the same server, and someone crashes the server, overwrites someone else's
code, breaks something that someone else was relying on, or restarts the
server when someone was in the middle of testing a long running batch job?

I certainly have!

It's easy to ensure people in a small team have the same version.  Put up a
poster with Tomcat 4.1.18 or something written on it, or if they are
distributed around the world, email them weekly with what the approved
development environment is.  If they can't be trusted, replace them with
people who can ;-).

By all means have a single test server shared by everyone, but make sure
people only upload code that has at least been locally module tested.  That
way everyone won't tread on each others toes all the time, and if the test
server goes wrong, others can continue working in their local environments.

Andy

 -Original Message-
 From: epyonne [mailto:[EMAIL PROTECTED]
 Sent: 08 October 2003 20:45
 To: Tomcat Users List
 Subject: Re: What is a good dev-enviroment for servlet/tomcat?


 Just a precaution.  We had run into problem before when different
 developers
 have different version of Tomcat with different configuration locally.


 - Original Message -
 From: Shapira, Yoav [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Wednesday, October 08, 2003 01:55 PM
 Subject: RE: What is a good dev-enviroment for servlet/tomcat?



 Howdy,

 IMHO, instead of one instance per developer, I think you should have
 one
 development server with one instance of Tomcat shared by the 3
 developers.

 Why oh why do you think that??

 Yoav Shapira



 This e-mail, including any attachments, is a confidential business
 communication, and may contain information that is confidential,
 proprietary
 and/or privileged.  This e-mail is intended only for the individual(s) to
 whom it is addressed, and may not be saved, copied, printed, disclosed or
 used by anyone else.  If you are not the(an) intended recipient, please
 immediately delete this e-mail from your computer system and notify the
 sender.  Thank you.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: What is a good dev-enviroment for servlet/tomcat?

2003-10-08 Thread Pitre, Russell
That's a good question, and I'd like to add a question too.

How do you setup a server so that if you had 3 developers...each one has
their own instance of tomcat running at the same time??


Russ

-Original Message-
From: joe udder [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 08, 2003 1:58 PM
To: [EMAIL PROTECTED]
Subject: What is a good dev-enviroment for servlet/tomcat?

Hello.

I am thinking of how I can improve my development enviroment when
doing my 
webapps.
Until now, I've used a handcrafted build.xml to make my webapp, and
then 
the usual

_
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: What is a good dev-enviroment for servlet/tomcat?

2003-10-08 Thread epyonne
IMHO, instead of one instance per developer, I think you should have one
development server with one instance of Tomcat shared by the 3 developers.
If each of them is working on individual project, each developer can has
his/her own application directory in Tomcat.  And if they are working as a
team on one project, you can use a version control software like CVS to
control it.

Just make sure nobody modify any system file in Tomcat without consensus,
and you will be fine.  There is no need for multiple Tomcat within
development.  But you need a separate installation for the test server, and
another installation for the production server.

If you must have a separate instance for each developer, you can simply use
different port number for each instance.

Hope this helps.


- Original Message -
From: Pitre, Russell [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 01:00 PM
Subject: RE: What is a good dev-enviroment for servlet/tomcat?


That's a good question, and I'd like to add a question too.

How do you setup a server so that if you had 3 developers...each one has
their own instance of tomcat running at the same time??


Russ

-Original Message-
From: joe udder [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 1:58 PM
To: [EMAIL PROTECTED]
Subject: What is a good dev-enviroment for servlet/tomcat?

Hello.

I am thinking of how I can improve my development enviroment when
doing my
webapps.
Until now, I've used a handcrafted build.xml to make my webapp, and
then
the usual

_
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: What is a good dev-enviroment for servlet/tomcat?

2003-10-08 Thread Shapira, Yoav

Howdy,

IMHO, instead of one instance per developer, I think you should have
one
development server with one instance of Tomcat shared by the 3
developers.

Why oh why do you think that??

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: What is a good dev-enviroment for servlet/tomcat?

2003-10-08 Thread Angus Mezick
Each developer needs their own tomcat on their desktop.  There also
needs to be a build/staging tomcat server where code to be released is
built, packaged, and tested.
--Angus

 -Original Message-
 From: epyonne [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, October 08, 2003 2:54 PM
 To: Tomcat Users List
 Subject: Re: What is a good dev-enviroment for servlet/tomcat?
 
 
 IMHO, instead of one instance per developer, I think you 
 should have one
 development server with one instance of Tomcat shared by the 
 3 developers.
 If each of them is working on individual project, each 
 developer can has
 his/her own application directory in Tomcat.  And if they are 
 working as a
 team on one project, you can use a version control software 
 like CVS to
 control it.
 
 Just make sure nobody modify any system file in Tomcat 
 without consensus,
 and you will be fine.  There is no need for multiple Tomcat within
 development.  But you need a separate installation for the 
 test server, and
 another installation for the production server.
 
 If you must have a separate instance for each developer, you 
 can simply use
 different port number for each instance.
 
 Hope this helps.
 
 
 - Original Message -
 From: Pitre, Russell [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Wednesday, October 08, 2003 01:00 PM
 Subject: RE: What is a good dev-enviroment for servlet/tomcat?
 
 
 That's a good question, and I'd like to add a question too.
 
 How do you setup a server so that if you had 3 
 developers...each one has
 their own instance of tomcat running at the same time??
 
 
 Russ
 
 -Original Message-
 From: joe udder [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 08, 2003 1:58 PM
 To: [EMAIL PROTECTED]
 Subject: What is a good dev-enviroment for servlet/tomcat?
 
 Hello.
 
 I am thinking of how I can improve my development enviroment when
 doing my
 webapps.
 Until now, I've used a handcrafted build.xml to make my webapp, and
 then
 the usual
 
 _
 Tired of spam? Get advanced junk mail protection with MSN 8.
 http://join.msn.com/?page=features/junkmail
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: What is a good dev-enviroment for servlet/tomcat?

2003-10-08 Thread [EMAIL PROTECTED]
Hi Joe,

Download DevCentre  www.likhasoftware.com.  It will simplify some stuff for
you.

Bern

- Original Message - 
From: joe udder [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 10:57 AM
Subject: What is a good dev-enviroment for servlet/tomcat?


 Hello.

 I am thinking of how I can improve my development enviroment when doing
my
 webapps.
 Until now, I've used a handcrafted build.xml to make my webapp, and then
 the usual

 _
 Tired of spam? Get advanced junk mail protection with MSN 8.
 http://join.msn.com/?page=features/junkmail


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: What is a good dev-enviroment for servlet/tomcat?

2003-10-08 Thread epyonne
Just a precaution.  We had run into problem before when different developers
have different version of Tomcat with different configuration locally.


- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 01:55 PM
Subject: RE: What is a good dev-enviroment for servlet/tomcat?



Howdy,

IMHO, instead of one instance per developer, I think you should have
one
development server with one instance of Tomcat shared by the 3
developers.

Why oh why do you think that??

Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: What is a good dev-enviroment for servlet/tomcat?

2003-10-08 Thread Peter Harrison
On Thu, 09 Oct 2003 07:54, epyonne wrote:
 IMHO, instead of one instance per developer, I think you should have one
 development server with one instance of Tomcat shared by the 3 developers.
 If each of them is working on individual project, each developer can has
 his/her own application directory in Tomcat.  And if they are working as a
 team on one project, you can use a version control software like CVS to
 control it.

Don't think I agree with this. We are always stopping and starting Tomcat in 
our environment. We have four developers, each with their own database and 
tomcat. We use CVS and do a intergration build every morning on all the 
development machines to ensure no check ins have broken anything.

In terms of IDE - I have been using eclipse, other developers like jEdit, or 
even - god forbid - vim. We don't use netbeans as if forces you to use a odd 
directory structure. Our structure is something like

/project
/project/doc - documention
/project/bin - classes
/project/dist - for war file or jars
/project/jsp - jsp's
/project/model - business model
/project/src - source code.

Most tools can handle different paths for these things - probably netbeans can 
too - but we found netbeans rather slow. We use mainly lightweight tools. 
Also, idea deserves a mention, and although it costs it has some nice 
refactoring features.

Sorry - don't want to start a general IDE flamewar, so this will be the last I 
say on this subject :)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: What is a good dev-enviroment for servlet/tomcat?

2003-10-08 Thread srevilak
 I was thinking about methods to improve my so called development
 enviroment, and I am curious to learn how others do when they work.

 Until now I use a handcrafted build.xml which by using ant builds the
 jars, classes, creates WEB-INF and all that stuff. Later I use the normal
 catalina-scripts to launch and shutdown tomcat4.
 While it works, it is a slow and ineffective process I guess.

That sounds pretty typical.  If you're using ant to build your
product, you do have to give it instructions :)

The degree of which your source layout reflects the code structure of
your application can make a difference in how easy/difficult it is to
build.  If your application has subcomponents, the source layout
should reflect that sort of division.

If you'd like to see more concrete examples, you can always get a copy
of Tomcat's source code, and see how it's put together.


For the related question:

 How do you setup a server so that if you had 3 developers...each one
 has their own instance of tomcat running at the same time??

This depends on your development environment.  If all of your
developers have tomcat running on the same host, you have a few
options:

 - if you've got an apache front end, give each developer their own
   virtual host, and their own tomcat port.

 - if everyone runs tomcat standalone, give each their own set of
   ports.

 - (Standalone again) give each developer their own IP address for
   their tomcat instance.  (Caveat: I've never set it up this way,
   but it looks like you can accomplish this by having each developer
   give the DN for their individual IP in the Host element of
   server.xml.  Comments from anyone who's set it up this way?)

In general, you can break network traffic up two way: IP addresses and
ports.  That's what you have to work with.

-- 
Steve

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]