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?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!border2.nntp.ams.giganews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail
NNTP-Posting-Date Sat, 26 Jul 2014 13:24:47 -0500
Date Sat, 26 Jul 2014 19:24:45 +0100
From lipska the kat <lipskathekat@example.com>
Organization Trollbusters 3
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4
MIME-Version 1.0
Newsgroups comp.lang.java.programmer
Subject Re: why use maven to deploy a servlet?
References <1e117fb1-b031-45c3-925e-a469ef9b046c@googlegroups.com>
In-Reply-To <1e117fb1-b031-45c3-925e-a469ef9b046c@googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 8bit
Message-ID <D66dnZ-I-Onyb07OnZ2dnUVZ8sydnZ2d@bt.com> (permalink)
Lines 35
X-Usenet-Provider http://www.giganews.com
X-AuthenticatedUsername NoAuthUser
X-Trace sv3-ABysoGwgqJBhLQ1zu4aA9bUUh9EWaYHS6HZDQsSO47SSdWFhoJoT0IbSlexKH8W4RA5vuLgF6uNU010!CoLDF/dvi2Ixbpzj8rs6aQzx0hMAvEwz3xL8e2UVXPuiOT1Kvz7CQNw33YAVfwsSIa3HKuxWLOo=
X-Complaints-To abuse@btinternet.com
X-DMCA-Complaints-To abuse@btinternet.com
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 2891
Xref csiph.com comp.lang.java.programmer:29347

Show key headers only | 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