[rules-users] Get compiled Java Code of Rules

Markus Helbig mhelbig81 at googlemail.com
Thu Nov 29 03:33:48 EST 2007


I decompiled the class files, but there's sth curious in the Constant
Pool there is an invalid TagValue it is 97, it occurs in the
*ReturnValueInvoker Classes any idea what's 97 (or it should be mapped
to)?

valid types are (as far as i know):

CONSTANT_Class 	7
CONSTANT_Fieldref 	9
CONSTANT_Methodref 	10
CONSTANT_InterfaceMethodref 	11
CONSTANT_String 	8
CONSTANT_Integer 	3
CONSTANT_Float 	4
CONSTANT_Long 	5
CONSTANT_Double 	6
CONSTANT_NameAndType 	12
CONSTANT_Utf8 	1

Cheers

Markus

2007/11/29, Markus Helbig <mhelbig81 at googlemail.com>:
> now i tried Mark's suggestion but this is also just bytecode i get ...
> ok with byte code it would be possible to decompile ...
>
> Cheers
>
> Markus
>
> 2007/11/28, Darko IVANCAN <ivancan at gmx.de>:
> > Hi,
> >
> > Obviously Mark's suggestion is better.
> >
> > Anyway: Seen, that the BRMS gives you a package (as .pkg) and the
> > RuleAgents can load those files and Packages are Serializable, I think
> > you want to investigate also in this possibility, by looking how current
> > DRools code is doing this job.
> >
> > Darko
> >
> > On 28/11/2007 16:00, Markus Helbig wrote:
> > > that's right, but can you read bytecode? Or is there a way to
> > > serialize into pure Java Code,
> > >
> > > i think i'll try the way Mark provided ...
> > >
> > > Cheers
> > >
> > > Markus
> > >
> > > 2007/11/28, Darko IVANCAN <ivancan at gmx.de>:
> > >
> > >> Hi,
> > >>
> > >> The package can be serialized. See manual: deployment options.
> > >> The package can also be downloaded from the BRMS.
> > >>
> > >> Hope this helps,
> > >> Darko Ivancan
> > >>
> > >> On 28/11/2007 13:58, Markus Helbig wrote:
> > >>
> > >>> Hi,
> > >>>
> > >>> is there any possibility to get the compiled java code of the rules
> > >>> ... could be helpful for several reasons ...
> > >>>
> > >>> Cheers
> > >>>
> > >>> Markus
> > >>> _______________________________________________
> > >>> rules-users mailing list
> > >>> rules-users at lists.jboss.org
> > >>> https://lists.jboss.org/mailman/listinfo/rules-users
> > >>>
> > >>>
> > >>>
> > >>>
> > >> _______________________________________________
> > >> rules-users mailing list
> > >> rules-users at lists.jboss.org
> > >> https://lists.jboss.org/mailman/listinfo/rules-users
> > >>
> > >>
> > > _______________________________________________
> > > rules-users mailing list
> > > rules-users at lists.jboss.org
> > > https://lists.jboss.org/mailman/listinfo/rules-users
> > >
> > >
> > >
> > _______________________________________________
> > rules-users mailing list
> > rules-users at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users
> >
>



More information about the rules-users mailing list