I want to use the following name patttern:

Entity bean:
Domain name + 'EntityBean'

Value object:
Domain name  (only)

Example

Domain name: Organization

Bean impl:          OrganizationEntityBean
Local Home:       OrganizationEntityLocalHome
Local interface:   OrganizationEntityLocal
Primary Key:     OrganizationKey
Value object:     Organization

I think I have figured out how to get everything as I want but not the
Value Object name.
I seems like there is no way to get rid of the  'Value' postfix.


The reason for this (my) name pattern is that the Entity bean is only a
persistence mechanism that occasionally is replaced by something else.

Value objects, by the other hand, is used vertically in all layers and
have a longer lifetime. Therefore they are more suitable if you want to
realize a domain model.

Regards
Lars Hagrot






-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to