博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Hibernate 、 Axis2发布
阅读量:6851 次
发布时间:2019-06-26

本文共 8040 字,大约阅读时间需要 26 分钟。

1. you just compile your web-service into aar file (not include bean files), copy the aar into axis2\WEB-INF\services.

2. all libs hibernate (and jar drivers), you have to copy in axis2\WEB-INF\lib.
3. all bean(include xx.hbm.xml files) classes which are must be in axis2\WEB-INF\classes.
4. that's all.

补充:

1.

hibernate.cfg.xml在webapps\axis2\WEB-INF\classes下。

2.

各类及xml在相应的路径中,如:

webapps\axis2\WEB-INF\classes\person中

Person.class,Person.hbm.xml,PersonWebservice.class

3.

personservice.aar放在webapps\axis2\WEB-INF\services

 

这是我一个测试的文件结构:

├─axis2-web│  │  ActivateService.jsp│  │  admin.jsp│  │  deleteService.jsp│  │  disengage.jsp│  │  EngageToServiceGroup.jsp│  │  engagingglobally.jsp│  │  engagingtoanoperation.jsp│  │  engagingtoaservice.jsp│  │  error.jsp│  │  errorModule.jsp│  │  globalModules.jsp│  │  HappyAxis.jsp│  │  InActivateService.jsp│  │  index.jsp│  │  LeftFrame.jsp│  │  listFaultyService.jsp│  │  listGroupService.jsp│  │  listModules.jsp│  │  listService.jsp│  │  ListServiceGroup.jsp│  │  listServices.jsp│  │  listSingleService.jsp│  │  Login.jsp│  │  MainFrame.jsp│  │  SelectService.jsp│  │  ServiceParaEdit.jsp│  │  TopFrame.jsp│  │  upload.jsp│  │  ViewContexts.jsp│  │  ViewGlobalHandlers.jsp│  │  viewphases.jsp│  │  viewServiceContext.jsp│  │  viewServiceGroupContext.jsp│  │  ViewServiceHandlers.jsp│  │  │  ├─css│  │      axis-style.css│  │      │  ├─Error│  │      AuthError.html│  │      error404.jsp│  │      error500.jsp│  │      GenError.html│  │      │  ├─images│  │      asf-logo.gif│  │      axis.gif│  │      axis.jpg│  │      axis_l.jpg│  │      │  └─include│          adminfooter.inc│          adminheader.inc│          adminheader.jsp│          footer.inc│          header.inc│          httpbase.jsp│          link-footer.inc│          link-footer.jsp│          ├─META-INF│      MANIFEST.MF│      ├─org│  └─apache│      └─axis2│          └─soapmonitor│              └─applet│                      SOAPMonitorApplet$ServiceFilterPanel.class│                      SOAPMonitorApplet$SOAPMonitorData.class│                      SOAPMonitorApplet$SOAPMonitorFilter.class│                      SOAPMonitorApplet$SOAPMonitorPage.class│                      SOAPMonitorApplet$SOAPMonitorTableModel.class│                      SOAPMonitorApplet$SOAPMonitorTextArea.class│                      SOAPMonitorApplet.class│                      └─WEB-INF    │  web.xml    │      ├─classes    │  │  commons-logging.properties    │  │  hibernate.cfg.xml    │  │  log4j.properties    │  │      │  ├─META-INF    │  │      LICENSE    │  │      NOTICE    │  │          │  ├─org    │  │  └─apache    │  │      └─axis2    │  │          ├─transport    │  │          │  └─http    │  │          │          AxisAdminServlet.class    │  │          │              │  │          └─webapp    │  │                  AdminAgent.class    │  │                  AxisAdminServlet.class    │  │                      │  └─person    │          HibernateUtil.class    │          Person.class    │          Person.hbm.xml    │          PersonDetail.class    │          PersonWebservice.class    │              ├─conf    │      axis2.xml    │      axis2.xml.bak    │          ├─lib    │      activation-1.1.jar    │      activation-LICENSE.txt    │      antlr-2-LICENSE.txt    │      antlr-2.7.7.jar    │      apache-mime4j-core-0.7.2.jar    │      apache-mime4j-core-LICENSE.txt    │      axiom-api-1.2.13.jar    │      axiom-api-LICENSE.txt    │      axiom-dom-1.2.13.jar    │      axiom-dom-LICENSE.txt    │      axiom-impl-1.2.13.jar    │      axiom-impl-LICENSE.txt    │      axis2-adb-1.6.2.jar    │      axis2-adb-codegen-1.6.2.jar    │      axis2-clustering-1.6.2.jar    │      axis2-codegen-1.6.2.jar    │      axis2-corba-1.6.2.jar    │      axis2-fastinfoset-1.6.2.jar    │      axis2-java2wsdl-1.6.2.jar    │      axis2-jaxbri-1.6.2.jar    │      axis2-jaxws-1.6.2.jar    │      axis2-jibx-1.6.2.jar    │      axis2-json-1.6.2.jar    │      axis2-kernel-1.6.2.jar    │      axis2-LICENSE.txt    │      axis2-metadata-1.6.2.jar    │      axis2-mtompolicy-1.6.2.jar    │      axis2-saaj-1.6.2.jar    │      axis2-soapmonitor-servlet-1.6.2.jar    │      axis2-spring-1.6.2.jar    │      axis2-transport-http-1.6.2.jar    │      axis2-transport-local-1.6.2.jar    │      axis2-xmlbeans-1.6.2.jar    │      bcel-5.1.jar    │      bcel-LICENSE.txt    │      c3p0-0.9.2.1.jar    │      commons-beanutils.jar    │      commons-cli-1.2.jar    │      commons-cli-LICENSE.txt    │      commons-codec-1.3.jar    │      commons-codec-LICENSE.txt    │      commons-collections.jar    │      commons-fileupload-1.2.jar    │      commons-fileupload-LICENSE.txt    │      commons-httpclient-3.1.jar    │      commons-httpclient-LICENSE.txt    │      commons-io-1.4.jar    │      commons-io-LICENSE.txt    │      commons-lang.jar    │      commons-logging-1.1.1.jar    │      commons-logging-LICENSE.txt    │      commons-logging.jar    │      dom4j-1.6.1.jar    │      ezmorph-1.0.6.jar    │      geronimo-annotation-LICENSE.txt    │      geronimo-annotation_1.0_spec-1.1.jar    │      geronimo-jaxws-LICENSE.txt    │      geronimo-jaxws_2.2_spec-1.0.jar    │      geronimo-jta-LICENSE.txt    │      geronimo-jta_1.1_spec-1.1.jar    │      geronimo-saaj-LICENSE.txt    │      geronimo-saaj_1.3_spec-1.0.1.jar    │      geronimo-stax-api-LICENSE.txt    │      geronimo-stax-api_1.0_spec-1.0.1.jar    │      geronimo-ws-metadata-LICENSE.txt    │      geronimo-ws-metadata_2.0_spec-1.1.2.jar    │      hibernate-c3p0-4.2.5.Final.jar    │      hibernate-commons-annotations-4.0.2.Final.jar    │      hibernate-core-4.2.5.Final.jar    │      hibernate-entitymanager-4.2.5.Final.jar    │      hibernate-jpa-2.0-api-1.0.1.Final.jar    │      httpcore-4.0.jar    │      httpcore-LICENSE.txt    │      jalopy-LICENSE.txt    │      javassist-3.15.0-GA.jar    │      jaxb-api-2.1.jar    │      jaxb-api-LICENSE.txt    │      jaxb-impl-2.1.7.jar    │      jaxb-impl-LICENSE.txt    │      jaxb-xjc-2.1.7.jar    │      jaxb-xjc-LICENSE.txt    │      jaxen-1.1.1.jar    │      jaxen-LICENSE.txt    │      jaxws-tools-2.1.3.jar    │      jaxws-tools-LICENSE.txt    │      jboss-logging-3.1.0.GA.jar    │      jboss-transaction-api_1.1_spec-1.0.1.Final.jar    │      jettison-1.0-RC2.jar    │      jettison-LICENSE.txt    │      jibx-bind-1.2.jar    │      jibx-bind-LICENSE.txt    │      jibx-run-1.2.jar    │      jibx-run-LICENSE.txt    │      json-lib-2.4-jdk15.jar    │      jsr311-api-1.0.jar    │      jsr311-api-LICENSE.txt    │      juli-6.0.16.jar    │      juli-LICENSE.txt    │      log4j-1.2.15.jar    │      log4j-LICENSE.txt    │      mail-1.4.jar    │      mail-LICENSE.txt    │      mchange-commons-java-0.2.3.4.jar    │      mex-1.6.2-impl.jar    │      neethi-3.0.2.jar    │      neethi-LICENSE.txt    │      regexp-1.2.jar    │      regexp-LICENSE.txt    │      spring-asm-3.2.0.M1.jar    │      spring-beans-3.2.0.M1.jar    │      spring-core-3.2.0.M1.jar    │      sqljdbc4.jar    │      tribes-6.0.16.jar    │      tribes-LICENSE.txt    │      woden-api-1.0M9.jar    │      woden-api-LICENSE.txt    │      woden-impl-commons-1.0M9.jar    │      woden-impl-commons-LICENSE.txt    │      woden-impl-dom-1.0M9.jar    │      woden-impl-dom-LICENSE.txt    │      wsdl4j-1.6.2.jar    │      wsdl4j-LICENSE.txt    │      wstx-asl-3.2.9.jar    │      wstx-LICENSE.txt    │      xalan-2.7.0.jar    │      xalan-LICENSE.txt    │      xml-resolver-1.2.jar    │      xml-resolver-LICENSE.txt    │      xmlbeans-2.3.0.jar    │      xmlbeans-LICENSE.txt    │      XmlSchema-1.4.7.jar    │      XmlSchema-LICENSE.txt    │          ├─modules    │      addressing-1.6.2.mar    │      axis2-jaxws-mar-1.6.2.mar    │      mex-1.6.2.mar    │      modules.list    │      mtompolicy-1.6.2.mar    │      ping-1.6.2.mar    │      scripting-1.6.2.mar    │      soapmonitor-1.6.2.mar    │          ├─POJO    │      SimpleService.class    │          └─services            Axis2WB.aar            personservice.aar            services.list            version-1.6.2.aar

 

 

转载地址:http://fhuyl.baihongyu.com/

你可能感兴趣的文章
每周一书《大数据搜索引擎原理分析及编程实现》分享!
查看>>
【网优谷】如何快速写出有吸引力的网站标题?
查看>>
Linux运维之lLinux文件系统及文件类型
查看>>
网站SEO优化过程中什么样的文章容易被秒收
查看>>
stata初学者常用命令语
查看>>
tomcat的安装
查看>>
深入理解并行编程4
查看>>
Internet Connection speeds
查看>>
puppet运维自动化之puppet模块示例
查看>>
如何让云×××:VIS Creator 带给您一个市场领先的私有云管理平台
查看>>
获取各个ISP运营商IP地址修正版[菜鸟级]
查看>>
python核心编程--第五章
查看>>
我的友情链接
查看>>
关于Mac系统中SequelPro工具对于Mysql数值类型nt(M)存值的bug
查看>>
Linux下重置MySQL的Root帐号密码
查看>>
下一个目标-百度
查看>>
百度地图API学习之路(2)
查看>>
dell服务器硬盘的状态变成外来(foreign)
查看>>
redhat6.4更换centos 6 的 yum源
查看>>
jsquery问题
查看>>