Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #29347

Re: why use maven to deploy a servlet?

Date 2014-07-26 19:24 +0100
From lipska the kat <lipskathekat@example.com>
Organization Trollbusters 3
Newsgroups comp.lang.java.programmer
Subject Re: why use maven to deploy a servlet?
References <1e117fb1-b031-45c3-925e-a469ef9b046c@googlegroups.com>
Message-ID <D66dnZ-I-Onyb07OnZ2dnUVZ8sydnZ2d@bt.com> (permalink)

Show all headers | View raw


On 25/07/14 16:45, www wrote:
> Hi:
> I am learning Java Servlet using Eclipse(Java EE). Normally, after I finish writing the servlet code, I just export to a WAR file by a couple clicks and deploy it to Tomcat. However, I saw some people using maven doing it. I intend to take the opportunity to learn maven. However, I don't get why bothering using maven. It seems a drag.
>
> http://sureshatt.blogspot.com/2011/05/eclipse-maven-dynamic-web-project.html
>
> Thank you.
>

Well now let's see.
So far we have 'use maven because an IDE is unprofessional'

This is complete bollocks of course and absolutely typical of the
kind of rubbish spouted by 'consultants' trying to justify their hourly 
rate (for example).

The 'professional' way to do it is to use some source control mechanism 
(I use GIT) and have a build master. The build master is responsible for 
maintaining and deploying the test, staging and live versions of your 
application. If he wants to use maven then great, Ant does the job 
without all the network traffic nonsense you get with maven.

To say that using an IDE to package and deploy your application is 
unprofessional is also an example of the the usual kind of crap and 
misinformation often spouted by the 'experts' on this list.

Use what ever works for you and save your energy to focus on the quality 
of your code ... *much* more important that using the latest greatest tool.

Just my 2 euros worth.

-- 
Lipska the Kat©: Troll hunter, sandbox destroyer,
treacherous feline and farscape dreamer of Aeryn Sun
GNU/Linux user #560883 - http://www.linuxcounter.net

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

why use maven to deploy a servlet? www <xsli2@yahoo.com> - 2014-07-25 08:45 -0700
  Re: why use maven to deploy a servlet? Joerg Meier <joergmmeier@arcor.de> - 2014-07-25 19:36 +0200
    Re: why use maven to deploy a servlet? Arne Vajhøj <arne@vajhoej.dk> - 2014-07-25 21:16 -0400
      Re: why use maven to deploy a servlet? Joerg Meier <joergmmeier@arcor.de> - 2014-07-26 14:31 +0200
        Re: why use maven to deploy a servlet? Arne Vajhøj <arne@vajhoej.dk> - 2014-07-26 10:07 -0400
    Re: why use maven to deploy a servlet? Donkey Hottie <donkey@fredriksson.dy.fi> - 2014-08-02 21:54 +0300
  Re: why use maven to deploy a servlet? lipska the kat <lipskathekat@example.com> - 2014-07-26 19:24 +0100
    Re: why use maven to deploy a servlet? Joerg Meier <joergmmeier@arcor.de> - 2014-07-26 21:34 +0200
      Re: why use maven to deploy a servlet? lipska the kat <lipskathekat@example.com> - 2014-07-26 21:11 +0100
        Re: why use maven to deploy a servlet? Joerg Meier <joergmmeier@arcor.de> - 2014-07-27 00:32 +0200
          Re: why use maven to deploy a servlet? lipska the kat <lipskathekat@example.com> - 2014-07-27 08:28 +0100
            Re: why use maven to deploy a servlet? Joerg Meier <joergmmeier@arcor.de> - 2014-07-28 23:06 +0200
              Re: why use maven to deploy a servlet? lipska the kat <lipskathekat@example.com> - 2014-07-29 08:42 +0100
  Re: why use maven to deploy a servlet? Joerg Meier <joergmmeier@arcor.de> - 2014-07-26 21:41 +0200

csiph-web