|
Comments
|
Today's Top SOA Links
Features Web Application Development in Sybase WorkSpace 1.5
Building Web apps in a graphical environment with a WYSIWYG experience
By: Jean Choi; Geogy Zachariah
Oct. 30, 2006 01:45 PM
This article describes the architecture and features of the Web application development tooling in WorkSpace 1.5, how to develop these powerful JSF DataWindow components, and then use them in a JSF Web application, as well as how to integrate Web applications into a Service Oriented Architecture.
Web application development tooling in Sybase WorkSpace 1.5 provides full support for JSF application development. It provides a visual page designer that supports a WYSIWYG development experience to help customize the look-and-feel of the Web page. It provides a data-binding feature to help you bind the presentation to business logic using drag-and-drop. It uses patented DataWindow technology to bring the convenience of codeless development of data-driven applications to Web applications via a JavaServer Faces component. By simple visual drag-and-drop, one can develop very powerful JSF DataWindow components in various display styles. The DataWindow engine has the intelligence to update, create, and delete the data source, freeing the developer to code only the business logic.
Web Application Development Architecture
Eclipse Perspectives The Web application development perspective (see Figure 2) provides a navigation view that displays Web projects and their components in a tree view. It provides a Web page designer that delivers a graphical and text-based development experience to design and develop Web pages in a WYSIWYG environment. It provides a JSF configuration editor, which is a form-based editor allowing the application to be customized in a visual environment. The JSF configuration editor is Open Source and contributed to the Eclipse JSF project. A resource bundle editor is provided that allows for externalizing strings used in the internalized application. A form-based editor allows for customizing an application in the web.xml file. The debugging perspective lets you debug and test the business logic and JSF pages in a runtime environment. You can watch variables and call stacks, step-by-step debug into pages as well as business components.
Web Project and JSF Artifacts Creation Web page creation wizards are also provided to guide you in creating JSF pages, HTML pages, and regular JSP pages from pre-built templates. Any customized templates can be imported into the project besides the defaults for the application to use. After the pages are created, any pages can be tested and debugged on the configured EAServer 5.3 or Tomcat 5.0 runtime server.
Customizing Pages in the WYSIWYG Page Editor A palette view consists of all Web page controls, including HTML, JSP, and JSF controls, which are simply dragged and dropped to the canvas of the graphical editor or to the source of the text-based editor. When a control is dropped, a widget will be displayed on the canvas and a tag associated with the control with required attributes will be inserted in the page. For example, if a CommandButton is dragged and dropped onto either the canvas or the source code panel, a button widget will be displayed on the canvas: The following code will be generated in the JSP file automatically: <h:commandButton value="CommandButton"></h:commandButton> A Properties View is provided to modify the attributes of each widget in the canvas. This is a multi-tab view that consists of a "Quick Edit" tab and an "Attributes" tab. The "Quick Edit" tab displays the tag's most commonly used attributes with dialog fields for easily entering or updating the values of each attribute. All other attributes are hidden in the "Attributes" tab and listed in a table format, where you can enter and update the values of any attribute. When entering or modifying attributes in the Properties View, you can enter either the attribute's actual value or click on the binding button to display a value binding dialog. This dialog will list out all available properties and methods in the JavaBeans and let you bind the value to an expression, a property, or a method in a JavaBean. Reader Feedback: Page 1 of 1
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
|
SYS-CON Featured Whitepapers
Most Read This Week |
|||||||||||||||||||||||||||