[JBoss AOP] - Re: How to have test-aop.xml.I dont want to write the test
by flavia.rainoneï¼ jboss.com
Hi!
I can think of two alternatives for your problem.
One of them is to write your xml file with whatever name you want (like test-aop.xml) and configure the property jboss.aop.path. This property should point to a classpath where this file is present. That way, JBoss AOP will detect and load your test-aop.xml file only when this property is enabled.
Another approach would be more elegant, however, if you have aspects that are exclusive to your test mode. This second approach consists of putting those aspects in a directory or jar file, and adding a META-INF/jboss-aop.xml file to this dir or jar file. In this xml file, you put all the bindings and other configuration that must be enabled for test mode. To make JBoss AOP detect your jar (or directory) and its xml file, you just need to add it to classpath. When you want to run your application in normal mode, run it without this jar/directory in the classpath.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057473#4057473
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057473
18Â years, 10Â months
[JBoss Seam] - Re: [1.3 CVS]Tomcat users getting the shaft?
by bill.burkeï¼ jboss.com
"dsmith(a)nesmi.com" wrote : I agree with you on this. If I did want all of those services, why wouldn't I install a full EE server?
The whole idea is to sneak by the "lightweight" litmus test. We (JBoss) knows these components are lightweight, ala cartable, fast to boot and performant, but we have to fight this "lightweight" propaganda.
But, didn't you answer this yourself? Specifically:
anonymous wrote : Then you might be thinking ok, hmm maybe you could get them to install JBoss AS. Nope. Imagine again: "You want us to learn some new AS, for just one application@$#%"
Now this is good feedback.
anonymous wrote : But take it from this prospective, when you already have a Tomcat environment up in production and sysadmins that are "trained" and support it. Try asking them to install some jars to tomcat libs and modify server.xml on ever instance... This isn't even taking into account they will have to change their upgrade process. Just imagine "You want me to do what?, for just one application."
This is good feedback as well. Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057466#4057466
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057466
18Â years, 10Â months