War files are pretty much the standard.  If you don't know how to deal with
one, go read a book on the container of your choice and it will tell you how
to set one up.  Pretty much all IDEs at this point have support for all the
major containers, and most people these days are using one of the IDEs, even
ME! (I only gave up vim and ant a year ago).  I think part of the thing that
made Freddy's book good was that it didn't spend chapters and chapters
detailing the inner workings of Tomcat or Jetty or any other container, or
explaining web.xml.  It just assumed you knew how to deploy a web app.  It
also assumed basic knowledge of JSP and JSTL.  It stated that this was the
assumption, and if you are a newbie, you could have read that and gone and
picked up a book on JSP which also would have told you how to build a war
file probably.

When I want someone to run my life for me without giving me any flexibility
I'll endure maven again  (why use a tool where you need to install the ant
plugin to get anything useful done when you can just use ant to start
with).  I expect the apocalypse will come first.  I want a build tool that
makes my life easier, maven dramatically fails on this one.  Until recently
there weren't any books and the online documentation for anything but the
most straightforward usage is non-existant.

If you want good maven support, use IntelliJ, infact I highly recommend that
if you haven't you check out IntelliJ, I was turned on to it by a colleage
and was surprised that I found myself shelling out the greenbacks to buy it
less than 30 days later.  8.0 has a few quirks yet to iron out, but is
generally pretty awesome.  Plus there is a Stripes plugin for it!  I have
heard a rumour that Oracle's JDeveloper is good too, but I fear the range of
plugins would be limited, and I haven't checked it out as yet due to a
looming deadline.

Alex

On Tue, Nov 18, 2008 at 2:13 AM, Will Hartung <[EMAIL PROTECTED]>wrote:

>
> On Nov 17, 2008, at 2:11 PM, Oscar Westra van Holthe - Kind wrote:
>
> > Now I don't know about other's experiences, but in my case: when I
> > was a
> > newbie I was told that for web development I needed two things:
> > 1. an application
> > 2. an aplpication server
> > 2a. Deployment consists of copying one file
>
> I don't know what the big deal is about not simply creating a WAR
> file and deploying that, since pretty much every container on the
> planet will deploy that with a simple copy.
>
> If you want to add container specific task to the build, then,
> ok...sure. But the WAR is pretty much the de riguer deployment
> mechanism for web apps, and it's well documented on how to deploy it.
> Newbie or not, the user is going to have to have some understanding
> of the WAR format, and notably web.xml, in order be at all successful
> with the platform.
>
> Also, most any "Get started with Java Web apps" articles dating later
> than 1998 will be using the WAR format as well, so there's no
> confusion for the new user who tend to "mash up" documentation and
> tutorials.
>
> The fact that you create Eclipse and Netbeans projects makes the
> deployment details even less of an issue, as now they're a button
> click and all behind the scenes.
>
> The "fast restart"/"dynamic reloading" aspects that many containers
> support (notably with exploded WAR files) is obviously quite
> container specific, but clearly they're desirable for the second
> effort after the user has "mastered" the WAR, but I don't know if
> that's really necessary for a Quick Start type of script.
>
> Next, we just need a quick start script that takes a JDBC driver, and
> connection info and spits out a CRUD app for every table it finds :-).
>
> But I applaud Freddy's effort, as I think it can helps folks and
> promote best practice at the same time.
>
> Regards,
>
> Will Hartung
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to