spacer

spacer

spacer
RightHeader to replace this content -->

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:

  •  xfire-jsr181-simple - which creates simple web application with one service class annotated with @WebService,  web.xml configured for XFireConfigurableServlet  and services.xml which set service factory  to AnnotationServiceFactory.
  •  xfire-aegis-simple - which creates web application similar to the one described above, except that it doesn't use annotations (uses ObjectServiceFactory as factory and aegis mapping file for service configuration ).

 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.

Codehaus XFire

  • Home
  • Bug/Issue Reporting
  • Download
  • Eclipse Plugin
  • Maven Archetypes
  • FAQ
  • Get Involved
  • License
  • News
  • Performance
  • Stack Comparison
  • Support/Mailing Lists
  • Team
  • Who uses XFire
  • XFire and Celtix Merge

Documentation

  • Articles
  • Javadocs
  • User's Guide
  • Release Notes

Quicklinks

  • Aegis Binding
  • Bindings
  • Client
  • JAXB 2.0
  • JSR 181 Annotations
  • Spring

Developers

  • Developer Space
  • Source Repository
  • Building
  • Architecture
  • Interesting Projects
  • Roadmap
  • Release Process
  • JAX-WS

Sponsors

Feeds

Operations

Links

© 2003-2008 Codehaus
gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.