turbine-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stuart Townhill" <stu...@townhill.net>
Subject Question - Extended User HowTo
Date Thu, 06 Feb 2003 22:54:43 GMT
To anyone who can help,
 
Am I right in thinking that the HowTo located at:
 
http://jakarta.apache.org/turbine/turbine-2.2.0/howto/extend-user-howto.
html
 
Applies to TDK2.1 and not TDK2.2 in the sense that Torque had now been
decoupled?
 
For example the "TurbineMapBuilderAdapter":
 
import org.apache.turbine.services.db.TurbineDB;
import org.apache.turbine.util.db.map.TableMap;
import org.apache.turbine.util.db.map.TurbineMapBuilder;
 
would become:
import org.apache.torque.Torque;
import org.apache.torque.map.TableMap;
import org.apache.turbine.util.db.map.TurbineMapBuilder;
 
 
Secondly when the HowTo talks about implementing
"TurbineMapBuilderAdapter, TurbineUserAdapter & TurbineUserPeerAdapter"
I am presuming this means:
 
TurbineMapBuilderAdapter
<root>/WEB-INF/classes/<org>/<mycompany>/<myapp>/om/map/
TurbineMapBuilderAdapter.class
 
TurbineUserAdapter
<root>/WEB-INF/classes/<org>/<mycompany>/<myapp>/om/
TurbineUserAdapter.class
 
TurbineUserPeerAdapter 
<root>/WEB-INF/classes/<org>/<mycompany>/<myapp>/om/
TurbineUserPeerAdapter.class
 
And once I have edited "<myapp>-schema.xml & turbine-schema.xml" and
created the above files and executed the command 'ant init' it will
create all the relevant *.java files in the (<root>/WEB-INF/src/...)
directory and rebuild the database.
 
Any help in clarifying this process would be much appreciated.
 
Regards,
 
Stuart Townhill.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message