Open ESB

来自开放百科 - 灰狐
2006年8月29日 (二) 16:52WikiSysop (讨论 | 贡献)的版本

跳转到: 导航, 搜索

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.

目录

安装指南

获得安装包, 
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

测试用例

设置环境: /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.

BPEL Sample

JBI Demo

Composite Application

相关链接

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

变换
操作
导航
工具箱