Open ESB

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(相关链接)
 
第99行: 第99行:
 
*http://download.huihoo.com/openesb/
 
*http://download.huihoo.com/openesb/
 
*http://docs.huihoo.com/openesb/
 
*http://docs.huihoo.com/openesb/
*Open ESB Starter Kit Documentation - http://java.sun.com/integration/openesb/documentation.jsp
+
*[http://java.sun.com/integration/openesb/documentation.jsp Open ESB Starter Kit Documentation]
 
*http://download.java.net/jbi/binaries/open-esb/main/nightly/latest/
 
*http://download.java.net/jbi/binaries/open-esb/main/nightly/latest/
 +
 
==精彩图集==
 
==精彩图集==
 
<gallery perrow=5>
 
<gallery perrow=5>

2010年11月2日 (二) 00:52的最后版本

Wikipedia-35x35.png 您可以在Wikipedia上了解到此条目的英文信息 Open ESB Thanks, Wikipedia.
Open-ESB.gif

Open ESB: JBI-based SOA integration platform

Java EE 5 SDK includes Project Open ESB Starter Kit, a subset of what is available from Project Open ESB. Open ESB Starter Kit provides Java EE developers an introduction to composite application development that uses SOA technology.

Project Open ESB Starter Kit includes the JBI runtime, a BPEL 2.0 Service Engine, and a SOAP binding component.

In addition to Open ESB Starter Kit, Java EE 5 SDK also provides NetBeans-based tools for creating JBI service assemblies, designing BPEL orchestration, and debugging composite applications.

Open ESB Starter Kit 包含:

  • JBI Framework: Runtime that implements a JBI instance.
  • BPEL Service Engine: Uses Business Process Execution Language (BPEL) to choreograph processes within a composite application.
  • HTTP SOAP Binding Component: Connects a JBI instance to external web services and also allows external clients to connect to the JBI instance.
  • Java EE Service Engine: Allows direct connection to EJB services within the hosting application server.
  • Ant Administration Interface: Manages a JBI instance.
  • BPEL Service Engine Examples: Provides an introduction to Open ESB Starter Kit. Accompanying documentation describes the examples and how to run them.

目录

[编辑] 新闻

自https://open-esb.dev.java.net/servlets/ProjectRSS?type=news加载RSS失败或RSS源被墙

[编辑] 安装指南

获得安装包, 
chmod a+x java_ee_sdk-5-soa_kit-preview-linux.bin
./java_ee_sdk-5-soa_kit-preview-linux.bin 进行图形化安装
选择安装目录 /home/huihoo/JavaEE5 ,事先创建这个目录

设置Admin属性

admin/adminadmin
Admin Port: 4848
HTTP Port: 8080
HTTPS Port: 8181

选择 Project Open ESB Starter Kit Add-on

以下产品将被安装

Java 2 SDK Standard Editor 5.0 
SUN Java System Message Queue 4.0 
Application Server
Add-ons // 这里指Open ESB Starter Kit

然后开始安装, 系统能很顺利的安装完成

2006-8-29 2:26:03 com.sun.jbi.installer.OpenEsbInstaller install
信息: "OpenESBDevPack successfully installed in <AppserverInstallDir>/addons/OpenESB"
启动服务器
bin/adadmin start-domain domain1 
http://localhost:4848 
admin/adminadmin

Domain listens on at least following ports for connections:[8080 8181 4848 3700 3820 3920 8686 ]

HTTP Port(s): 8080, 8181, 4848
IIOP Port(s):3700, 3820, 3920
JMX Port: 8686

JMX管理,可使用JConsoleMX4J等工具

JMXServiceURL:[service:jmx:rmi:///jndi/rmi://debian:8686/jmxrmi

[编辑] Components

[编辑] 测试用例

[编辑] BPEL Sample

设置环境: /home/huihoo/JavaEE5/addons/OpenESB/samples/build.properties

appserver.home=/home/huihoo/JavaEE5
jdk.home=/home/huihoo/JavaEE5/jdk
jbi.port=8686
jbi.home=${appserver.home}/addons/OpenESB
jbi.username=admin
jbi.password=adminadmin 

编译sample

/home/huihoo/JavaEE5/bin/asant clean
/home/huihoo/JavaEE5/bin/asant build-sa 
//Builds the service assembly that contains the HTTP SOAP binding component and the BPEL service engine.
/home/huihoo/JavaEE5/bin/asant deploy-sa //Deploys the service assembly.
/home/huihoo/JavaEE5/bin/asant start-sa //Starts the service assembly, making it ready to do work.

初试环境

/JavaEE5/config$ sh ./asenv.conf

运行build-test脚本

/JavaEE5/addons/OpenESB/samples/tester$ sh ./build-test 

运行run-test脚本

/JavaEE5/addons/OpenESB/samples/tester$ sh ./run-test

输出文件 echo.out

<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema" 
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"><SOAP-ENV:Header/><SOAP-ENV:Body><item xmlns="urn:Test6">
   <value>Hello World</value>
 </item></SOAP-ENV:Body></SOAP-ENV:Envelope>

停止服务

/home/huihoo/JavaEE5/bin/asant stop-sa
/home/huihoo/JavaEE5/bin/asant shutdown-sa
/home/huihoo/JavaEE5/bin/asant undeploy-sa

[编辑] JBI Demo

[编辑] Composite Application

[编辑] 相关链接

[编辑] 精彩图集

Comment-32x32.png

<discussion>characters_max=300</discussion>

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