Welcome!

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

Related Topics: Weblogic

Weblogic: Article

Together ControlCenter Accelerator for WebLogic Workshop

Together ControlCenter Accelerator for WebLogic Workshop

Before I dig into this review, I should let it be known that I have a lengthy background in, and preference for, command-line tools. Scripting is my thing. I love tools like Ant, Cactus, XDoclet, and EJBGen. I get frustrated when I'm dealing with tools that make it hard to peek behind the scenes to see what's going on. Generally, I don't get excited about IDEs. I certainly understand and respect their value (especially when dealing with something as complex as J2EE design, development, and deployment). I take advantage of whatever IDE my current client has standardized on to perform such tasks as remote debugging, EJB entity bean/database mapping, and so on.

I'm a fan of the BEA Weblogic Workshop 7.0 IDE's look and feel. It is amazingly lightweight and really intuitive. As nice as the Workshop IDE was, though, it was narrowly focused and stand-alone (you have to go elsewhere to model and develop your server-side components).

This brings us to this review: the ControlCenter Accelerator for BEA WebLogic Workshop. Accelerators are ControlCenter plug-ins that integrate additional features into the product. For those not in the know, I'll briefly describe the WebLogic Workshop technology, and then get into the review itself .

BEA WebLogic Workshop
WebLogic Workshop simplifies the development, deployment, and debugging of Web services. Workshop also provides transparent message buffering and stateful Web services with conversational capabilities. Workshop developers are provided with several out-of-the-box "controls" that allow you to easily expose any number of back-end J2EE components as Web services. It uses a "javadoc"-style metadata facility to describe the Web services without necessarily having to know the Java programming language. The metadata is used to generate the appropriate Java classes that implement the Web services. Workshop consists of two separate implementations: the server-side components embedded into WebLogic Server and the associated IDE. The Accelerator interacts with the server-side components and integrates the functionality of the Workshop IDE within ControlCenter.

Installation/Configuration
Installation is a breeze. Just execute the Accelerator install program and go (ensure that you already have ControlCenter 6.0.1 installed first).

Once installed, configuration is simply a matter of going into ControlCenter's Tools->Options->Default Level, selecting the Web services node in the options hierarchy, and then BEA WebLogic Workshop within this node. Enter the information about your specific WebLogic Workshop Domain and save it. If you don't yet have a Workshop Domain set up, you can use the WebLogic Platform's domain wizard to do this (selecting the Workshop domain type). Figure 1 shows a sample Accelerator configuration.

