Ionel GARDAIS wrote:
Ant let's keep it this way. Any questions related to xdoclet should beThanks for your clear and useful answer in the mailing list.
asked on the list and not on private mail. That way, anyone can learn
from the answer.
Not today. Konstantin has written a Session Faade template thatAs you seem to be an XDoclet master ;o), can I ask you a few question about this tool ? The first development I did on ejb was made "by hand", writing all beans, interfaces and various descriptors by myself. I implemented an "session facade pattern" to access the CMP beans. To achieve this, i built factories, utilities and value object. Xdoclet seems to provide tags that generate a facade bean for each Entity Bean. Is it possible to generate a unique facade that handles all calls from clients to the Entity beans ?
generate a faade for each entity bean. There is no "catch all" faade
task yet.
However, nothing stops you from writing your own template for this.
XDoclet template language is not that hard -- take a look at existing
templates and maybe you can roll your own.
DAO is a Data Access Object. It's a class that takes care of allAlso, I don't really understand the difference between a DAO, a data-object and a value-object.
database-related work, usually associated wiht a BMP Entity Bean. The
Bean delegats all DB calls (ejbStore(), ejbLoad(), etc) to the DAO.
Data Objects and Value Objects are the same thing. It's a "data transfer
object", a simple java object that has the same (or a subset) properties
as an entity bean, and it's used for bulk properties change and data
transfer.
Data Objects is how they used to be called on old xdoclet versions.
Value Objects are an updated version of data objects, available from
1.1.2 and beyond. Data objects will be removed after 1.2 is released.
Thanks for your help,While we don't have decent documentation, I'm glad to help as many
ionel
people as needed. Remember to always post your questions to the mailing
lists, and check the archives before you post.
Never ask questions in private mail, unless it's really a private
subject. Posting to the mailing list will help you and many other people.
--
Marcus Brito <[EMAIL PROTECTED]>
+zf+,좷o!QD,kudk^jejym'y˫܂'$QDk^I"'^jw_wm槳\.ǜ+,!lqz܂&v*reMz|]^f)+-nlqzm?X(~zwXb?n