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 :) declare dependancy on tapestry-ioc and tapestry hibernate there's an open ticket to enable using these two without tapestry-core, but for now youll have to add dependancy to tapestry-core too. The thing is you don't need whole TapestryModule :) in you module add this to public static void bind(ServiceBinder binder){ ... binder.bind(ClassNameLocator.class, ClassNameLocatorImpl.class); ... tapestry-hibernate needs ClassNameLocator to load all entities from a package to have your entities ready for use add to your module public void contributeHibernateEntityPackageManager(Configuration<String> configuration) { configuration.add("your.app.entities"); } in you main method run this: RegistryBuilder builder = new RegistryBuilder(); builder.add(MyModule.class); IOCUtilities.addDefaultModules(builder); registry = builder.build(); registry.performRegistryStartup(); and you have the registry ready... you can call registry.getService(YourService.class) te get any servise you need hope this helps... Davor Hrg On Dec 8, 2007 3:51 AM, Angelo Chen <[EMAIL PROTECTED]> wrote: > > Hi, > > Tapestry-hibernate works very well in my t5 app, now I have need to write > a > console app that will access the same hibernate data store, how to achieve > this? thanks. > > Angelo > -- > View this message in context: > http://www.nabble.com/T5%3A-Tapestry-hibernate-and-console-app-tf4965728.html#a14224872 > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >