Hi Gerard, You are defintely on the right track ... :-)
Regarding how to initialize Torque ======================================================== import org.apache.commons.configuration.Configuration; import org.apache.commons.configuration.ConfigurationConverter; import org.apache.torque.Torque; Properties props = new Properties(); InputStream is = getClass().getResourceAsStream( "/Torque.properties" ); props.load( is ); Torque.init( ConfigurationConverter.getConfiguration(props) ); Regarding Turbine ======================================================== Turbine comes with an Torque integration already. The main benefit would be that Turbine uses a service approach and thinking of services is a powerful way to look at an application but this is not confined to Turbine. Cheers, Siegfried Goeschl -----Original Message----- From: Gerhard Otte [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 07. Juli 2004 10:00 To: [EMAIL PROTECTED] Subject: Torque, axis and turbine Hello ! We are using torque in our warehouse application (Swing) and are very happy with it. Parts of our business logic should now be available via web service to java and visual basic clients and whoever may be there in the future. I successfully installed axis/tomcat 5.0.25 and pocketSOAP (visual basic) and can connect to simple java objets. But now it comes down to the database layer. Of cousre I want to reuse the existing torque om model. I have taken a look at the turbine web site and it seems to be the kind of tool searching for. I have two questions: - I'm looking for how to initialize torque correctly in a web application. - What would be the benefits of using turbine; ist it possible to integrate the existing torque model into turbine ? Regards Gerhard Otte __ mailto:[EMAIL PROTECTED] emediapark GmbH http://www.emediapark.de Tel:+49 (0)941 630804-2 Fax:-9 Hemauerstr.14,93047 Regensburg,Germany --------------------------------------------------------------------- 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]
