thanks marcus and colin.

i think that i almost have it going, but i have 2 questions:

1.  what's the difference between a value object and a data object? 
(sorry, i'm a bit rusty.)

2.  when you generate your ejb files, do you specify a separate source 
directory (i.e. "src_gen")
         from the source directory where your non-generated files are (i.e. 
"src")?  i'm facing the
         problem where a .java file in "src" needs to use a file generated 
in "src_gen", but a .java
         file in "src_gen" implements an interface defined in "src" (i 
can't move this interface to
         "src_gen".  it's the classic chicken-and-egg problem - which comes 
first.  should i have
         the ejb files generated to my "src" directory so that generated 
and non-generated .java
         source files are all compiled together, thus resolving the dependency problem?


thank you.




At 08:10 02/09/20 -0300, you wrote:
>tek1 wrote:
>
>>i must first apologize for this question since it's been a while since 
>>i've worked with ejb's, but...
>>how do you obtain the XXXData object when making a local client call?
>
>calling the getData() on the bean. For this method to be generated, you 
>need to define it as an abstract method on your bean -- the generated CMP 
>layer will include the code to make getData() works.
>
>BTW: you should be using Value Objects... you should be using Value 
>Objects... you should be using Value Objects...
>
>--
>MB
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to