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?

here are the xdoclet-generated files that i'm working with for a "User" class:

UserCMP.java
UserData.java
UserHome.java
UserLocal.java
UserLocalHome.java
UserPK.java
UserRemote.java
UserUtil.java


is this the correct way?

UserLocalHome home = UserUtil.getLocalHome();
UserLocal local = home.findByPrimaryKey( new UserPK("123") );
UserData data = new UserData(local.getId(), local.getPw(), ... );

or is there an easier/more efficient way?

thank you. 



-------------------------------------------------------
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