zhChinese    enEnglish
  ПМ-ПУ  » Образование  » Программы курсов » Разработка бизнес компонентов на платформe Java2

Разработка бизнес компонентов на платформe Java2

Курс по выбору

Лектор: к.ф.-м.н. Комаров А.А.

EJB Overview
  • Identify the use, benefits, and characteristics of Enterprise JavaBeans technology, for version 2.0 of the EJB specification.
  • Identify EJB 2.0 container requirements.
  • Identify correct and incorrect statements or examples about EJB programming restrictions.
  • Match EJB roles with the corresponding description of the role's responsibilities, where the description may include deployment descriptor information.
  • Given a list, identify which are requirements for an EJB-jar file.
Client View of a Session Bean
  • Identify correct and incorrect statements or examples about the client view of a session bean's local and remote home interfaces, including the code used by a client to locate a session bean's home interface.
  • Identify correct and incorrect statements or examples about the client view of a session bean's local and remote component interfaces.
Session Bean Component Contract
  • Identify correct and incorrect statements or examples about session beans, including conversational state, the SessionBean interface, and create methods.
  • Identify the use of, and the behavior of, the ejbPassivate method in a session bean, including the responsibilities of both the container and the bean provider.
  • Identify the interface and method for each of the following: Retrieve the session bean's remote home interface, Retrieve the session bean's local component interface, Determine if the session bean's caller has a particular role, Allow the instance to mark the current transaction as a roleback, Retrieve the UserTransaction interface, Prepare the instance for re-use following passivation, Release resources prior to removal, Identify the invoker of the bean instance's component interface, Be notified that a new transaction has begun, be notified that the current transaction has completed.
  • Match correct descriptions about purpose and function with which session bean type they apply to: stateless, stateful, or both.
  • Given a list of responsibilities related to session beans, identify those which are the responsibility of the session bean provider, and those which are the responsibility of the EJB container provider.
  • Given a list of requirements, identify those which are the requirements for a session bean class, remote component interface, remote home interface, create methods, business methods, local component interface, local home interface.
Session Bean Lifecycle
  • Identify correct and incorrect statements or examples about the lifecycle of a stateful or stateless session bean instance.
  • Given a list of methods of a stateful or stateless session bean class, define which of the following operations can be performed from each of those methods: SessionContext interface methods, UserTransaction methods, JNDI access to java:comp/env environment naming context, resource manager access and other enterprise bean access.
  • Given a list of scenarios, identify which will result in an ejbRemove method not being being called on a bean instance.
Client view of an Entity
  • Identify correct and incorrect statements or examples about the client of an entity bean's local and remote home interface, including view the code used to locate an entity bean's home interface, and the home interface methods provided to the client.
  • Identify correct and incorrect statements or examples about the client view of an entity bean's local component interface (EJBLocalObject).
  • Identify correct and incorrect statements or examples about the client view of a entity bean's remote component interface (EJBObject).
  • Identify the use, syntax, and behavior of, the following entity bean home method types, for CMP: finder methods, create methods, remove methods, and home methods.
Component Contract for Container-Managed Persistence (CMP)
  • Identify correct and incorrect statements or examples about the entity bean provider's view and programming contract for CMP, including the requirements for a CMP entity bean.
  • Identify correct and incorrect statements or examples about persistent relationships, remove protocols, and about the abstract schema type, of a CMP entity bean.
  • Identify correct and incorrect statements or examples about the rules and semantics for relationship assignment, and relationship updating, in a CMP bean.
  • Match the name with a description of purpose or functionality, for each of the following deployment descriptor elements: ejb-name, abstract-schema-name, ejb-relation, ejb-relationship-role, cmr-field, cmr-field-type, and relationship-role-source.
  • Identify correctly-implemented deployment descriptor elements for a CMP bean (including container-managed relationships).
  • Identify the interface(s) and methods a CMP entity bean must and must not implement.
CMP Entity Bean Lifecycle
  • Identify correct and incorrect statements or examples about the lifecycle of a CMP entity bean.
  • From a list, identify the purpose, behavior, and responsibilities of the bean provider for a CMP entity bean, including but not limited to: setEntityContext, unsetEntityContext, ejbCreate, ejbPostCreate, ejbActivate, ejbPassivat, ejbRemove, ejbLoad, ejbStore, ejbFind, ejbHome, and ejbSelect.
  • From a list, identify the responsibility of the container for a CMP entity bean, including but not limited to: setEntityContext, unsetEntityContext, ejbCreate, ejbPostCreate, ejbActivate, ejbPassivate, ejbRemove, ejbLoad, ejbStore, ejbFind, ejbHome, and ejbSelect.
Entity Beans
  • From a list of behaviors, match them with the appropriate EntityContext method responsible for that behavior.
  • Identify correct and incorrect statements or examples about an entity bean's primary key and object identity.
EJB-QL
  • Identify correct and incorrect syntax for an EJB QL query including the SELECT, FROM, and WHERE clause.
  • Identify correct and incorrect statements or examples about the purpose and use of EJB QL.
  • Identify correct and incorrect conditional expressions, between expression, in expressions, like expressions, and comparison expressions.

Литература

  1. Richard Monson-Haefel. Enterprise JavaBeans, 3rd Edition. O'Reilly, 2001, ISBN: 0-596-00226-2
  2. Chuck Cavaness, Brian Keeton Special Edition Using Enterprise JavaBeansT 2.0. Que, 2001, ISBN-10: 0-7897-2567-3 , ISBN-13: 978-0-7897-2567-7
  3. William Crawford, Jim Farley, David Flanagan Java Enterprise in a Nutshell, 2nd Edition, O'Reilly, 2002, ISBN: 0-596-00152-5