Hi Chris,

First of all, thank you very much for your interest for JOnAS.

The "deprecated method" message appears because we use the
rmic option -v1.1 to be able to propagate the transactionnal
context.
On JDK 1.1, we modify the RMI stubs and skels to add
for each request the transactionnal context.
On JDK 1.2, RMI stubs or skels are generics and we don't already
find a simple solution. That's why we force the option -v1.1.
(Notice, that's other EJB platforms (like Weblogic, ProSyst)
have their own RMI implementation.)

Best regards.
H�l�ne.


Chris McCarthy wrote:
> 
> I am using Jonas 2.0 with jvm version java version "1.2.1" Classic VM
> (build JDK-1.2.1, green threads, mipsjit).
> 
> When I run GenIC on my .xml file 4 deprecated methods are generated:
> 
> e.g.
> /....../JOnASMeterBeanMeter_Skel.java:535: Note: The method
> java.io.ObjectInput getInputStream() in interface
> java.rmi.server.RemoteCall has been deprecated.
>         java.io.ObjectInput in = call.getInputStream();
> 
> /.../JOnASMeterBeanMeter_Skel.java:30: Note: The constructor
> java.rmi.server.Operation(java.lang.String) has been deprecated.
>         new java.rmi.server.Operation("void remove()"),
> 
> When I switch off deprecations it works fine. Are these deprecations  a
> cause for concern ? Will the next version of JOnAS avoid using these
> deprecated methods ?.
> 
> Regards,
> ..Chris.
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".

-- 
-=- H�l�ne JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  mailto:[EMAIL PROTECTED]    http://www-frec.bull.com
  Phone: 33.4.76.29.73.53          Fax: 33.4.76.29.76.00
 Download our EJB Server JOnAS at http://www.bullsoft.com/ejb
_______________________________________________________________
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to