anita kulshreshtha wrote:
      IMHO, We should divide our efforts according to
the following target audience:
1. Beginers : I would like university students to
download G to learn JSP, Servlets, EJBs and Web
Sevices. The apps should be predeployed in G, so that
they can be run by clicking the 'start' button. We
should develop one EJB and one Web Services example
following the Tomcat JSP/Servlets examples. These
examples should not have anything specific to Geronimo
or Web Container and should demonstrate the
technology, one concept at a time. 2. Expert Users : Provide a fairly complex example,
which is ready to be built and illustrates how a good
J2EE app should be written. This example should be
interactive and should demonstrate Geronimo specific
concepts.
Thanks
Anita


+1, though would like to limit the samples to only a few small applications that are easy to remove (servlet/JSP, EJB, and possibly a web service). Don't want users (especially those that plan to embed the technology) spending much time removing samples. I suspect the installer will account for this by allowing the samples to be selectable. Though we need to make sure the binary distributions also allow for easy removal of these default samples.

So, category 2 would encompass what you have described and all other samples that don't fall into category 1.

The additional samples (ongoing list) should reside on the Wiki.. similar to the migration articles/samples tha Hernan is setting up..

Do you have any simple EJB or Web Services examples available?

Also, in addition to the sample list that we've identified in earlier conversations. There are struts examples (available in the struts download) that seem to be structured similar to the tomcat samples. Suspect these should not be installed by default but rather made available on the wiki for easy download and deployment.

Thanks
-Dave-


--- Dave Colasurdo <[EMAIL PROTECTED]> wrote:


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
:>)


    Jetty users are familiar with these examples : see
http://jetty.mortbay.org/jetty/demoWebApps.html


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/






        
                
__________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com


Reply via email to