[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOPtize a SessionBean

2004-06-16 Thread pipothebit
Hello again!!
ok, EnableTransformer was turned off (false) I have turned it on (true) and certainly 
the server is a bit slow but the result is the same, my LoggingInterceptor code is not 
executed.

Are my packages right? (see avove package structure)
Are my jboss-aop.xml correct? (see it avove)
What can I do to help you.. to help?

Very Very thank you?


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838932#3838932

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838932


---
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

2004-06-16 Thread Bill Burke
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: AOPtize a SessionBean

2004-06-15 Thread pipothebit
I have read your link and don't undertand somethings.

1. I must have 2 files Simple.jar and Simple.aop or all can be contained in only one 
file.
2.- You can either deploy an XML file directly in the deploy/ directory with the 
signature *-aop.xml... ok i put my Simple-aop.xml in deply dir but where do i put the 
class file, packaged with Simple.jar (ejb), alone...?
3.- The JAR format must have the file extension .aop and a jboss-aop.xml file must be 
contained in a META-INF directory... this mean tha I create a jar with aop extension 
and I include the class files too, right?

Very thank you for your help and sorry for my bad english 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838748#3838748

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838748


---
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

2004-06-15 Thread pipothebit
After read your post and I was thinking a little and I believe that two files with 
.aop and .jar  extension is the correct way. Correct me if don't?

In order to clarify the things I show you an unpack of my jar and aop file.

# unzip Simple.jar
Archive:  Simple.jar
creating: META-INF/
inflating: META-INF/MANIFEST.MF
inflating: META-INF/ejb-jar.xml
inflating: META-INF/jboss.xml
inflating: BaseSessionBean.class
inflating: Simple.class
inflating: SimpleEJB.class
inflating: SimpleHome.class
inflating: SimpleLocal.class
inflating: SimpleLocalHome.class

# unzip Simple.aop
Archive:  Simple.aop
creating: META-INF/
inflating: META-INF/MANIFEST.MF
inflating: META-INF/jboss-aop.xml
inflating: LoggingInterceptor.class


But when I deploy the .aop file nothing happens and my example don't work, no 
interceprot code is executed.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838755#3838755

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838755


---
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

2004-06-15 Thread Bill Burke
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

2004-06-14 Thread Bill Burke
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