tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Price <epr...@ptc.com>
Subject Re: extending beans?
Date Tue, 29 Apr 2003 18:52:45 GMT


Andoni wrote:

> 1. can a bean extent another bean?

Sure.

> 2. can a session scoped bean extend an application scoped bean?

I thought that a bean's scope is defined when it is instantiated, in the 
JSP, not in the class.  So when you extend a bean with another class, 
you have no idea of the scope at that time.  So, to answer the question, 
  I would assume so.


Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message