Features
The following list represents the major features of the ControlCenter Workshop Accelerator. The example that follows illustrates these features while developing a simple EJB and exposing it through a Workshop Web service.

  • WebLogic Workshop Diagrams: Provide new Web service diagrams. Add Web services and controls, and connect them visually while staying synchronized with the source code.
  • JWS and CTRL editing: Because JWS files and CTRL files are Java class files, developers can take advantage of ControlCenter's powerful editing features, which include code sense, syntax highlighting, and macros.
  • Control creation: Create controls from Web services, whether they are JWS files or defined by WSDL (Web Service Definition Language). Create database controls from ER diagrams, or EJB controls from existing EJBs.
  • Deployment: Deploy and test with the click of a button.

    Accelerator Example
    The following example demonstrates some of the capabilities of the Accelerator. I'll create a "Hello World" session EJB and deploy it to the WebLogic server. In addition, I'll access the EJB in a Web service using a Workshop EJB control.

    Step 1: Setting Up the Project
    We'll set up the project by creating a Web service diagram.

  • Click the New Diagram button on the horizontal menu bar of the Designer Pane to open the New Diagram dialog.
  • Select the Together tab in the dialog and then choose the Web service diagram type.
  • For Diagram name, enter "HelloWorldServiceDiagram" and then click OK.
  • Click the Start WebLogic Server button on the horizontal menu to start the server.

    Step 2: Modeling the EJB
    Now you'll design the HelloWorld session EJB. In addition, you'll add the EJB to an assembler diagram so that you can deploy the EJB. (An assembler diagram represents a .jar file that contains the EJB.)

  • From the Designer pane, select the tab for the <default> diagram.
  • Click the Session EJB button on the vertical toolbar. Click on the diagram where you want to place the EJB.
  • Rename the EJB to "HelloWorldSessionBean".
  • Right-click the EJB and choose New | Business Method.
  • In the Designer pane, rename the method as follows:

    +sayHello:String

  • In the Editor pane, add the following return statement for the method:

    public String sayHlelo(){
    return "Hello World";
    }

  • Click the New Diagram button on the horizontal menu bar of the Designer Pane. The New Diagram dialog opens.
  • Select the Together tab in the dialog and then choose EJB Assembler.
  • For Diagram name, enter "helloWorldJAR" and click OK.
  • Make sure that helloWorldJAR is open in the Designer pane. Go to the Explorer pane, right-click on the HelloWorldSessionBean, and choose Add as Shortcut. The EJB appears in the assembler diagram.

    Step 3: Modeling the Web Service and EJB Control
    We'll create an EJB control for the session EJB created in the previous step. In addition, we'll model a Web service that instantiates the EJB control.

  • From the Designer pane, select the tab for HelloWorldServiceDiagram.
  • Click the Generate EJB Control from EJB existing in Model button on the horizontal menu bar. The Select EJB(s) from deployment diagram dialog opens.
  • Click the file chooser button and expand the Model node.
  • Select the helloWorldJAR node and click OK.
  • Click OK to add HelloWorldSessionBean Control to your Web service.
  • Click the Web service button on the vertical toolbar and then click on the diagram.
  • Rename the Web service "HelloWorldService".
  • Use the Web Service Association Link button on the vertical toolbar to connect the Web service with the EJB control. Note that the link also generates an instance of the EJB control in the Web service named "myHelloWorldSessionBeanControl".
  • Rename the instance variable "myEJB". Figure 2 shows the updated HelloWorld Service Diagram

    Step 4: Building the Project
    We'll add functionality to our Web service so that a client user on the Web can see the result of calling the session EJB's sayHello() method. Specifically, we will add a method that can access the EJB using the EJB control.

  • From the HelloWorldServiceDiagram, select HelloWorldService and then click the Add Method button on the horizontal menu bar. This adds a method called method1() to the Web service.
  • In the Designer pane, rename the method signature as follows:

    +callMyEJB():String

  • In the Editor pane, code the implementation for this method as follows:

    /** @jws:operation */
    public String callMyEJB()throws java.rmi.RemoteException {
    return myEJB.sayHello();
    }

    Note: When we used the Add Method button in the previous step, Together ControlCenter automatically inserted the /** @jws:operation */ tag.

    Step 5: Deploying the Project
    We'll deploy our project by testing the Web service in a Web browser.

  • Select HelloWorldService in the diagram and click the Test Web Service button on the horizontal menu bar of the Designer pane. The Deployment Expert for the helloWorldJAR diagram appears.
  • Uncheck the Open XML editor for the generated Deployment Descriptor(s) option.
  • Check the Hot Deploy to server option.
  • Accept the remainder of the default settings for the expert, clicking Next to continue and then click Finish. After deployment, a Web browser opens.
  • In the Web browser, select the Test Form tab.
  • Click the callMyEJB button to call the session EJB.
  • Verify the result of the operation. The EJB should return the string "Hello World".

    Summary
    The really nice thing about this product (and, really, its main reason for being) is that it takes the powerful, but relatively narrowly focused and stand-alone, feature set of the WebLogic Workshop 7.0 IDE and integrates it into ControlCenter's comprehensive J2EE design, development, deploy environment. This enables a developer to intermix Workshop Web services development with that of EJBs, servlets, JSPs, and Apache SOAP Web services, among others, while utilizing ControlCenter's modeling, refactoring, design pattern support, and documentation-generation capabilities.

    Product contact info:
    Borland Software Corporation
    100 Enterprise Way
    Scotts Valley, CA 95066-3249 USA
    Ph: (831) 431-1000

    Customer Service:
    [email protected]

    Corporate and Government Sales West/Central:
    1 (800) 632-2864
    East: 1 (800) 662-2667

    Platform Requirements
    The ControlCenter Accelerator for Workshop requires ControlCenter version 6.0.1 and integrates with WebLogic Workshop 7.0. It is supported on Microsoft Windows (NT, 2K, XP), Linux, and Solaris.

    This Accelerator requires that the following software is installed on your system:

  • Together ControlCenter 6.0.1 or higher
  • BEA WebLogic Server 7.0 or higher
  • BEA WebLogic Workshop 1.0 or higher

    Download
    www.togethersoft.com/developers/integrations/ beawlw_download.jsp?c=205

    Pricing
    The price for the Accelerator is $500.00.

  • More Stories By Steve Buzzard

    Steve Buzzard is currently working as a J2EE principal architect with Anexinet Corporation (www.anexinet.com), a leading systems integration firm headquartered in Philadelphia, with offices in New York and Washington D.C. Steve has over 19 years of experience in professional software development and has been working almost exclusively with the WebLogic Technology Stack since late 1998.

    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.


    @ThingsExpo Stories
    SYS-CON Events announced today that Taica will exhibit at the Japan External Trade Organization (JETRO) Pavilion at 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. Taica manufacturers Alpha-GEL brand silicone components and materials, which maintain outstanding performance over a wide temperature range -40C to +200C. For more information, visit http://www.taica.co.jp/english/.
    SYS-CON Events announced today that Nihon Micron will exhibit at the Japan External Trade Organization (JETRO) Pavilion at 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. Nihon Micron Co., Ltd. strives for technological innovation to establish high-density, high-precision processing technology for providing printed circuit board and metal mount RFID tags used for communication devices. For more inf...
    SYS-CON Events announced today that SourceForge 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. SourceForge is the largest, most trusted destination for Open Source Software development, collaboration, discovery and download on the web serving over 32 million viewers, 150 million downloads and over 460,000 active development projects each and every month.
    Enterprises have taken advantage of IoT to achieve important revenue and cost advantages. What is less apparent is how incumbent enterprises operating at scale have, following success with IoT, built analytic, operations management and software development capabilities – ranging from autonomous vehicles to manageable robotics installations. They have embraced these capabilities as if they were Silicon Valley startups. As a result, many firms employ new business models that place enormous impor...
    SYS-CON Events announced today that MIRAI Inc. will exhibit at the Japan External Trade Organization (JETRO) Pavilion at 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. MIRAI Inc. are IT consultants from the public sector whose mission is to solve social issues by technology and innovation and to create a meaningful future for people.
    Widespread fragmentation is stalling the growth of the IIoT and making it difficult for partners to work together. The number of software platforms, apps, hardware and connectivity standards is creating paralysis among businesses that are afraid of being locked into a solution. EdgeX Foundry is unifying the community around a common IoT edge framework and an ecosystem of interoperable components.
    SYS-CON Events announced today that Dasher Technologies will exhibit at 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. Dasher Technologies, Inc. ® is a premier IT solution provider that delivers expert technical resources along with trusted account executives to architect and deliver complete IT solutions and services to help our clients execute their goals, plans and objectives. Since 1999, we'v...
    SYS-CON Events announced today that TidalScale, a leading provider of systems and services, will exhibit at 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. TidalScale has been involved in shaping the computing landscape. They've designed, developed and deployed some of the most important and successful systems and services in the history of the computing industry - internet, Ethernet, operating s...
    SYS-CON Events announced today that Massive Networks, that helps your business operate seamlessly with fast, reliable, and secure internet and network solutions, has been named "Exhibitor" 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. As a premier telecommunications provider, Massive Networks is headquartered out of Louisville, Colorado. With years of experience under their belt, their team of...
    SYS-CON Events announced today that IBM has been named “Diamond Sponsor” of SYS-CON's 21st Cloud Expo, which will take place on October 31 through November 2nd 2017 at the Santa Clara Convention Center in Santa Clara, California.
    Infoblox delivers Actionable Network Intelligence to enterprise, government, and service provider customers around the world. They are the industry leader in DNS, DHCP, and IP address management, the category known as DDI. We empower thousands of organizations to control and secure their networks from the core-enabling them to increase efficiency and visibility, improve customer service, and meet compliance requirements.
    SYS-CON Events announced today that TidalScale will exhibit at 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. TidalScale is the leading provider of Software-Defined Servers that bring flexibility to modern data centers by right-sizing servers on the fly to fit any data set or workload. TidalScale’s award-winning inverse hypervisor technology combines multiple commodity servers (including their ass...
    As hybrid cloud becomes the de-facto standard mode of operation for most enterprises, new challenges arise on how to efficiently and economically share data across environments. In his session at 21st Cloud Expo, Dr. Allon Cohen, VP of Product at Elastifile, will explore new techniques and best practices that help enterprise IT benefit from the advantages of hybrid cloud environments by enabling data availability for both legacy enterprise and cloud-native mission critical applications. By rev...
    As popularity of the smart home is growing and continues to go mainstream, technological factors play a greater role. The IoT protocol houses the interoperability battery consumption, security, and configuration of a smart home device, and it can be difficult for companies to choose the right kind for their product. For both DIY and professionally installed smart homes, developers need to consider each of these elements for their product to be successful in the market and current smart homes.
    Join IBM November 1 at 21st Cloud Expo at the Santa Clara Convention Center in Santa Clara, CA, and learn how IBM Watson can bring cognitive services and AI to intelligent, unmanned systems. Cognitive analysis impacts today’s systems with unparalleled ability that were previously available only to manned, back-end operations. Thanks to cloud processing, IBM Watson can bring cognitive services and AI to intelligent, unmanned systems. Imagine a robot vacuum that becomes your personal assistant tha...
    In his Opening Keynote at 21st Cloud Expo, John Considine, General Manager of IBM Cloud Infrastructure, will lead you through the exciting evolution of the cloud. He'll look at this major disruption from the perspective of technology, business models, and what this means for enterprises of all sizes. John Considine is General Manager of Cloud Infrastructure Services at IBM. In that role he is responsible for leading IBM’s public cloud infrastructure including strategy, development, and offering ...
    SYS-CON Events announced today that N3N will exhibit at SYS-CON's @ThingsExpo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. N3N’s solutions increase the effectiveness of operations and control centers, increase the value of IoT investments, and facilitate real-time operational decision making. N3N enables operations teams with a four dimensional digital “big board” that consolidates real-time live video feeds alongside IoT sensor data a...
    In a recent survey, Sumo Logic surveyed 1,500 customers who employ cloud services such as Amazon Web Services (AWS), Microsoft Azure, and Google Cloud Platform (GCP). According to the survey, a quarter of the respondents have already deployed Docker containers and nearly as many (23 percent) are employing the AWS Lambda serverless computing framework. It’s clear: serverless is here to stay. The adoption does come with some needed changes, within both application development and operations. Tha...
    SYS-CON Events announced today that Avere Systems, a leading provider of enterprise storage for the hybrid cloud, will exhibit at 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. Avere delivers a more modern architectural approach to storage that doesn't require the overprovisioning of storage capacity to achieve performance, overspending on expensive storage media for inactive data or the overbui...
    With major technology companies and startups seriously embracing Cloud strategies, now is the perfect time to attend 21st Cloud Expo October 31 - November 2, 2017, at the Santa Clara Convention Center, CA, and June 12-14, 2018, at the Javits Center in New York City, NY, and learn what is going on, contribute to the discussions, and ensure that your enterprise is on the right path to Digital Transformation.