Hi, to use tapestry-ioc in a simple app, you don't even need tomcat or any web container.
there are definitive advantages of using tapestry ioc in a small app. If you want separate concerns in your app, you need granularity, and have a class(service in tapestry terms) for each task. One of the first reasons why I (and probably many other) sometimes put too much code into a single Main class is that connecting more than few classes is tiresome and often gets clumsy while trying to get it done too fast. IOC container (I simply like tapetry-ioc, like hivemind before it..) helps simplify putting peaces together and makes separating code into meaningful peaces more attractive. please clarify a bit #3... I had to build a web service, and used Axis for it. then I built a small servlet to start tapestry ioc. since I did not need tapestry web part I've started the registry manualy. Davor Hrg On Dec 9, 2007 11:07 PM, Angelo Chen < [EMAIL PROTECTED]> wrote: > > Hi Davor, > > That's a good idea, I don't know that we can use Tapestry ioc in non web > app, now it's really cool, questions: > > 1. The app has to be in tomcat server, not in workstation, right? > 2. What is the advantages of using tapestry-ioc in a non web app? > 3. it will be nice if you can give a simple project, let's say, to > continue > from the Tapestry-hibernate tutorial, just another project that list all > the > messages entered by the user, that will be a great help to understand this > > non-web T5 app. > > Thanks, > > A.C. > > > Davor Hrg wrote: > > > > Hi, > > > > if you don't need tapestry web part, > > or in other words if you just want tapestry-ioc > > plus tapestry hibernate: > > > > here are simple steps to do it (with maven :) ). > > this is how I made it work, any suggestions are welcome :) > > > > > > -- > View this message in context: > http://www.nabble.com/T5%3A-Tapestry-hibernate-and-console-app-tp14224872p14243862.html > > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >