Skip to main content link. Accesskey S
  • Anonymous
  • Log on
  • Help
  • IBM logo
  • IBM Web Experience Factory wiki
  • All Wikis
  • Home
  • Community Articles
  • Product Documentation
  • Learning Center


Search

Advanced Search

Categories

Tag Cloud

  • 6.1
  • 6.1.2
  • 6.1.5
  • 6.1.5.1
  • 7.0
  • Ajax
  • Alerts
  • Annotations
  • attachment
  • best practices
  • BlackBerry
  • builder
  • builder faq
  • builders
  • charts
  • Code samples
  • Connections
  • css
  • Custom builder
  • CustomBuilder
  • dashboard
  • Data Access
  • data access faq
  • Data and variables
  • Database
  • Databases
  • Debugging
  • demo
  • demo models
  • demo projects
  • demo widget
  • demos
  • deployment
  • deployment faq
  • Deployment scenarios
  • development
  • dojo
  • Domino
  • faq
  • fixpack
  • General FAQ
  • getting started
  • Help
  • HTML
  • html templates
  • ILOG
  • integration
  • iPhone
  • JViews
  • Learning
  • Logging
  • lotus connections
  • Lotus Widget Factory
  • media dashboard
  • media pf
  • media widget
  • mobile
  • mobile smartphone development
  • Model development
  • new
  • Notifications
  • overview
  • page automation
  • Portal
  • Portal Integration
  • portal integration faq
  • Portlet
  • Portlet Factory 7
  • presentation
  • presentation faq
  • Profiling
  • Quickr
  • REST
  • rest faq
  • REST Service Call
  • restructure handler
  • rich ui
  • sample
  • sample application
  • samples
  • schema
  • Security
  • Smartphones
  • SOA
  • social
  • Source Control
  • sql
  • summary and drilldown
  • Team development
  • Troubleshooting
  • ui
  • User Interface
  • video
  • web 2.0
  • Web Experience Factory
  • Web Experience Factory 8
  • Web Services
  • websphere dashboard framework
  • wef
  • wpf
InformationInformation
You are currently viewing machine translated content. IBM translation might be available. Click IBM Translated Product Documentation to see what is available.X


Home > Samples and Techniques for Web Experience Factory > IBM - Creating a service provider from Java Beans
Rate this article 1 starRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

IBM - Creating a service provider from Java Beans 

expanded Abstract
collapsed Abstract
No abstract provided.

Background information


Most data access builders in IBM® WebSphere® Portlet Factory generate data in XML format (the IXml class internally). This XML format is required when creating a service provider model using the Service Definition and Service Operation builders. This sample shows how you can create a service provider from data that comes from Java Beans instead of XML. Once you have this provider, you get all the benefits of the provider/consumer architecture, such as automatic testing support, separation of data and presentation layers, and automatic support in the consumer model for high-level builders such as View & Form or Rich Data Definition.


Sample description


Here are some of the techniques illustrated in this sample:

    • Using the Java/XML Converter builder to handle the conversion between Java and IXml, and to generate a schema for the Bean structure.
    • In the consumer model, you can see the use of Rich Data Definition for validation, formatting, and UI control.
    • Also in the consumer model, the View & Form builder and Input Page builder are used to generate all the pages, including list, details, update, and create support.
Here are two screenshots of the running sample model, showing the list and update pages.


 Screenshot of the list page

 Screenshot of the update page


Notes on running the sample and prerequisites


Import the attached zip file into your project using the Import WebSphere Portlet Factory Archive command. The provider and consumer models are both in the samples/bean_service folder.


Download


bean_service_sample101707.zip


expanded Article information
collapsed Article information
Category:
Samples and Techniques for Web Experience Factory, Web Experience Factory, Samples and Techniques,
Tags:
Code samples, Data access

This Version: Version 11 July 29, 2010 4:24:50 PM by Keshi Dai  

expanded Attachments (3)
collapsed Attachments (3)

 


File TypeSizeFile NameCreated On
application/x-zip 8 KB bean_service_sample101707.zip 5/2/08 3:53 PM
image/gif 50 KB pic1.gif 5/2/08 3:53 PM
image/jpeg 43 KB pic2.jpg 5/2/08 3:53 PM
expanded Versions (11)
collapsed Versions (11)
Version Comparison     
Version Date Changed by               Summary of changes
This version (11) Jul 29, 2010 4:24:50 PM Keshi Dai  
10 Jan 15, 2010 8:23:41 PM Rob Flynn  
9 Dec 29, 2009 2:43:02 PM Rob Flynn  
8 Oct 27, 2008 12:12:51 PM DeAnna Steiner  
7 Sep 5, 2008 8:49:33 AM DeAnna Steiner  
6 Jun 23, 2008 9:50:16 AM Rob Flynn  
5 Jun 19, 2008 11:45:06 AM Rob Flynn  
4 Jun 19, 2008 11:44:55 AM Rob Flynn  
3 Jun 13, 2008 12:24:19 PM Rob Flynn  
2 May 30, 2008 4:01:51 PM Rob Flynn  
1 May 22, 2008 10:05:52 AM Rob Flynn  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedSubscribe to RSSHelpAbout
  • All Lotus and WebSphere Portal wikis
  • IBM developerWorks
  • IBM Software support
  • IBM Social Business User Experience Blog
  • IBMSocialBizUX on Twitter
  • IBMSocialBizUX on Facebook
  • Lotus product forums
  • IBM Social Business UX blog
  • IBM Collaboration Solutions
  • Recently added feedRecently added
  • Recently edited feedRecently edited
  • Recently added comments feedRecently Added Comments
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Contact IBM
  • IBM Terms of use
  • Wiki terms of use