|
|
Maven archetypes |
When you are starting with XFire project, you can use maven archetype to create whole projects structure for you. Currently there are available following achetypes:
To use any of these archetypes you need to execute following command :
mvn archetype:create -DarchetypeGroupId=org.codehaus.xfire /
-DarchetypeArtifactId=xfire-jsr181-simple /
-DarchetypeVersion=1.0-SNAPSHOT -DgroupId=<YOUR_PROJECT_GROUP_ID> /
-DartifactId=<YOUR_PROJECT_ID> /
-DremoteRepositories=snapshots.repository.codehaus.org/
After this command is finished you can run mvn package and deploy fully functional web application ( war file from target folder ) to your preferred application server. When you make sure everything is working fine, you can start modifying generated service class with your favorite IDE.