Hi Pat, The example was built on Jetspeed 1.3a2 and is valid for that release. I have not been keeping up with Jetspeed development lately so I cannot say whether it is still valid at this time.
In the Task List example, the portlet itself does not access the database directly. It uses the Task List server interface to access the task list. The JDBC implementation of the Task List server interface makes JDBC calls directly and does not use Turbine or Torque to access the database. It uses Turbine to access the properties file, which resolve webapp.dir, to get to the URL of the database. The class HypersonicSQLJdbcTaskServer loads the HypersonicSQL JDBC driver. Hope this helps. Marvin -----Original Message----- From: Pat Ryan [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 12:33 PM To: Jetspeed Users List Subject: tasklist example question >From the JetSpeed site there is a tutorial that talks about a tasklist example. In example it says that from the JetSpeedResource.properties file you can include another properties file like: include = TaskListResources-JDBC.properties In this file you would have things like: # Service configurator class tasklist.impl.class=org.apache.jetspeed.modules.actions.portlets.JdbcService Configurator # Database properties for JDBC type tasklist.database.url=jdbc:HypersonicSQL:${webapp.dir}/WEB-INF/taskdb/hsql/t asklist tasklist.database.user=sa tasklist.database.password= Is this still a valid example? If it is, how is the driver specified? How then would you access this in your portlet? Thanks Pat Thanks Pat -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
