Welcome!

Weblogic Authors: Yeshim Deniz, Elizabeth White, Michael Meiner, Michael Bushong, Avi Rosenthal

Related Topics: Weblogic

Weblogic: Article

BEA WebLogic Workshop 8.1

BEA WebLogic Workshop 8.1

Last year, BEA introduced WebLogic Workshop, a revolutionary product based on declarative annotations that took away most of the pain and aggravation of developing J2EE-based Web services on the WebLogic Application Server platform. Not being satisfied with just Web services, BEA extended this technology, with WebLogic Workshop 8.1, to include Web applications, portals, and other J2EE integration- based applications.

New Features
For development of loosely coupled applications that can maintain their public contract while underlying data structures change, Workshop 8.1 includes support for XML Schema and XQuery Mapping. Based on the XQuery XML standard, the visual mapping tool allows you to map XML elements to Java data elements with simple point-and-click operations (see Figure 1). In addition to straight one-to-one mapping, you can also use a number of built-in XQuery functions such as "concat," allowing you to combine various fields into one. All of the hard work of handling the complex data transformations is performed automatically.

In addition to XQuery, Workshop 8.1 provides support for XMLBeans, a strongly typed Java object interface for XML data that allows a developer to manipulate raw XML data using the productivity and flexibility benefits of the Java language.

Java Controls
WebLogic Workshop 8.1 includes a number of new Java Controls to help you connect to various IT assets, including FTP, e-mail, Tuxedo, Portal, and Integration Controls. Remember that as a developer, interacting with a Java Control is as easy as setting properties and handling events. The control itself handles all the hard parts, especially important as you begin to interface with more complex products such as Tuxedo.

Developing Java Controls is easy using Workshop's visual development environment. For those not familiar with it, Java Controls provide a simplified interface for accessing information from external resources, including databases, external Web services, and EJB components. A Java Control provides familiar interfaces, including methods, events, and property settings. A Java Control, similar to a JavaBean, can be dropped into an application or Web service on the Visual Workshop IDE. Controls can be used in any platform and are easily reusable, thereby optimizing developer efficiency. All the developer needs to do is link the application logic to the control. In addition to the standard list of controls for database access, EJBs, and so on. Workshop now allows you to create your own custom controls for proprietary legacy applications, opening the door for custom third-party vendors to develop and sell Java Controls.

Framework Extensions
WebLogic Workshop also includes framework extensions for developing portal and advanced workflow-based applications that work in conjunction with WebLogic Portal 8.1 and WebLogic Integration 8.1, providing WebLogic developers with a single IDE for a variety of application types.

Web Service Improvements
WebLogic Workshop 8.1 now supports both RPC and document-literal Web services, including support with WS-Security making it easy to integrate with .NET-based Web services. Here I couldn't resist. Using the Order Entry Service example that comes with Workshop, I fired up Microsoft Visual Studio .NET and was quickly able to create a .NET client for the Workshop example and execute the service from a .NET ASP application. Amazingly, it all took under 5 minutes and worked the first time.

Java Pageflow View
One of the major new changes to Workshop is the introduction of a visual development interface for Java Pageflow (JPF) files. Based on the Struts model-view-controller (MVC) architecture, the visual interface allows you to see the flow of a Web application including user action decision flow and business logic. Tag libraries and drag-and-drop wizards are included to help you bind information on each page to external data sources, including databases, Web services, and Java controls. Workshop automatically provides support for sessions and state management, making this one serious development IDE. Gone are the days when all of your JSP files were thrown into a jumbled directory heap.

IDE Improvements
For those of us who need all the help we can get when coding and debugging our Java code, WebLogic Workshop 8.1 comes with a number of IDE improvements to help us identify and correct troublesome code. I especially like the red lines on the editor's vertical scroll bar that identifies the location of coding errors.

The WebLogic Workshop 8.1 IDE is well organized and provides you with various views, editors, property panels, etc., to assist you in your development work (see Figure 2). When using prebuilt Java Controls to your back end, you can literally create a Web service as fast as you can drag and drop Java Controls and methods in the design view panel.

What makes Workshop so powerful is that at any time you can compile, deploy, and test your code, all from the same IDE - allowing for an iterative "write-and-run" approach to development. This is something that would not be possible in the iterative sense if you had to handle all of the configuration and deployment details yourself. One aspect of the test browser that I thought might have been improved on for this release is having Workshop automatically create a test form for the Web service request. You still have to manually edit a skeleton version of the SOAP request in an edit box, something that can be rather tedious and error prone, especially if the number of parameters in the request grows.

Platform Support
WebLogic Workshop 8.1 is supported on both Windows 2000 and XP operating systems. For Linux users, it is also supported on Red Hat Advanced Server 2.1. For Sun Microsystems 8 and 9 and HP-UX 11.0 and 11i, only runtime versions (deployed application and Web services) are supported.

