[jboss-user] [Beginner's Corner] - Example Jboss Spring CXF Endpoint application
pwattenbarger
do-not-reply at jboss.com
Tue Feb 28 16:09:33 EST 2012
pwattenbarger [https://community.jboss.org/people/pwattenbarger] created the discussion
"Example Jboss Spring CXF Endpoint application"
To view the discussion, visit: https://community.jboss.org/message/720350#720350
--------------------------------------------------------------
After reading a lot of documentation during our port of a Spring application from Tomcat to Jboss 6
I finally got it to work. I thought I would provide a simple example of what I did.
It does not use the .spring deployer but does use the snowdrop vfs capabilities for loading the Spring context.
Steps:
1. Copy your spring libraries to the $JBOSS_HOME/common/lib
These come from the target/WEB-INF/lib area after the maven build is done.
2. Make sure you have maven etc.
3. Change the jboss dir in the pom properties
4. Run mvn clean package jboss:harddeploy
Note: I am assuming that one knows how to use maven:
In your pom properties you need to change the jboss_home directory
I hope it saves you some time in your efforts to get Spring/Jboss working together.
Philip
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/720350#720350]
Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120228/c15e6b0c/attachment.html
More information about the jboss-user
mailing list