Yeah, I knew about BeanInfo classes, but after using them for a while, I'm not too satisfied (usability). Of course I could write some code that produce a Deftemplate, but what I'm interested in is a solution that include JessDE working accordingly. That's why I was thinking about replacing the default Bean introspection mechanism, but I'm not even sure it would work for JessDE. Thanks again.
> From: [EMAIL PROTECTED]> To: [email protected]> Subject: Re: JESS: using > annotations> Date: Wed, 16 Jul 2008 10:04:27 -0400> > Jess 7.1 still supports > JDK 1.4, so annotations aren't available. > Future Jess versions will support > Java 5+ .> > I like the fact that Jess supports the JavaBeans spec; it's nice > to be > able to refer people to that for details. It's one less "invention" > > that needs to be maintained by us.> > It's not true, of course, that you're > restricted to following naming > conventions, as JavaBeans includes the > BeanInfo concept for describing > variances from the conventions.> > In any > case, the jess.Deftemplate class has a complete public API; > you should be > able write a Userfunction in Java which turned classes > into Deftemplates > following annotations using whatever scheme you > like. If you do this, and > describe it in our Wiki, then other people > could use it too!> > > On Jul > 15, 2008, at 11:54 PM, Skeptic 2000 wrote:> > >> > Hi,> >> > Have you > considered using annotations instead of naming scheme to > > create > deftemplates associated to shadow facts ?> >> > Do you think it would be > difficult thing to "hack" ?> >> > Thanks.> >> >> > > ---------------------------------------------------------> Ernest > Friedman-Hill> Informatics & Decision Sciences, Sandia National Laboratories> > PO Box 969, MS 9012, Livermore, CA 94550> http://www.jessrules.com> > > > > > > > --------------------------------------------------------------------> To > unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'> in > the BODY of a message to [EMAIL PROTECTED], NOT to the list> (use your own > address!) List problems? Notify [EMAIL PROTECTED]> > --------------------------------------------------------------------> _________________________________________________________________
