[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Multiple pointcut expressions and advice bindings for sa
You can hotdeploy a pointcut definition, but this does not cause bindings to be reapplied. Am I making sense? So, if you modify AllMethods at runtime and redeploy it, bindings will not be recalculated. Currently, the code isn't smart enough to know if the binding references a named pointcut. Does this screw up what you want to do? Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844302#3844302 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844302 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: JBoss AOP vs. AspectJ
Why JBoss AOP over AspectJ? - 100% pure Java - annotation support (JDK 1.5 and 1.4) - Metadata and annotation override facility - load-time transformations (instead of compile time) - hotdeployment of aspects (dynamic AOP) - per-instance API (dynamic AOP) - dynamic CFLOW - pluggable pointcuts - extended pointcut expressions (has and hasfield as well as typedefs). I haven't looked at AspectWerkz since February, but they had limited support in their pointcut expression language at the time (no around for field interception, no constructor interception, no annotation support). They did have better load-time transformation support, but we will catch up on this soon. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844303#3844303 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844303 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: name of the class intercepted
Better would be: | ((ClassAdvisor)invocation.getAdvisor()).getClazz(); | This is because getTargetObject may be null for static members. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844304#3844304 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844304 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Pointcut expression for methods that take arrays as argu
We don't support this. If you'd like to contribute it, it would be most welcome. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844305#3844305 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844305 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re:
sorry for the late response. With current CVS head I was able to write a unit test that had these pointcuts you described above with no problems. Maybe I have fixed something since Jun, I don't know. | | bind pointcut=execution(public * $instanceof{javax.ejb.SessionBean}-*(..)) | | bind pointcut=call(* $instanceof{javax.ejb.EJBObject}-*(..)) | | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842414#3842414 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842414 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: a question about advisable
JBoss AOP has changed significantly since the DR2 release. advisable is now prepare http://www.jboss.org/wiki/Wiki.jsp?page=DynamicAOP View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842020#3842020 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842020 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Pointcut expression for methods that take arrays as argu
This should work | execution(void java.lang.Object[],com.pkg.CustomObject[]) | | Don't forget that any class, even if it is in java.lang package must be fully qualified. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842134#3842134 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842134 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: A Web-Application with JBoss AOP
You can place the .war directly within the sar. So the sar would look like this: | kado.sar/ | kado.aop | kado.war | if that doesn't work, let me know. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841869#3841869 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841869 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Another test that not execute correctly...
You are getting the error because the Interceptor is in the same package expression as the class you are trying to intercept. Thus, you have an infinite loop. Put your interceptors in another package that doesn't match your wildcard. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841809#3841809 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841809 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Several jboss-aop.xml...
Are you running inside JBoss? AOP is packaged similarly to SARs(Mbeans). You can either deploy an XML file directly in the deploy/ directory with the signature *-aop.xml or you can use the JAR format. The JAR format must have the file extension .aop and a jboss-aop.xml file must be contained in a META-INF directory. META-INF/jboss-aop.xml. Take from this WIKI page: http://www.jboss.org/wiki/Wiki.jsp?page=RunningWithJBossApplicationServer If you're not running within JBoss then read this: http://www.jboss.org/wiki/Wiki.jsp?page=RunningAOPStandalone http://www.jboss.org/wiki/Wiki.jsp?page=Packaging The system property jboss.aop.path can be a separated list of xml files and/or directories. If it is a directory, then it will get all *-aop.xml files within that directory. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841811#3841811 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841811 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Another issue...
Since you are not running within JBoss you need to use System properties to tell JBoss AOP how to resolve XML files to be deployed. Please see our WIKI for more information View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841812#3841812 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841812 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: jboss-aop-beta3 failed to transform
JBoss AOP aopc will generate a bunch of class files that are optimized versions of Invocation classes. When in doubt, blow away your class directory with everything in it. Looks like you cleaned up DBBasicManager.class, but not the generated AOP class files. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841813#3841813 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841813 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOP examples on jboss-4.0.0DR3
http://www.jboss.org/wiki/Wiki.jsp?page=RunningWithJBossApplicationServer Use 4.0DR4 and Overwrite with jars from JBoss AOP beta3 distribution. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841814#3841814 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841814 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: java.lang.ClassNotFoundException: org.jboss.aspects.secu
I have somebody working on improving load-time transformation. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3839698#3839698 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3839698 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOP Security Service
This is on my todo list, but I've never gotten around to it. So you want a SecurityContext object that has: getCaller getRole isCallerInRole what else? To get access to it, I was thinking of a field annotation. | public MyClass { |@Inject SecurityContext securityContext; | | } | Accessing the field securityContext would be intercepted and the correct context object would be accessed from a thread local. What are your thoughts? Would you like to implement this? I can help you spec it out. I know what needs to be done, just don't have the cycles until after JavaOne. Email me directly at [EMAIL PROTECTED] if you're interested in implementing. Other than that, put your suggestions here on this forum Thanks, Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3839440#3839440 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3839440 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: intercepting proxies
You should be able to do: | call(* $instanceof{EJBInterface}-*(..)) | You said that didn't work. Either there is a bug in JBoss AOP, or you did something wrong. I haven't had a chance to look into it. If you could, please debug this problem and get back to me of why it doesn't work. I am currently busy with a bunch of stuff and will not get back to JBoss AOP until after Java One. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3839460#3839460 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3839460 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOPtize a SessionBean
Can you send me your example? [EMAIL PROTECTED] View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838954#3838954 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838954 --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: starting an AOP program without ANT
You mean do precompilation without ant? Or just run the application without ANT? I think the docs on WIKI tell how to run an application at command line. You must specify a system property jboss.aop.path that points to your XML files, or your XML files must be embedded in the jars in your classpath via META-INF/jboss-aop.xml. if you have precompiled your classes and follow the above then it is: java [-Djava.aop.path=myaop.xml] org.acme.MyMainClass View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838961#3838961 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838961 --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOPtize a SessionBean
Are you doing load time or precompiled aspects? if you are doing load-time then you must set the EnableTransformer attribute to true within the AspectManagerService MBEAN within jboss/server/xxx/conf/jboss-service.xml It is turned off by default because JBoss boots up a little slower. Let me know if this is your problem. Sorry for the trouble. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838886#3838886 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838886 --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOPtize a SessionBean
This is a packaging issue: http://www.jboss.org/wiki/Wiki.jsp?page=RunningWithJBossApplicationServer Also, there is a server/xxx/conf/base-aop.xml file in which you can put AOP definitions as well. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838728#3838728 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838728 --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [EJB on JBoss] - Re: Interrupted thread not being uninterrupted.
yes, this bug has been fixed in later releases of JBoss. PLEASE POST ON EJB USER FORUM! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838486#3838486 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838486 --- This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Regeneration of Aspect instances if AspectDefinition is
I think only PER_INSTANCE aspects are created on-demand. The whole Aspect container for PER_VM, PER_CLASS, and PER_INSTANCE would have to be switched to get Aspect instances on demand. I do not want to add this overhead to the system. SO, I think an entire binding redeploy would be needed. I'll need to go back and look at the code. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838538#3838538 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838538 --- This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re:
This looks like a bug on my end. I'll take a look next week when I'm finished with my JBoss training. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838042#3838042 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838042 --- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: NPE when redeploying precompiled code
didn't get a chance to look at this before the beta3 release. Sorry. I'll take a look soon. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3837695#3837695 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837695 --- This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - JBoss AOP 1.0 Beta3 Released
JBoss AOP 1.0 Beta3 has been released. It is mostly a release to support changes in JDK 1.5 Beta2, but there have been some minor bug fixes as well as some new features. There have been some new additions to the team. Kabir Khan has written a library for the java.lang.reflect APIs that filters out all methods, fields, etc.. that JBoss AOP adds when doing bytecode manipulation. Also, when somebody invokes a field or constructor through reflection, the call pointcuts will make sure that the appropriate AOP aspects are invoked as well. http://www.jboss.org/wiki/Wiki.jsp?page=AOPAndReflection Marshall Culpepper and Andrew Oswald have also joined the team. Andy and Marshall are implementing JBoss AOP's Eclipse integration and should have something very soon for you to play with. Bullet release notes: * Updated to support JDK 1.5 Beta2 annotations (1.5 beta2 class format changed) * Added a reflection aspect library that filters out JBoss AOP class modifications * Fixed bug in handling of static and !static pointcut expressions * AnnotationCompiler now support JDK 1.5 Beta2 * AnnotationCompiler now supports enums View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3837592#3837592 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837592 --- This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: getURL fails, is this a bug of jbossAOP?
class load time transformations don't work well outside of JBoss. I haven't put a lot of thought or time into them yet. Precompilation will work in this case. If you're interested in helping with class loader time transformations, let me know. I know what needs to be done, I just haven't had the time to do it yet. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3837369#3837369 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837369 --- This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: NPE when redeploying precompiled code
The Aspect service has a flag to ignore transformation errors. I had to have this switch because a bunch of Apache classes use their own classloaders and don't hook well into Javassist's class locator. Do you have a simple testcase you can send me to reproduce the error (with hot deploy of precompiled AOP)? Email me at [EMAIL PROTECTED] Thanks for your patience. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3837401#3837401 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837401 --- This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - JBoss AOP 1.0 Final Schedule
We will release 1.0 final two weeks after the JDK 1.5.0 final release. I do not want to go final until I can test with the final JDK 1.5 release. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3837453#3837453 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837453 --- This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: bug in
I'll get out a new AOP version this week as JDK 1.5 beta2 has changed the annotation format as well. So I think I can fix this bug then. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3837236#3837236 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837236 --- This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: bug in
Ok, this is fixed in Head, I'll be doing a beta3 release soon. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3837306#3837306 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837306 --- This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - annotation JDK 1.5 Beta2 Problems (Fixed in HEAD)
JBoss AOP Beta2 will not work with JDK 1.5 Beta2 as far as annotations goes as the bytecode format has changed from JDK 1.5 Beta1. I have fixed this within head and will do a JBoss AOP Beta3 release ASAP. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3837307#3837307 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837307 --- This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOP without AOPC
Non AOPC works within JBoss 3.2.4 RC2 and JBoss 4.0DR4 and higher. You can run with load-time transformations in STANDALONE, but you need full control of classloading. See the WIKI for more details: http://www.jboss.org/wiki/Wiki.jsp?page=RunningWithJBossApplicationServer http://www.jboss.org/wiki/Wiki.jsp?page=RunningAOPStandalone As far as running with class-load-time transformations, we're still very weak in this area if running outside of the JBoss Application Server. If you're interesting in helping in this area, let me know, and I'll guide you on what needs to be done. Regards, Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3837065#3837065 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837065 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Intercepting java.lang.reflect methods -- bad idea?
Sorry I didn't see it. It should be java.lang.Object not Object It should be java.lang.String not String Only fully qualified names. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836494#3836494 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836494 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Intercepting java.lang.reflect methods -- bad idea?
NP. Just makes me realize that you should be able to type in java.lang types without java.lang. I've made the same mistake a few times myself. Others will like crazy too. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836513#3836513 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836513 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Context
yes, invocation.getTargetObject() will give you the object that is being invoked on. It will be null if you are invoking on something that is static. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835801#3835801 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835801 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Intercepting java.lang.reflect methods -- bad idea?
This should work. It may be a bug in the expression parser although I thought I tested for this. I'm consulting this week, but I'll try to take a look as soon as I can. Thanks, Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836350#3836350 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836350 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - WIKI is corrupted
We got hacked bad recently and the Wiki has been f%##$ in the process. If you want JBoss AOP documentation, most of it comes with the downloads. We'll get the WIKI up and restored ASAP. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835802#3835802 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835802 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Intercepting set on bidim array
no. We have no plans to implement this anytime soon. If you're interested in helping, let me know. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835816#3835816 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835816 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Error deploying an aop'd jar file -- 3.2.4RC2
The AspectDeployer comes with the jboss-aspects-beta2-for324.zip package. If the WIKI were up, I would be able to give you online directions. I believe the jboss-aop-beta2.zip has directions embedded within it though. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835830#3835830 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835830 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Error deploying an aop'd jar file -- 3.2.4RC2
You downloaded the 324 jar? not the plain jboss-aspect.jar correct? Thanks for the -report bug. I'll look into it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835837#3835837 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835837 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Error deploying an aop'd jar file -- 3.2.4RC2
webconsole support for AOP has not been backported to 3.2 series yet. I didn't have time, sorry. Did that doco not make it clear that files needed to be named .aop? When the wiki comes back up, i'll check. Thanks for your patience. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835849#3835849 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835849 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Error deploying an aop'd jar file -- 3.2.4RC2
the webconsole AOP stuff has not been ported to 3.2.4. You could turn on verbosity of AOP. In AspectManagerService mbean set Verbose attribute to true. I belive the doco has info on that as well. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835853#3835853 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835853 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [EJB on JBoss] - User questions will be removed!!!
Please post on the EJB user forum as this particular forum is used to discuss design of the EJB container in JBoss. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835862#3835862 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835862 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: javassist.NotFoundException: transactional (my annotatio
Ok, so you implemented an transaction interface? i.e. | package org.mriou; | public interface transaction {...} | ??? If so, you must provide the fully qualified name of the tag within the doclet tag. i.e. | /** | * @@org.mriou.transaction (RequiresNew) | */ | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836082#3836082 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836082 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: javassist.NotFoundException: transactional (my annotatio
Mriou, That is because I have not written any annotations yet for the transaction stuff and you have to use -xml (in ant xml=true) instead (the old annotation stuff). I guess what I messed up is that you cannot mix and match these 2 features. I guess I need a different syntax for the xml based ones so that they can be put in the same file as bytecode complied ones? Bill P.S. I did add that Directory feature you wanted with jboss.aop.path View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835993#3835993 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835993 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [EJB on JBoss] - Re: EJB3 meta model and JDK 1.4
Not true at all. You just need the classloader and then do a getResource on that classloader to load it into javassist. Take a look at the code. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835808#3835808 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835808 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [EJB on JBoss] - Re: EJB3 meta model and JDK 1.4
Then don't use the freakin shtuff in an applet. J2EE 1.5 is written towards JDK 1.5. This is an option to JDK 1.4 developers and to allow me to use JDK 1.4 and IDEA to code this shit up. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835814#3835814 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835814 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [EJB on JBoss] - Re: EJB3 meta model and JDK 1.4
EJB3 can/should be able to run inside an applet, but only a JDK 1.5 based applet. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835825#3835825 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835825 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: JBoss AOP 1.0 Beta2 Released
Only 3.2.4RC2 and higher. Sorry. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835837#3835837 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835837 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: JBoss AOP 1.0 Beta2 Released
I didn't document them because I couldn't think of a usecase. Basically the way it works is that you can define a class that does the pointcut magic. The class must implement the org.jboss.aop.pointcut.Pointcut interface and you plug it in with: | pluggable-pointcut name=foobar class=org.jboss.MyPluggablePointcut/ | Then you can use the foobar name in pointcut expressions. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835675#3835675 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835675 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Can JBoss AOP work on Entity EJB?
Again, look in: jboss-X.X/server/default/conf/standardjboss.xml Search for interceptor Server side interpceptors for Entity beans have been available since JBoss 2.0. Our forpay doco should also have examples of implementing an interceptor. (I know there is at least a lab in our advanced training for this). But, if you're stuck with trying to implement a appserver agnostic solution, you are screwed. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835709#3835709 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835709 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [EJB on JBoss] - Re: EJB3 meta model and JDK 1.4
Enums will also be converted to JDk 1.4 using a common, well known pattern for defining Enums. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835730#3835730 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835730 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [EJB on JBoss] - EJB3 configuration model
After reading the EJB3.0 specification it has become clear to me that Annotations are a perfect abstraction for our configuration meta model. Therefore all new container configurations will be defined in Annotations. There are a lot of advantages with this approach: 1) It is very easy to express anything and parse anything in XML format as we have an easy mapping from XML to the meta model 2) We are not limited to XML as the configuration format. ANother idea I have is to define container configurations as Java classes with annotations sprinkled in. 3) EJB3 is all about removing deployment descriptors. A configuration model expressed as annotations can be embedded in Bean class files like regular EJB annotations are. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835731#3835731 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835731 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: after advice
Yes, Kabir is correct. JBoss AOP has no before/after/after returning/after throws, etc... These can all be handled implicitly with an around advice. This was done on purpose to simplify the model. There is no performance benefit of having before/after. Also, IMO, it is more intuitive to have an around advice because it makes you more aware of the flow of the application and that you are part of the flow of an application. So the solution is to have an advice: | public class MyAspect { | | public Object myAdvice(Invocation invocation) throws Throwable { | Object rtn = invocation.invokeNext(); | | // DO AFTER STUFF HERE | | return rtn; | } | | } | See? Feedback? Maybe I'm missing something. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835537#3835537 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835537 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - JBoss AOP 1.0 Beta2 Released
JBoss AOP Beta2 has a bunch of new features. The key features being JDK 1.5 Annotation support, an Annotation Compiler for JDK 1.4, Dynamic Control Flows. The release is also the start of separately packaging all our pre-packaged aspects in a separate bundle. You can download both distributions [here|http://sourceforge.net/project/showfiles.php?group_id=22866package_id=84165]. Please visit our [WIKI] and [Project Page] for more information. !Specific new features and bug fixes * JSR-175/JDK 1.5 Annotation support * Annotation compiler for JDK 1.4. You can do JDK 1.5 annotation bytecode with JDK 1.4 * annotation-introduction to introduce JDK 1.5 annotations (works with JDK 1.4 annotation compiler too) * pluggable pointcut * dynamic cflow * 30% Performance improvement on public method and constructor interception * 30% improvement on Aspect/advice invocations * add support for !static !public to grammar * distinguish between within (classexpr) and withincode(method | constructor) as it is more readable. * move within and withcode outside of call expression * has and hasfield. These should state, if joinpoint and joinpoint has method xxx. * add a clone to Invocation so that you can continue on with chain in a separate thread * type expressions for introductions * Get working with JBoss 3.2 * fixed thread safety bug in ClassInstanceAdvisor creation * encapsulate all fields so that we can override easier. Wrappers need to work better in this regard too by delegating back to the original invocation object * add more metadata to Caller side so that you can traverse back to calling method. * Let jboss.aop.path accept directories. * No public access on Invocation subclasses anymore * Invocation is now refactored into an interface org.jboss.aop.joinpoint.Invocation and a base class InvocationBase View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835559#3835559 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835559 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Can JBoss AOP work on Entity EJB?
This can be solved with an EJB entity bean server-side interceptor. Just have a specific interceptor that checks wither it is a setCCNum or getCCNum and do your thing. Or maybe you need to be App Server agnostic? Then you're probably screwed. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835598#3835598 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835598 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOPC question
spiritualmechanic wrote : In the Wiki it says that we can precompile our aspects and then run them inside the JBoss server. I've adapted the build.xml from one of the examples, and aopc runs on my Driver class, but I can't really tell if it's being modified or not. Should it be modified, or is it just an in-memory change? | | My aspect seems to work though, it gets into the intercept when I run my small test. I just am using JMX so I need to put it into the server. But it works perfectly right up to the point where it tries to hit JMX ;) | | Thanks! When running inside JBoss microkernel you can either do precompilation or load-time transformation to get your aspects to work. What exactly is your question? Try this for decompilers. It really demystifies the JBoss AOP framework and you can see our weaving is quite minimal. http://www.google.com/search?q=java+decompilersourceid=mozilla-searchstart=0start=0 I use cavaj. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835203#3835203 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835203 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Invoking session beans from Interceptors
Ben, You'll have to tell me your exact setup and steps you made to do things. 1. Did you precompile your clases with aopc? 2. Did you set the System Property jboss.aop.path? Thanks, Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835207#3835207 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835207 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Passing parameters to Aspects
I haven't documented it yet, but if the Interceptor class implements org.jboss.util.xml.XmlLoadable then the importXml will be called at interceptor creation time. I will eventually add this to the creation of aspects as well. | public interface XmlLoadable | { | |// Public |public void importXml(Element element); | } | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835267#3835267 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835267 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Can JBoss AOP work on Entity EJB?
Not possible at this time as in JBoss, entity class implementations are generated at runtime and that classloader isn't set up for dynamic loadtime transformations at this time. $instanceof would work, except for the above problem. Sorry. What you can do is do traditional JBoss interceptors. see standardjboss.xml and you'll see both client and serverside stacks. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835269#3835269 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835269 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: peristence+hibernate
I hate to do this to you but.. www.hibernate.org Don't be mad! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3834491#3834491 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834491 --- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Metadata Chaining in JBoss AOP 1.0 Beta
mikezzz wrote : I think including class metadata in the chain is a good idea. The case I was looking at was similar to the following: | | /** | | * @@persistent pk=Id | | */ | | public POJO { | | String Id; | | String name; | | /** | |* @@persistent_getter | |*/ | | public void getName() { | | return name; | | } | | } | | | | public GetInterceptor implements Interceptor | | { | | public Object invoke(Invocation inv) throws Throwable { | | String pkFieldName = inv.getMetaData(persistent, pk); | | Object o = inv.targetObject; | | Field f = o.getClass().getField(pkFieldName); | | selectFromDatabase(select * from POJO where id = ?, f.get(o)); | | // Set the results in the target object. | | | | return inv.invokeNext(); | | } | | } | | I would of thought that metadata could have similar semantics to variables with regard to scoping. Class metadata could be overridden by Method or invocation metadata. I realise it is still possible to get the class metadata from the advisor, but I am still confused as to why it isn't part of the chain. Is it merely a JSR-175 compliance thing (if so I'll stop my whining)? | | Mike. I think your suggestion is correct AND incorrect. The metadata should model how JSR-175 models metadata. A Class is a different thing than a method. So, I disagree that classmetadata should be overriden with Method data. That is what default metadata is for. BUT, where I do agree is that Class metadata should be overridable from the invocation or ThreadMetaData. In other words, there should be a getClassMetadata method on invocation or something like that. I need to think about the correct semantics. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3834214#3834214 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834214 --- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Multiple metadata-aop.xml
Ok, I will expand the jboss.aop.path System property variable to accept directories and load any XML file that has the form *-aop.xml. Other than that, do take a look at the packaging example in the JBoss AOP beta distribution. This solution works with standalone, but resolves XML files by classloader.getResources(META-INF/jboss-aop.xml) only. FYI, beta2 will have an annotation compiler for JDK 1.4 so that you can use annotations within JDK 1.4. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3834215#3834215 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834215 --- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Interceptor not intercepting
Yes, that is correct, please see the packaging example though. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3834216#3834216 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834216 --- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOP Remoting
Much apologies. I haven't been able to give AOP Remoting much love since the original release both in code and in doco. But anyways, you have to specify a connector: | mbean code=org.jboss.remoting.transport.Connector | xmbean-dd=org/jboss/remoting/transport/Connector.xml | name=jboss.remoting:type=Connector,transport=socket5150 | attribute name=InvokerLocatorsocket://localhost:5150/attribute | attribute name=Configuration |handlers | handler subsystem=AOPorg.jboss.aop.remoting.AOPRemotingInvocationHandler/handler |/handlers | /attribute | /mbean | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3833733#3833733 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3833733 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOP Remoting
Do you see a message: Dispatcher trying to find methodMap for: ... What exactly does it say? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3833742#3833742 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3833742 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOP Remoting
Ok, I know what is wrong(poor testing on my part) I will fix this in the beta2 release, but you should do the following within the MBean: org.jboss.aop.proxy.ClassProxy.newInstance(code.HelloWorld.class); | The reason being is that the Dispatcher is looking for a hash to java.lang.reflect.Method map that is initialized by create proxy. I didn't have the foresite to test the scenario of the user not creating a proxy on the server side. The underlying remoting framework is being used in production, but the AOP layer on top of this is quite raw as you can see. I just haven't had the time to give it some love, nor has somebody stepped up to help. Apologies. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3833749#3833749 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3833749 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBoss Remoting] - Remoting and ClassLoader domains don't mix
JBoss Remoting unmarshalls the entire request before it dispatches the request. A big problem with this is when you are dispatching to a different, non-default, classloader domain in that the parameter classes may not be available during demarshalling and class not found exceptions (or CCE when the dispatch actually gets to the target object) will happen. My bet is that our IIOP layer right now has this problem as well. The solution would be to not demarshall the method arguments and have invocation.getArguments do a callback to the remoting layer for a demarshall. I don't think this is possible to implement for any IIOP solution or any solution that automatically unmarshalls the buffer. Maybe I am missing something, but these class loading boundaries are a real flaw in the whole Invoker architecture. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3833753#3833753 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3833753 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOP Remoting
Did you apply the code suggestion to your MBean? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3833785#3833785 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3833785 --- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Invoking session beans from Interceptors
This is probably not a JBOss AOP problem, but rather how you've packaged your classes in WLS. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3833837#3833837 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3833837 --- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Observable Pattern on the WIKI
prepare is in Beta1, yes. It's in one of the WIKI sections View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3833850#3833850 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3833850 --- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Observable Pattern on the WIKI
sorry, to use it is is | | prepare expr=some pointcut expression/ | Anything that matches the expression will receive AOP hooks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3833851#3833851 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3833851 --- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Multiple metadata-aop.xml
I haven't done a lot of experimentation here, so please have patience. What I think you can do is put stuff in a .sar file or directory as follows: | myapplication.sar/ | metadata1-aop.xml | metadata2-aop.xml | myweb.war | Read these as well: http://jboss.org/wiki/Wiki.jsp?page=Packaging http://jboss.org/wiki/Wiki.jsp?page=RunningWithJBossApplicationServer Instead of putting stuff in the web-inf/lib directory, have this structure: | myapplication.sar/ | mylibrary.aop/ |com/mycompany/Foo.class |META-INF/jboss-aop.xml | mylibrary2.aop/ |com/mycompany/Bar.class |META-INF/jboss-aop.xml | myweb.war | Get back to me with problems. Hey, if you're interested, could you possibly write up some of your experiences with packaging on our WIKI? A HOWTO or something? With JBoss AOP beta2 release you will also be able to embed metadata as annotations within .class files. The annotations are binary compatible with JDK 1.5 annotations. JBoss AOP beta2 release will be may 4th or 5th. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3833656#3833656 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3833656 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: JBossAOPized application NoClassDefFoundError: org/jboss
jboss aop requires these jars: jboss-aop.jar jboss-common.jar trove.jar concurrent.jar qdox.jar javasssist.jar The jboss-common.jar will be incompatible with JBoss 3.0.6's jar of the same name. This is a lack of foresight on my part and I need to remove the dependency on jboss-common.jar so that you can use the AOP stuff in older versions of JBoss. Ironically, you CAN use JBoss aop in other application servers, but not older versions of JBoss :( The next release of JBoss AOP will allow you to run in older versions of JBoss. I hope to release next week. What I'll do is repost to this forum and tell you what classes you need to remove from the JBOss AOP distributed jboss-common.jar and add them to jboss-aop.jar. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3833439#3833439 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3833439 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Interceptor not intercepting
Depends if you are running inside or outside the JBoss application server. If outside, then JBoss AOP does this by default: Enumeration enum = Thread.currentThread().getContextClassLoader().getResources(META-INF/jboss-aop.xml); So any part of your classpath that has a META-INF/jboss-aop.xml file within it will be loaded by JBoss AOP. See the packaging tutorial example for more detail. If you are running inside JBoss applications server, this getResources feature is turned off. Instead, you must put YOURFILE-aop.xml in the deploy directory, or create a jar named YOURJAR.aop and in the META-INF directory of the YOURJAR.aop jarfile put a jboss-aop.xml. Am I making sense? I will write a Using within JBoss app server example for the next release. Regards, Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3833483#3833483 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3833483 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [TODO -- DEVELOPMENT] - Re: Contribute for Jboss 4
Of course non-JBoss employees can contribute to any JBoss.org project!!! We have 98 people with CVS access. Only ~35 of those are jboss employees. Roadmap and tasks are a bit dispersed now, Ivelin should be posting on this topic to guide you soon... Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3833487#3833487 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3833487 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Interceptor not intercepting
Did you look at the metadata example that comes with JBoss AOP beta1? You have to run that generates another XML file. Then you must have that XML file and your binding in the jboss.aop.path System property. If you change to have report=true then you can get an XML dump of bindings and metadata attached. You can get the same thing graphically through the JBoss management console if you're running within JBoss. Get back to me if you have more problems. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3833385#3833385 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3833385 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Persistence
First things first. If you've converted some GOF patterns to JBoss AOP, would you be interested in a) Porting any reusable pieces to JBoss AOP so others can take advantage? b) Expanding JBoss AOP examples/tutorial to talk about GOF patterns? c) Linking your research paper to our Wiki? Adrian Brock has already done Observable. It would be AWESOME if you could add more to our examples and would really help out the JBoss AOP project. Please contact me no matter what: [EMAIL PROTECTED] - As far as persistence, We use Hibernate for our POJO persistence. Thanks, Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3832844#3832844 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3832844 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [EJB on JBoss] - Re: ClassCastException/Receive Timed Out
How is your EAR/WAR set up? What jars do you have in your EAR/WAR? Do you have a copy of JBoss naming classes in some jar in your EAR/WAR? If you have UCL turned off stuff like this usually happens when you have duplicate classes. FYI though: If you are within same VM it is unwise to set the JNDI provider URL as you will be making all JNDI calls over the network. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3832635#3832635 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3832635 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [EJB on JBoss] - Re: ClassCastException/Receive Timed Out
can you post your jboss-app.xml and your jboss-web.xml then? If you could have a tiny test for this, it would be easier to debug View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3832735#3832735 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3832735 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: JBoss AOP and EJB development
If you're using the JBoss application server to deploy your EJBs, JBoss has, since 3.2 version, interceptor technology that is very aspect-oriented. JBoss-AOP can also be used with EJBs within JBOss or any other application server. If you are running outside of JBoss you have to do precompilation and set the appropriate System property variables to point to the JBoss AOP XMl config files. See the tutorial/WIKI for more details. Get back to me here if you're still having trouble. http://www.jboss.org/wiki/Wiki.jsp?page=JBossAOP Regards, Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3832437#3832437 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3832437 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Fluid AOP
Affirmative. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831625#3831625 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831625 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JCA on JBoss] - Re: TODO: Timers
Does the new Thomas Diesler implementaiton still use the Scheduler? That thing is a piece of crap. So yes, use the jms timer service if you can. Scott is also interested in integrating Quartz. Not sure if it if applicable in this situation though. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831683#3831683 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831683 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Fluid AOP
I've been thinking about this over the weekend, and what I think Im going to add is the expansion of CFLOW. Currently CFLOW only looks at the Java call stack. I think I will expand it to look at our metadata chain, or configuration domains. http://jboss.org/wiki/Wiki.jsp?page=AnnotationsAndAnnotationsInPointcuts So, instead of just a method or contstructor within the call stack, it will try to resolve a metadata reference from the metadata chain. Since ThreadMetaData is in the metadata chain you can set up custom CFLOWs. One thing about this is that we'll probably want stacked ThreadMetaData. FOr instance, if we use ThreadMetaData to tag application boundaries, you'll probably be interested in previous values of this threadlocal value. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831416#3831416 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831416 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: New Asynchronous Aspect .
Thanks Claude! I will fix your annotation problem soon! I'm glad you're helping. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831267#3831267 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831267 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Observable Pattern on the WIKI
I'll have JDK 1.5 annotation support sometime next week in CVS. Doing another beta of JBoss AOP soon too. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831180#3831180 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831180 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Fluid AOP
Blogged about this: http://jboss.org/jbossBlog/blog/bburke/?permalink=Fluid+AOP.html Thoughts anybody? I still need to understand when/how context classloader gets set in JBoss. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831181#3831181 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831181 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Observable Pattern on the WIKI
this tx observable pattern is everywhere in Jboss View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831184#3831184 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831184 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: object pooling detrimental to performance
This was a single threaded test. Maybe it is different in multithreaded test. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831074#3831074 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831074 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: object pooling detrimental to performance
The test I did WAS using ThreadLocal as the pool. Object creation was still faster. Maybe Object creation has a mutex and a multithreaded test would make regular object creation slower than ThreadLocal. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831081#3831081 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831081 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Performing post compilation on jars
Would be interesting, but it is not a priority right now. I would be most greatful if you would take on the task. Right now, I'm just one guy and there's too much to do. BIll View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831083#3831083 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831083 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Performing post compilation on jars
I take that back...Claude is helping with Asynch stuff, but I do need help in the core. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831084#3831084 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831084 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Intercepting Constructors
No, you do not have to call invokeNext. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831101#3831101 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831101 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Observable Pattern on the WIKI
It should also be triggerable by an annotation. | bind pointcut=set(* @observable-*) | ... | /bind | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831119#3831119 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831119 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Observable Pattern on the WIKI
Also, you can use annotations within the introduction. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831120#3831120 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831120 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Observable Pattern on the WIKI
Sorry, one more thing. THis should be extended to do more fine grain obervations. Not only field changes, but also method calls and such. Also, per field, per method, etc... Also, it might make sense to not bind an interceptor at the class level, but rather bind the interceptor on a per-instance basis. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831121#3831121 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831121 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Intercepting Constructors
Let me know if the tutorial is complete enough and answers your questions well enough. Thanks, Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831137#3831137 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831137 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: How to write aop in jar?
I have run with a .aop file embedded within a .sar file. Maybe it doesn't work for embedded .ears. I'll have to get back to you. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3830177#3830177 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3830177 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: How to write aop in jar?
Crap, sorry. Forgot. In JBoss 4 DR3, load-time instrumentation is turned off by default. Look in jboss-4.0.0DR3/server/default/config/jboss-service.xml Search for AspectManagerService. This is a switch there for turning on load-time instrumentation. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3830020#3830020 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3830020 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: How to write aop in jar?
Please read this part of the tutorial (comes with download) and get back to me: http://jboss.org/wiki/Wiki.jsp?page=Packaging View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3829786#3829786 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3829786 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development