Development Tools

The first and foremost set of tools that will be discussed today are development tools. Development forms a core process of building applications in the WebLogic Server. Development tools enhance productivity and cut down development costs. Hence, an awareness and use of development tools is essential. Even though the WebLogic Server is popular in the market, no in-house visual IDE is available from BEA Systems. With the introduction of Web Services, though, things have changed. BEA has come out with a visual design and development tool especially targeted for developers of Web Services called the BEA WebLogic Workshop. A quick look will be taken at the different features offered by the BEA WebLogic Workshop. The second tool that will be looked at is JBuilder from Borland, which has been around for quite some time.

BEA WebLogic Workshop

The BEA WebLogic Workshop is a newly introduced visual development GUI tool used to develop, debug, and deploy Web Services applications on the WebLogic Server. Interestingly, in addition to using the WebLogic Workshop as a development and deployment tool, another significant area in which it will find use is as a design tool. The WebLogic Workshop tool provides a visual environment to model the interactions of client applications with Web Services. These interactions are then implemented as events. Developers can write the processing busing logic within these events. The remaining part of the Web Service, like the XML messages, SOAP envelopes, and WSDL descriptors, are automatically generated by the WebLogic Workshop. Apart from this, regular J2EE components, such as EJBs, JDBC connections, and the like, can be automatically deployed by the runtime framework built into the WebLogic Workshop tool.

Building a Web Services application, as you shall study during the bonus day, is no easy task. A Web Service is made up of different infrastructure parts, like the XML messages, the SOAP protocol for communication, the WSDL service declaration file, and so on. The BEA WebLogic Workshop aids in easy and fast development of Web Services without the developer's needing to get into the nitty-gritty of writing the infrastructure parts.

The main features of the BEA WebLogic Workshop are as follows:

  • Visual design and development environment

  • Integrated compiler and build environment

  • Integrated runtime framework supporting Web Services and J2EE

  • Inbuilt debugger for debugging Web Services deployed on the WebLogic Server

To aid in the visual development of Web Services, the WebLogic Workshop contains the following ready-to-use controls:

  • Web Services control The Web Services control encapsulates the infrastructure of Web Services in a simple, easy-to-use control. The Web Services control can be used as a local Java object to access and use Web Services.

  • Database control The entire database access functionality is wrapped in a simple database control that can be used by different applications in the WebLogic Server.

  • EJB control EJBs built on J2EE-compliant application servers can be easily used during application development in the WebLogic Workshop using the EJB control.

  • JMS control Another enterprise resource that can be easily accessed in the WebLogic Workshop is a message queue. The JMS control wraps the code required for using a queue connection factory, creating a queue connection, queue session, and so on.

  • J2EE CA control The J2EE Connector Architecture API is wrapped in the J2EE CA control. Developers can access and use resource adapters in their Web Services applications.

  • Timer control The final control provided by the WebLogic Workshop is the timer control, which wraps asynchronous modes of communication, timeouts, and the like.

Web Services developed in the WebLogic Workshop are stored in Java Web Services files with the extension .jaws. Figure 19.1 shows the WebLogic Workshop with the different controls available.

Figure 19.1. Screen shot of the BEA WebLogic Workshop.

graphics/19fig01.jpg

JBuilder

One of the most popular Integrated Development Environments (IDEs) for developing and deploying applications on the WebLogic Server is the JBuilder from Borland. JBuilder has been around for some time and provides a powerful yet easy-to-use visual development environment for developing, building, debugging, and deploying applications. JBuilder is a generic IDE and comes packaged with its own application server the Borland Enterprise Server. The interesting feature of JBuilder is that its Enterprise edition supports not only its built-in Borland Enterprise Server but also enables developers to integrate the JBuilder IDE for use with popular application servers like BEA WebLogic Server and IBM Websphere. The JBuilder version 7.0 Enterprise edition supports integration with BEA WebLogic Server 6.x; see Figure 19.2.

Figure 19.2. Screen shot of JBuilder with support for the BEA WebLogic Workshop.

graphics/19fig02.jpg

To use JBuilder as the IDE with BEA WebLogic Server, select the Configure Servers option. From the list of application servers, select the latest version of BEA WebLogic Server supported by JBuilder. Select the Enable Server checkbox and fill in the details in the General tab. You need to supply the different parameters, such as the home directory of the BEA WebLogic Server installation, location of the EJB compiler, JVM parameters, working directory for your applications, classpath of the primary library Java archive files of WebLogic Server, and so on. Save these options and start up WebLogic Server. You are all set to start using the JBuilder IDE in conjunction with the BEA WebLogic Server!

Now let us go over some of the features of the JBuilder tool:

  • Visual development environment

  • Supports the latest Java (J2SE) and J2EE standards

  • Advanced code development tools and inbuilt version control and configuration management support; supports third-party version control tools

  • UML code designing

  • Visual modeling of EJBs

  • Easy-to-use wizard for quick application deployment

  • Inbuilt code documentation support using Javadocs

  • Powerful visual debugger

  • Provides JDataStore object relational DBMS for quick fix database applications

  • Supports integration with popular application servers like the BEA WebLogic Server and IBM Websphere

Finally, take a look at the JBuilder GUI when you open one of the EJBs that you developed over the past few days. Figure 19.3 gives an idea of the powerful features provided by JBuilder.

Figure 19.3. Screen shot of opening an EJB using JBuilder.

graphics/19fig03.jpg



Sams Teach Yourself BEA WebLogic Server 7. 0 in 21 Days
Sams Teach Yourself BEA WebLogic Server 7.0 in 21 Days
ISBN: 0672324334
EAN: 2147483647
Year: 2002
Pages: 339

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net