>> Chris found it to be quite important - because it defines the
initial
>> impresion
>> the user gets about the application. this is all about having the
>> first screen
>> appear to draw quickly.
>
> I'd personally say, the pre-compilation is not really that
important,
>
> Yeah, I remember these discussions on the mailing list some time
ago.
> I understand the goal is a very easy installation of geoserver and
> that even includes an embeded servlet engine (jetty?).
>
Me too - only I think we are starting to get different directions for
the "easy install" goal
Path 1) geoserver.war with instructions to drop in your servlet
container
Path 2) embeded (jetty?) with ant script to start/stop (can't tell if
this is a binary or source environment)
Path 2 may be targeted at new geoserver developers?
Sorry for the confusion over path 2. I would say path 2 is currently
targeted at new geoserver developers, but it's also where I'm figuring
out to do a real easy binary install. So for now it's just the source
environment, and probably will be until 1.2.1, and I don't really
expect that many people to use it. But relatively soon I will do a
binary release with jetty, and include it as one of the download
options. There will be one for linux with a shell script, and
eventually one for windows with an install shield. The idea behind
both being to skip the one still annoying step of the war install 'get
a servlet container'. They will have their own build tasks, which will
not include the full source tree, probably just a conf directory, maybe
some docs, the app, and the embedded jetty. The war will still be
distributed, for users who know already have the servlet container they
like. And the source will have it all, where you can build what you'd
like.
Then we have a different issue - the intial impression of the Web
based
user interface.
Out of the box on resin things look pretty bad for the very first
page
load - the screen updates as different tiles compile and run. Chris
put
a quick stop to this one and asked for a precompile - which we could
not
figure out how to do. The JSPCompiler is the solution - it basically
walks the application on the very first startup offering an
indication
of progress. When the first page comes up after that - everything
looks
and acts quickly.
Yes, I think the JSPCompiler is a great solution, and I still very much
believe in the importance of a precompile. If you're downloading the
war for evaluation and the web interface just crawls along (like it
does without precompilation) then you're much more likely to just move
on, try something else or wait until a faster version comes out.
In the course of normal development I usually just start from the
Login.do page and duck the JSPCompiler. The JSPCompiler is all about
end user experience - and adds time to the compile edit debug cycle.
Yeah, I do the same. And one option is to tell tomcat users to just use
the Login.do page. Though fixing it for real would be nice.
There is an Eclipse resin project type that offers intergration with
the
resin precompiler - but really any precompile will do. The trick is
we
cannot ship the result in the final geoserver.war for Path 1 (Path 2
may
be done).
I hope this helps everyone make sense of this issue. We have three
things going on at once:
1) Two Paths for a "easy installation"
2) A User experience problem solved by JSPCompiler
3) A need to check that JSP pages actually compile
Good summary Jody. And I personally think we should eventually live
with two paths for 'easy installation', some people will want the war
with their servlet container, some won't care. If it becomes a bitch
to support both we can just see which one people like more and point
others to the source.
Chris
Jody
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/