EJB applications

 

+

Search Tips   |   Advanced Search

 

 

Deploy and administer EJB applications

  Deploy EJB applications
  Deploy applications (IBM Education Assistant)
  Administer applications (IBM Education Assistant)
  Modify the default EJB container configuration
 

 

Secure EJB applications

  Develop EJB applications that use declarative security
  Use programmatic security, when declarative security is not enough
  Secure EJB applications during assembly
  Migrate EJB application components
 

 

Assemble EJB applications

  Choose an access intent policy for EJB 2.0.x applications
  Troubleshoot access intent
  Assemble EJB applications for deployment

 

Conceptual overviews

Documentation Enterprise beans
   

See Chapter 9 of the IBM Redbook EJB 2.0 Development with WebSphere Application Studio Developer (sg246819) Note:

 

Tutorials

developerWorks offers these tutorials that accompanied the WAS Technology for Developers V6 release. They provide a solid understanding of the J2EE technologies.

  • Tutorial 1 - JSP, Servlets, EJB

    This tutorial provides an understanding on the EJB Query Language, JSP Expression Language, building your own custom tags, and also about the new deployment descriptors which uses the XML Schema instead of the DTD. The zip file comes with all sample code required to run this tutorial.

  • Tutorial 2- EJB Timer

    This tutorial provides an understanding on the EJB Query Language, JSP Expression Language, building your own custom tags, and also about the new deployment descriptors which uses the XML Schema instead of the DTD. The zip file comes with all sample code required to run this tutorial.

  • Tutorial 3- Message Driven Timer

    This tutorial makes full use of the MyBank sample codes. The sample consists of 2 entity beans, CustomerBean and AccountBean, whose abstract schema types are Customer and Account, respectively. Each entity beans has remote/local interfaces and remote/local home interfaces. The entity bean CustomerBean has one-to-many relationships with AccountBean. The SenderBean.java session bean is responsible of sending message to the destination, and the MDB MyBankListenerBean.java is the consumer for the message. The zip file comes with all sample code required to run this tutorial.

 

Samples

The Samples Gallery offers:

  • Plants by WebSphere

    Using the Plants by WebSphere storefront, customers can open accounts, browse for items to purchase, view product details, and place orders. The Plants by WebSphere application uses container-managed persistence, CMR, stateless session beans, a stateful session bean, JSP pages, and servlets.

    When the Greenhouse Supplier Sample application is installed and configured, an administrator can order additional inventory from the Greenhouse Supplier. See the Samples Gallery for more information on the Greenhouse Supplier application. The Greenhouse Supplier is used with Plants By WebSphere to demonstrate Web services.

  • WebSphere Bank

    Using the WebSphere Bank online bank, customers can open accounts, get account balances, and transfer funds between accounts. The WebSphere Bank application uses Web services, Java Message Service API, container-managed persistence, container-managed relationships, stateless session beans, MDB, JSP pages, and servlets.

  • Greenhouse by WebSphere

    Using the Greenhouse by WebSphere online supplier, customers can open accounts, select items and amounts to order, and check their order status. The Greenhouse by WebSphere application uses Web services, the Java message service API, scheduler, asynchronous beans, container-managed persistence CMP, container-managed relationships, stateless session beans, message-driven beans, Java server pages, and the struts framework.

  • BMP - Address Book

    A basic address book application that creates, updates, finds, and removes address book entries. The Address Book application uses Bean Managed Persistence (BMP).

  • CMP 1.1 - Movie Review

    A movie review application that creates and finds movie reviews. This Movie Review application uses Container-Managed Persistence (EJB 1.1 CMP).

  • CMP 2.1 - Movie Review

    A movie review application that creates and finds movie reviews. This Movie Review application uses Container-Managed Persistence (EJB 2.1 CMP).

  • CMR - Subscription

    A subscription service, where one can enter an e-mail address and select programming topics. This application uses Container-Managed Relationships (EJB 2.0 CMR).

  • Stateful Session - Reading List

    View library-like resources. Add and remove resources from reading lists, using a stateful session bean.

  • Stateless Session - Basic Calculator

    A basic calculator application that performs addition, subtraction, multiplication and division, using a stateless session bean

  • Timer Service - Bulletin Board

    A bulletin board application, where one can enter a message and post it for a specified length of time. This application uses the EJB Timer Service.