简体   繁体   English

将Axis2的简单模块或扩展实现为Eclipse项目

[英]Implementing simple modules or extensions for axis2 as an eclipse project

I wish to setup an eclipse project for implementing a simple module but not a service for axis. 我希望设置一个eclipse项目来实现一个简单的模块,而不是轴的服务。 I wonder if there're any templates I could use? 我想知道是否可以使用任何模板?

Secondly, I would like to ask if there are any information sources such as links around on how to build complex Axis2 applications in eclipse mainly focusing on module building as well 其次,我想问一下是否有任何信息源,例如有关如何在eclipse中构建复杂的Axis2应用程序的链接,以及主要侧重于模块构建的链接。

I appreciate your hints. 感谢您的提示。 Best regards, Alex 最好的问候,亚历克斯

I could come along with this issue with my own solution: 我可以通过自己的解决方案解决此问题:

Using an customized build.xml based on axis2 module builds I am able to build a module project in Eclipse using ant. 使用基于Axis2的模块上的定制的build.xml构建我能够使用Ant构建Eclipse的一个模块项目。 I trigger this via key shortcut. 我通过快捷键触发此操作。

The build.xml has an deploy.module target that puts the module back to the axis2 $HOME/repository folder. build.xml中有放模块回Axis2的$ HOME /存储库文件夹的deploy.module目标。 Running there ant build.xml will deploy axis2 at whole as an war-file (EAR) the module containing there within to be ready to deploy in a container such as jboss. 在此处运行ant build.xml将整个axis2作为war-file(EAR)部署在其中包含的模块中,以准备部署在诸如jboss的容器中。

The eclipse project is based on common java project (no dynamic web project) containing the $AXIS2/lib in CLASSPATH. eclipse项目基于包含CLASSPATH中的$ AXIS2 / lib的通用Java项目(无动态Web项目)。

Since Jboss supports hot deployment on update, you can run jboss in a terminal or withing eclipse. 因为Jboss支持在更新热部署,您可以在一个终端或withing Eclipse中运行JBoss的。 I customized the latter build.xml to support easy jboss deployment. 我定制了后者的build.xml以支持轻松的jboss部署。

This is a good solution for me. 这对我来说是一个很好的解决方案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM