Planning to update the Welcome page to contain a section for Examples
Something like:
Geronimo Examples
- Servlet examples
- JSP examples
- EJB examples (coming soon)
A few questions..
As you know, the Servlet and JSP examples are from Tomcat..
Should/can/must we provide credit to Tomcat on this page (e.g. Servlet
examples - courtesy of Apache Tomcat)? This may seem strange to the
user if they have selected the Jetty web container :>)
The servlet/JSP examples are already part of the Tomcat binary
distributions (from the Apache Jakarta Tomcat website). I've taken the
expanded wars from the resulting installation and ZIPed them into war
files and installed them on geronimo. There was one minor tweak in
web.xml to remove a LF character that was choking the g deployer.. So,
finally to my question.. How should we package this in the geronimo
source tree?
1) Checkin the war files and have the build process deploy it in the
binaries. For the installer distribution, I assume there should be no
predeployment at build time but rather just include the wars in the
image so that the installer can conditionally install it.
2) Check in to the source tree as an unexploded war and have the build
process pkg it up and deploy it. Same story as above for the installer.
Lastly, the tomcat examples obviously do not contain any geronimo unique
deployment information. Are there a few simple deployment attributes
that we should showcase in the examples? Which ones?
-Dave-
Bruce Snyder wrote:
On 10/12/05, Dain Sundstrom <[EMAIL PROTECTED]> wrote:
Good point. Do you want to take a crack at creating some better
examples?
I'll look into this.. Also, can someone help clarify the line
between reusing open source and providing unique project identity.
Basically, I'm wondering if it makes any sense to reuse the Tomcat
examples (along with a few small additional enhancements (e.g.
EJBs) as the default sample that gets installed with geronimo. Or
is it better to create our own Geronimo unique sample?
Normally, I would say let's make our own, but Tomcat is the Apache
platform closest to Geronimo, so I think it would be cool to reuse
their examples as it would make the massive number of Tomcat users
feel at home in Geronimo.
+1 - Build upon the Tomcat examples where possible for the exact
reason Dain states above.
Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
The Castor Project
http://www.castor.org/
Apache Geronimo
http://geronimo.apache.org/