RBDe7 new feature: EGL is integrated into Portlet Project!
来源:互联网 发布:长城宽带 封端口 编辑:程序博客网 时间:2024/05/28 23:13
just finished a small portlet test, I am so excited to know EGL is intergated into Portlet in Rational Business Developer 7.0, which means, Portlet is not anymore Java based, it could be EGL based!
IBM EGL guys are making a great job, they focus on releasing software developer's burden and let us pay more attention on planning and designing businness logic. There are a lot of remarkable changes in this new version, like this one!
Working Envrionment:
RAD7.0.0.0
RBDe 7.0
WebSphere Portal Server 6.0
WebSphere Application Server 6.1
Sample Description:
This sample is EGL based portlet talks with EGL Model layer through Web Service. The HelloService accepts a person's name and the name of a city, and returns a string combing the two, such as "Xu, welcome to Innsbruck!" which is displayed on the portlet.
Main steps to create Sample Project
The sample structure is like:
EGLService is the Model Layer
PortletClient is Portlet View Layer which talks to Web Service in EGL
EGLClient is the EGL View Layer which talks to Web Service in EGL
Model Layer
Model Layer is a simple Web Service in EGL. The service cod is:
To make it availabe to other application as a web service, you need to create service binding informaiton, which tells other application where to find the service and what funcitons are availabe. The service publishes this information as a WSDL file. The service binding information is contained in an EGL deployment descriptor, here is ServiceDD:
Next, you set the ServiceDD into EGL builder descriptor. The builder descriptor file contains build descriptor options, which describe how EGL will generate your project into the output language.
Portlet View Layer
To add EGL Facets in Portlet Project
- right-click on the Portlet project and select Properties
- select "Project Facets" and click on "Add/Remove Project Facets"
- add Facets: JSTL, Base Faces support, Enhanced Faces components, EGL support with JSF, EGL support with JSF Component Interfaces
- click Next
- click Finish
The PortletClient2View.egl:
Create the deployment descriptor file, this file will hold the information about where to find services:
If you run the sample in webSphere server, you should set class load option to Parent_Last in the Deployment Descriptor file: PortletClientEAR:
Create the java code for PortletClient Project, and run it in Portal Server.
You can find the whole EGLService + EGLClient Sample at: Hello World: Learn how to create a Java Web service using Rational Business Developer ExtensionNow the next question comes, how to make coopertaive EGL portlets? To be continued...
- RBDe7 new feature: EGL is integrated into Portlet Project!
- eclipse:Project is already imported into workspace
- New Windebug Is Coming With Greate Feature Of CallStack!
- integrated dev into product env.
- Oracle E-Business Suite Release 12.2 New Feature - Global Lot Attributes Project
- What Is a Portlet
- 一个project有两个portlet
- PHP 5.3 new feature
- New Feature in JDK7
- C# 4.0 New Feature
- java 7 new feature
- egl
- EGL
- What is portal? & What is portlet?
- oracle 11g new feature
- DB2 V9.1 New Feature
- Android2.0 build new feature
- android new feature on 4.2
- 2007年,7月1日
- 深入探讨this指针(zz)
- how to use the X file (C++/DirectX)
- 经典的英文歌曲
- SQL中各数据类型的长度、精度
- RBDe7 new feature: EGL is integrated into Portlet Project!
- Turorial of buliding Windows Mobile development Enviroment
- 备注
- js实现滚动效果
- AAN算法描述及其实现
- 一个老的程序设计题(出处:百度之星编程大赛)
- 四级单词文本 封面上有个青蛙跳的那个版本
- Skeletal Animation
- 今天进行到了6.9. Glibc-2.3.6