Talend ESB Service Recommended Project Structure
Developers are encouraged, whenever feasible, to have the following project structure for
developing JAX-WS and JAX-RS applications.
Folder |
Description |
---|---|
client | Provides the client for interacting with the deployed service. Usually activated by navigating to this folder and entering mvn exec:java (see the README file for the particular project for any project-specific information.) |
common | Consists of common resource classes, JAXB objects, and any other objects usable by both the client and service modules. |
service | Provides the service implementation code. Used both by the war project for servlet deployment and as an OSGi bundle for the Talend Runtime Container. |
war | Provides a deployable WAR that can be used with servlet containers such as Jetty or Tomcat. Consists mainly of the web.xml and Spring beans.xml file indicating resources and providers that need loading. The Talend Runtime Container does not need this module. |