I tried using this example and found it a bit too simple for me to actually use. It may be that my understanding of all the .something files is getting in the way, but I tried to model the Turbine MerlinComponentService on this example and got nowhere.
Has anyone actually used Merlin in a webapp in something more complex then the sample app? Some of the questions I am hoping are answered in the real world are: 1) Did you store all your repository stuff in user.home etc where Merlin by default puts things? 2) Can you instead store everything in /web-inf/someplace? 3) Did the tomcat classloader interfere with the merlin classloaders? I have definitly been thrashing a bit trying to get Merlin properly configured in a .WAR file. I can see how Merlin works as the entity starting everything else up, but if I just want a container, and I'm willing to include everything on my classpath (ie /WEB-INF/lib and /WEB-INF/classes), how do I use Merlin... Eric > -----Original Message----- > From: Farr, Aaron [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 04, 2004 10:25 PM > To: 'Avalon framework users' > Subject: RE: Webapp example > > > > > > -----Original Message----- > > From: Vikas Phonsa [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, February 04, 2004 4:15 PM > > To: 'Avalon framework users' > > Subject: Webapp example > > > > Hi Guys, > > > > Thanks for your answers to my previous post. > > > > Does any body has an example web application which has > Merlin embedded > > into > > it, using tomcat or whatever. > > > > > > > > Thanks > > > > Vikas > > There's an example of embedding merlin in a servlet and > putting the kernel > in the ServiceContext in CVS: > > http://cvs.apache.org/viewcvs.cgi/avalon/merlin/kernel/servlet/ > > and > > http://cvs.apache.org/viewcvs.cgi/*checkout*/avalon/merlin/ker nel/servlet/sr c/java/org/apache/avalon/merlin/servlet/MerlinServlet.java J. Aaron Farr SONY ELECTRONICS DDP-CIM (724) 696-7653 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]