Development

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Lite-weight Software Development Environment

    6 answers - 814 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Hi
    I have just started a new job where each developer's development
    environment is quite "heavy". We have a local copies of the
    application server, the web server, the database, and soon the BPM
    server.
    This results in 1. a lot of setup for a new development PC; and 2. a
    lot of resource requirements; and 3. long build/deploys for running
    and testing the appliications.
    Testing is currently deploy and run and manually check the results.
    They wish to move to a lite-weight development environment for
    developers with having all the heavy stuff on an intergration machine.
    Just wondered what sort of development environments developers are
    using? We are doing Java/J2EE development.
    any pointers to resources on the topic.
    Cheers
    Shane
  • No.1 | | 2179 bytes | |

    17 Aug 2005, at 09:02, Shane Mingins wrote:
    [snip]
    I have just started a new job where each developer's development
    environment is quite "heavy". We have a local copies of the
    application server, the web server, the database, and soon the BPM
    server.

    I like this sort of environment myself. Being able to do everything
    from a developer box is a boon as far as I'm concerned.

    This results in 1. a lot of setup for a new development PC;

    Can't you make the setup simpler? Have standard boxes and some sort
    of disk imaging to setup?

    and 2. a
    lot of resource requirements;

    Is this a problem?

    and 3. long build/deploys for running
    and testing the appliications.

    This is bad, but doesn't seem related to having "heavy" development
    machines, but a bad testing process.

    Testing is currently deploy and run and manually check the results.

    This looks to me the most productive area to spend your time. Try and
    automate more things and look to mocking out stuff on unit tests if
    it's slowing things down.

    They wish to move to a lite-weight development environment for
    developers with having all the heavy stuff on an intergration machine.
    [snip]

    I personally like the developers boxes to be able to do everything
    the integration box can do. It makes things so much simpler if
    everything is the same, and boxes can be swapped around if things
    break. So, unless you don't have the money for it, I'd suggest
    spending your time automating the setting up of machines, and looking
    to speed up your testing.

    Cheers,

    Adrian

    To Post a message, send it to: extremeprogramming (AT) eGroups (DOT) com

    To Unsubscribe, send a blank message to: extremeprogramming-unsubscribe (AT) eGroups (DOT) com

    ad-free courtesy of objectmentor.com
    Yahoo! Groups Links

    <*To visit your group on the web, go to:

    <*To unsubscribe from this group, send an email to:
    extremeprogramming-unsubscribe (AT) yahoogroups (DOT) com

    <*Your use of Yahoo! Groups is subject to:
  • No.2 | | 1589 bytes | |

    8/17/05, Jeff Grigg <jeffgrigg (AT) charter (DOT) netwrote:
    Shane Mingins wrote:
    >I have just started a new job where each developer's
    >development environment is quite "heavy". We have a
    >local copies of the application server, the web server,
    >the database, and soon the BPM server.


    Adrian Howard <adrianh@qwrote:
    I like this sort of environment myself. Being able to
    do everything from a developer box is a boon as far as
    I'm concerned.

    Same here. The alternative is typically to have developers
    constantly stepping on each other's toes due to lack of independence
    of their "sandbox" development environments. This typically forces
    developers to be considerably more conservative -- and hence much
    less agile -- in their work.

    ditto I generally try to write a setup script that builds the app
    for the first time, configures the app server, and does sundry other
    things in one or two steps There are also a couple of secondary
    advantages to having this setup:
    - you avoid having people manually change configurations so that you
    know what you are running with and can reproduce behavior easily. (if
    there are variations, you can use properties files and thus quickly
    figure out what is different between 2 setups)
    - Since every developer deploys, you are deploying A LT, so you have
    lots of opportunity to get your deploy.install process working
    smoothly.
    - It makes it VERY easy to get a new person started on a project.

    Steve
  • No.3 | | 1006 bytes | |

    Shane Mingins wrote:
    Hi

    I have just started a new job where each developer's development
    environment is quite "heavy". We have a local copies of the
    application server, the web server, the database, and soon the BPM
    server.

    This results in 1. a lot of setup for a new development PC; and 2. a
    lot of resource requirements; and 3. long build/deploys for running
    and testing the appliications.

    Testing is currently deploy and run and manually check the results.

    They wish to move to a lite-weight development environment for
    developers with having all the heavy stuff on an intergration machine.

    Just wondered what sort of development environments developers are
    using? We are doing Java/J2EE development.

    Eclipse, JBoss, some free database (Postgresql or Mimer), Apache. That's
    about it. I find it quite lightweight, especially with JBoss-IDE
    integrated into Eclipse.

    Is this the kind of thing you're looking for?
  • No.4 | | 2005 bytes | |

    We used the same for development (JBoss, PostgreSQL, Phoenix, Tomcat).
    We included the setting up of the whole development environment in our
    ant scripts. I.e. to setup a new development machine, you only needed
    to checkout the code, set some environment parameters (mostly location
    of checked out CVS modules) and call 'ant rebuild'. That did
    everything for you.

    Was very useful! Not only for new development machines but also every
    now and then when we had some strange behavior (which could have been
    caused by inconsistent modules or such). You just deleted the whole
    build and sandbox tree and rebuilt from scratch. The easiness of this
    ensured that nobody added some proprietary stuff on their development
    machines.

    Later, we extended this to WebLogic, MySQL, and WebSphere. It
    was always worth figuring out how to do this through ant scripts.

    MarkS

    8/25/05, J. B. Rainsberger <jbrains (AT) rogers (DOT) comwrote:
    Shane Mingins wrote:
    Hi

    I have just started a new job where each developer's development
    environment is quite "heavy". We have a local copies of the
    application server, the web server, the database, and soon the BPM
    server.

    This results in 1. a lot of setup for a new development PC; and 2. a
    lot of resource requirements; and 3. long build/deploys for running
    and testing the appliications.

    Testing is currently deploy and run and manually check the results.

    They wish to move to a lite-weight development environment for
    developers with having all the heavy stuff on an intergration machine.

    Just wondered what sort of development environments developers are
    using? We are doing Java/J2EE development.

    Eclipse, JBoss, some free database (Postgresql or Mimer), Apache. That's
    about it. I find it quite lightweight, especially with JBoss-IDE
    integrated into Eclipse.

    Is this the kind of thing you're looking for?
  • No.5 | | 1320 bytes | |

    lightweight approach that most people don't seem to know about is
    using Jetty to run servlets in the same process as JUnit. Jetty has a
    much nicer internal API than Tomcat. After writing a wrapper class you
    can have tests like this:

    protected void setUp() {
    webserver = new WebServer(); // starts on localhost with an
    arbitrary unused port
    servlet = webserver.addServlet(MyServlet.class);
    }

    protected void tearDown() {
    webserver.shutdown();
    }

    You can test using HttpUnit as usual, but it saves Tomcat deploys and
    you can also access objects in the servlet directly since you're in the
    same process.

    If your webapp isn't too complicated, you can also write a main()
    method to run your webapp without bothering with building a war file.
    - Brian

    To Post a message, send it to: extremeprogramming (AT) eGroups (DOT) com

    To Unsubscribe, send a blank message to: extremeprogramming-unsubscribe (AT) eGroups (DOT) com

    ad-free courtesy of objectmentor.com
    Yahoo! Groups Links

    <*To visit your group on the web, go to:

    <*To unsubscribe from this group, send an email to:
    extremeprogramming-unsubscribe (AT) yahoogroups (DOT) com

    <*Your use of Yahoo! Groups is subject to:
  • No.6 | | 552 bytes | |

    Mark Striebeck wrote:

    We used the same for development (JBoss, PostgreSQL, Phoenix, Tomcat).
    We included the setting up of the whole development environment in our
    ant scripts. I.e. to setup a new development machine, you only needed
    to checkout the code, set some environment parameters (mostly location
    of checked out CVS modules) and call 'ant rebuild'. That did
    everything for you.

    I put that here:

    http://www.c2.com/cgi/wiki?C

    'cause it was such a concise example to follow the definition.

Re: Lite-weight Software Development Environment


max 4000 letters.
Your nickname that display:
In order to stop the spam: 1 + 0 =
QUESTION ON "Development"

EMSDN.COM