I would like to make some additions to the turbine/jboss howto and would
like the lists opinions on my proposed additions.
I am using session beans to encapsulate the logic of selects, inserts,
updates and deletes. One session bean is defined for each table (similar to
a peer). This session bean will return the Vectors and Hashmaps(single row
queries) when it's (select, insert, update, delete) methods are called. I
have used Velocity Actions with this system in a way similar to the peers
example in the TDK, and I instantiate the session bean and call the
appropriate session bean method (insert, delete...) from within the methods
in the Action class. I populate the Velocity context with the data that is
returned and process the data with Velocity Templates.
This system is basically the same as the example in the TDK that uses peers,
except I substitute the session bean for the peers class.
My question is: Would this method of using Turbine with JBoss be acceptable
for the howto? (IS IT ACCEPTABLE DESIGN?)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]