Hi, Scott.
Actually, LoginService amd ProfileService is not required to have the
@DataType(name = "commonj.sdo.DataObject") because both interfaces only deal
with simple java types.
You should only apply @DataType to interfaces used by SCDL "interface.xxx"
elements. Interfaces generated by SDO to reprepresent the data is not
involved.
Thanks,
Raymond
----- Original Message -----
From: "Scott Kurz" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, November 09, 2006 7:42 AM
Subject: @DataType annotations in BigBank
Why does the annotation:
@DataType(name = "commonj.sdo.DataObject")
appear on both the LoginService and ProfileService interfaces in the
BIgBank
sample, while it is commented out in the StockQuoteService? These
services
do not involve actual SDO DataTypes, right?
It seems that it should be only needed on the AccountReport type which
would
be generated from a wsdl2java.
Was it an oversight to leave this in? A best practice which has no real
effect? Or is this accomplishing something I'm missing?
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]