WebLogic Workshop 8.1 increases the productivity level of your development team by handling most of the hard-core J2EE "plumbing" work. Using BEA best practices, Workshop performs EJB configuration and deployment, JMS setup and configuration, and other tedious and unexciting activities associated with J2EE development. All of this work takes plenty of CPU and memory, so make sure that your development workstation is up-to-date.

Installation
As usual, installation was very straightforward, although I forgot for the umpteenth time what I entered for the admin password. Make sure you jot it down; it's not as easy to recover the password as it used to be.

Conclusion
BEA WebLogic Workshop 8.1 is a powerful tool for developing sophisticated J2EE-based applications requiring integration with Web service-based assets both within the enterprise and abroad. Workshop 8.1 allows anyone with minimal Java coding skills to do some fairly complex J2EE development. Its power and ease of use take most of the drudgery out of J2EE development, and present a new level of competition for completing architectural platforms that make a similar claim - specifically Visual Studio .NET.

SIDEBAR

Company Information:
BEA Systems, Inc.
2315 North First Street
San Jose, CA 95131
Tele: 1.800.817.4232

Web: www.bea.com
E-mail: [email protected]

Download Information:
Free one-year development subscription at
http://dev2dev.bea.com/subscriptions/index.jsp

Testing Environment:
OS: Windows-XP
Hardware: 1GHZ Athlon, 1G RAM

More Stories By Joe Mitchko

Joe Mitchko is the editor-in-chief of WLDJ and a senior technical specialist for a leading consulting services company.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


IoT & Smart Cities Stories
DXWorldEXPO LLC announced today that Telecom Reseller has been named "Media Sponsor" of CloudEXPO | DXWorldEXPO 2018 New York, which will take place on November 11-13, 2018 in New York City, NY. Telecom Reseller reports on Unified Communications, UCaaS, BPaaS for enterprise and SMBs. They report extensively on both customer premises based solutions such as IP-PBX as well as cloud based and hosted platforms.
To Really Work for Enterprises, MultiCloud Adoption Requires Far Better and Inclusive Cloud Monitoring and Cost Management … But How? Overwhelmingly, even as enterprises have adopted cloud computing and are expanding to multi-cloud computing, IT leaders remain concerned about how to monitor, manage and control costs across hybrid and multi-cloud deployments. It’s clear that traditional IT monitoring and management approaches, designed after all for on-premises data centers, are falling short in ...
The deluge of IoT sensor data collected from connected devices and the powerful AI required to make that data actionable are giving rise to a hybrid ecosystem in which cloud, on-prem and edge processes become interweaved. Attendees will learn how emerging composable infrastructure solutions deliver the adaptive architecture needed to manage this new data reality. Machine learning algorithms can better anticipate data storms and automate resources to support surges, including fully scalable GPU-c...
A valuable conference experience generates new contacts, sales leads, potential strategic partners and potential investors; helps gather competitive intelligence and even provides inspiration for new products and services. Conference Guru works with conference organizers to pass great deals to great conferences, helping you discover new conferences and increase your return on investment.
Poor data quality and analytics drive down business value. In fact, Gartner estimated that the average financial impact of poor data quality on organizations is $9.7 million per year. But bad data is much more than a cost center. By eroding trust in information, analytics and the business decisions based on these, it is a serious impediment to digital transformation.
We are seeing a major migration of enterprises applications to the cloud. As cloud and business use of real time applications accelerate, legacy networks are no longer able to architecturally support cloud adoption and deliver the performance and security required by highly distributed enterprises. These outdated solutions have become more costly and complicated to implement, install, manage, and maintain.SD-WAN offers unlimited capabilities for accessing the benefits of the cloud and Internet. ...
Business professionals no longer wonder if they'll migrate to the cloud; it's now a matter of when. The cloud environment has proved to be a major force in transitioning to an agile business model that enables quick decisions and fast implementation that solidify customer relationships. And when the cloud is combined with the power of cognitive computing, it drives innovation and transformation that achieves astounding competitive advantage.
SYS-CON Events announced today that Silicon India has been named “Media Sponsor” of SYS-CON's 21st International Cloud Expo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Published in Silicon Valley, Silicon India magazine is the premiere platform for CIOs to discuss their innovative enterprise solutions and allows IT vendors to learn about new solutions that can help grow their business.
DXWorldEXPO LLC announced today that "IoT Now" was named media sponsor of CloudEXPO | DXWorldEXPO 2018 New York, which will take place on November 11-13, 2018 in New York City, NY. IoT Now explores the evolving opportunities and challenges facing CSPs, and it passes on some lessons learned from those who have taken the first steps in next-gen IoT services.
SYS-CON Events announced today that CrowdReviews.com has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5–7, 2018, at the Javits Center in New York City, NY. CrowdReviews.com is a transparent online platform for determining which products and services are the best based on the opinion of the crowd. The crowd consists of Internet users that have experienced products and services first-hand and have an interest in letting other potential buye...