Boris Garbuzov wrote:
> I think, it is time to ask a final answer about usage of primitives. In RMI it was
> not clear too. I read, I can not use them in remote interfaces with rmiregistry, but
> in practice it worked, and other people confirmed it. If it depends on
> implementation, let us just talk about JBoss.
> 1. Can I use primitive arguments and return types in remote interface methods?
Yes. Note that there are other things that will make the JBoss verifyer
complain about your interfaces (not throwing RemoteException, etc.)
> 2. As persistent fields?
Yes. Unless it is possible for the mapped column to be null.
> 3. As a primary key and its subfields?
No. Not at all.
And what would be an XML tag if yes? Does the
> tag <prim-key-type> exist? (it was a recommendation of my EJB course instructor,
> perhaps it exists in Orion).
>
-danch
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user