beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kyle Marvin <kylemar...@gmail.com>
Subject Re: Role of .ser file in WSM
Date Wed, 08 Jun 2005 21:33:50 GMT
On 6/8/05, Daryoush Mehrtash <dmehrtas@bea.com> wrote:
> 
> .ser file exist for one reason and one reason only.  JSR 181  says that
> name of a @WebParam by default is:
> 
> 
> 
> Name of the parameter as it appears in the argument list.
> 
> 
> 
> The issue is that this name gets lost after the class is compiled.   The
> original WSM was based on Reflection that there was no Serialized file.
> 
> 
> 
> 
> An alternative solution is to require the JWS files to be compiled with
> Debug option which preserves the argument names.
> 
> 
> 
> Is it needed?  Well it depends on your preferred method to get the
> argument name:  require the user to compile its JWS in debug, or keep
> the serialized file.  Is there a third option?
> 

The Controls runtime stores method parameter names into generated code
associated with the original interface.   These names are used to
support named argument lookup during extensible method invocation.

Mime
View raw message