Hi,
We need to introduce serveral interceptors into our application. So far I added one interceptor to a jar which is contained in our EAR and registered the interceptor as well as the pointcut in the ejb3-interceptors-aop.xml.
However, we'd prefer to embed that information into our EAR so that we only have to deploy that file and can have the interceptors added to our service calls.
Is that even possible? If so, how?
Thanks in advance for your help.
Thomas
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214109#4214109
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4214109
Hello,
I am completely new to Java development in general, so please be patient. I've installed Tomcat server, Eclipse editor, jBoss environment, I downloaded RichFaces, put libs into "WEB-INF/lib" folder of my project and I started to creating "greeter" demo application (New -> Project -> dynamic web project) to see how things are functioning but I ran into a problem following pdf documentation: creating managed bean. Documentation says as follows:
"In project JavaSource folder create a new managed bean with name user in demo package"
Can you explain in more detail how to do this ?
Thanks,
Josip
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214104#4214104
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4214104
Any deployable applications (ex: .war files) that are in the deploy folder of JBoss, will be picked up by the server and deployed. In case of .war files, each war file represents an application and has its own "context". The "context" is used to access the application. In JBoss the context name for each war file by default is the name of the war file. So if your war is named file1.war then it's context by default is file1 (you can use the jboss-web.xml to give a different context name, but let's not get to that yet). Then you can access the application at http://localhost:8080/< contextName> (in this example: http://localhost:8080/file1).
So as Peter said, when you create a copy of file1.war and let the file2.war remain in the deploy folder, the server will deploy the file2.war at the context "file2".
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214100#4214100
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4214100
Works fine for me. Please post more details including the configuration files (application.xml and jboss-app.xml) and the source code where the session context is being injected and used.
Also are you packaging any jar files containing javax.ejb.* or javax.annotation.* or any jboss specific jar files in your application? If yes, then remove those from the application. Also please post the output of:
jar -tf myapp.ear
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214081#4214081
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4214081