Re: suggestion
"Howard M. Lewis Ship" <[email protected]>
| Newsgroups | gmane.comp.java.tapestry.devel |
|---|---|
| Message-ID | <02eb01c29407$cea30fb0$3dc41e42@howardczkz2sl3> |
I've given some thought to a declarative persistance model. Interestingly, I've also learned the bytecode tricks necessary to fill in abstract methods, much like a CMP Entity EJB. But this isn't even on the radar yet ... your IDE can create your getters and setters and you can fill in the extra (if necesasary, I think Spindle can even do that for you). ----- Original Message ----- From: "julien viet" <[email protected]> To: <[email protected]> Sent: Sunday, November 24, 2002 11:55 AM Subject: suggestion > Hello howard, > > I've been playing aroud with tapestry and I was > wondering : > > a page use properties that are setup when it's used > and removed after (with detach method) > > that would be possible to use the same kind of things > that are used in EJBs impl. : abstract setters and getters. > > instead of : > > private Object property; > public Object getProperty() { return property; } > public void setProperty(Object property) { this.property = property; } > public void detach() { super.detach(); property = null; } > > have that : > > public Object getProperty(); > public void setProperty(Object property); > > and have subclass taking care of all. > > I believe that would simplify pages. > > any thoughts ? > > -- > Best regards, > julien mailto:[email protected] > > ___________________________________________________________ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! > Yahoo! Mail : http://fr.mail.yahoo.com > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf