> 1. Can I use primitive arguments and return types in remote  interface
methods?
Yes, but it may not work with JDK 1.3 (use 1.2.2 or 1.3.1).

> 2. As persistent fields?
Also yes.

> 3. As a primary key?
Must be a Java class as far as I remember (EJB 1.0/EJB 1.1).

Stefan

> -----Ursprungliche Nachricht-----
> Von: Boris Garbuzov [mailto:[EMAIL PROTECTED]]
> Gesendet: Sonntag, 24. Juni 2001 22:36
> An: [EMAIL PROTECTED]
> Betreff: [JBoss-user] who can state it clear about primitives?
> 
> 
> 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?
> 2. As persistent fields?
> 3. As a primary key and its subfields? 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).
> 
> --------------------------------

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to