[mailed it direct again <sigh>, I wish they'd fix this mailing lists
Reply-To]
John Zukowski wrote:
> But instantiate does exactly what they want.
>
> It looks for bean/Bean.ser first. If not found, calls no arg
constructor.
I never use it, and never knew what the difference was - you learn
something new
every day!
I'll have to include that in my examples, so the questions is then, it
doesn't work
but it is supposed to, so how come it doesn't work? If it is the default
behaviour
of the JVM?
This is a very cool idea, as it could allow for an editor to allow for
setting
default values for beans. Meaning that certain aspects of a deployment
could be
easily configured - much as EJB is (but EJB uses XML).
But Bob Foster also says this:
>>I'd like useBean to instantiate a serialized bean instance
>In the draft of the JSP 1.0 spec I have, under the description of
useBean:
>"The attribute beanName is the name of a Bean, as specified in the Bean
>specification for an argument to Beans.instantiate(). I.e. it is of the
>form "a.b.c", which may be either a class, or the name of a resource of
the
>form "a/b/c.ser" that will be resolved in the current ClassLoader."
I just checked thru mine (dated April 29, 1999) and I couldn't find that
paragraph
- where does it say it Bob? Or is that a different spec? (i.e. is there
a newer one
I should be working off?)
--
Richard Vowles, Senior Systems Engineer,
Brocker Professional Services, New Zealand Inprise Distributor
MAIL: [EMAIL PROTECTED], [EMAIL PROTECTED]
HTTP: http://www.esperanto.org.nz
[my messages contain my own opinions, not those of my employer]
--
Richard Vowles, Senior Systems Engineer,
Brocker Professional Services, New Zealand Inprise Distributor
MAIL: [EMAIL PROTECTED], [EMAIL PROTECTED]
HTTP: http://www.esperanto.org.nz
[my messages contain my own opinions, not those of my employer]
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".