WebLogic Workshop, WebLogic Platform, and the J2EE Landscape
WebLogic Server has been on the cusp of new technologies and specifications in the J2EE and application server space for years and is the front runner in terms of features and performance. WebLogic Workshop 8.1 offers a full suite of tools for developing sophisticated enterprise applications. Get the basics on this IDE, including the MVC pattern. (From BEA WebLogic Workshop 8.1 by Albert J. Saganich, Jr., et al., Sams, 2004, ISBN: 0-672-32622-1.)
WebLogic Workshop, WebLogic Platform, and the J2EE Landscape - Creating a Sample Workshop Application with WebLogic Platform (Page 5 of 5 )
The Wonderland Casino application has been built to use as an example throughout this book. The Wonderland Casino has all the issues and problems of most major enterprises and a variety of core functionality that needs to be made available to its user base as Web applications. Additionally various classes of users, both internal and external, require customized views of the casino, which are well suited to portal applications. The casino also requires a high degree of security as well as other services (both provided and consumed), all of which require workflow and Web services.
WebLogic Server is the application server and the foundation of WebLogic Platform. WebLogic Server can maintain both Web and EJB containers because it's an application server with Web server capabilities. J2EE services, such as JDBC, JNDI, Java Messaging Service (JMS), and Java Transaction API (JTA) are implemented to enable Web and EJB containers to connect to back-end resources, such as databases, messaging servers, and other resources. For the Wonderland Casino, WebLogic Server provides all the core servers, such as JNDI, JMS, JDBC, and EJB support.
The casino can be accessed by a variety of clients, such as browser-based Web clients, standalone Java clients, and even non-Java clients. A Web client would access the Web container on the server, a standalone Java application might access the EJB container, and a non-Java client can access a Web service implemented on the server. All the other parts of Platform are built using the J2EE standards with WebLogic Server as the foundation.
Now take a look at how different audiences would access the Wonderland Casino application. Based on the logged in user, different information could be displayed. For example, customers might be allowed to view available lodging information, whereas sales personnel would be allowed to view the occupancy rate for a certain period.
WebLogic Portal is a set of J2EE application services providing a framework that spans the Web and EJB tiers of Web applications, specifically for the purpose of tailoring application functionality to users' needs. The Portal framework is a configurable platform that acts as a gateway for different applications and can provide personalized content and access content management systems (CMSs). WebLogic Portal fully supports content personalization based on user characteristics. Portal applications consist of several smaller windows known as portlets, which connect to back-end applications to display content to users. WebLogic Portal provides the framework for creating an overall application with support for a variety of audiences and for specifying what portions of the application apply to each audience.
Various business areas in the Wonderland Casino have specific process requirements. For example, certain steps must always be taken when increasing a credit limit or handling cash transactions. WebLogic Integration contains a business process framework, often referred to as a workflow, targeted at designing and implementing complex business processes in a simple-to-use fashion. The workflow framework helps developers define how these different tasks are performed. When defining these tasks, you can configure one of two options: manually completing the task, which requires user intervention, or automatically completing it, which requires passing a message to the workflow.
In this Wonderland Casino J2EE application, you need to create some type of business process to manually or automatically update customer accounts based on their winnings at the gaming tables. WebLogic Workshop supports creating, managing, and debugging business processes, all within the GUI.
Workshop can be used to create business process applications with minimal code writing. A key feature of Workshop is that you can seamlessly integrate Portal and Integration applications via controls. For example, you might connect to a legacy application by using adapters developed with Integration and allow access by using Portal as a gateway.
WebLogic Workshop makes J2EE development easier by handling plumbing so that developers can focus on their application's business logic.
WebLogic Workshop follows and enhances the Model-View-Controller pattern with custom tools to automate many development tasks.
With WebLogic Platform, Workshop enables you to build and deploy enterprise applications, such as portals, business processes, and workflows.
WebLogic Workshop simplifies the development of J2EE, Integration, and Portal applications.
This chapter is from BEA WebLogic Workshop 8.1, by Albert J. Saganich, Jr., et al. (Sams, 2004, ISBN: 0672326221). Check it out at your favorite bookstore today.
DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.