`
sakakokiya
  • 浏览: 491470 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

EJB 3 - Intermediate

阅读更多
Resources
  • Write code that performs and ENC Loopup.
  • Write code that makes proper use of DI.
  • Be able to define DI either in the DD or per annotation(s).
  • Identify the fact that DI can be performed on attributes or setter\getter.
  • Be able to use DI in conjunction with inheritance.
  • Identify the different types of resources and how to declare them both per annotation or in the DD.
Transactions
  • Describe the difference between BTM and CTM and what actions are allowed to BTM or CTM beans and which actions are not allowed to them.
  • Be able to define CTM Beans either per DD or per annotation.
  • Identify the semantics of the six different transaction attributes:
    • MANDATORY
    • NEVER
    • NOT_SUPPORTED
    • REQUIRED
    • REQUIRES_NEW
    • SUPPORTS
  • Use the methods of the EJBContext to influence CTM transactions.
  • Identify restrictions on transaction attributes in conjunction with MDB.
  • Identify restrictions on transaction attributes with SFSB that implements the interface SessionSynchronization. Write code that implements the interface SessionSynchronization.
  • Write code that makes usage of the methods of the interface UserTransaction to write BTM code.
  • Write code that makes usage of client-controlled transactions.
  • Be able to recognize situations where it is better to use BTM over CTM.
  • Identify what impact inheritance has on transaction attributes.
  • Identify methods that run in a unspecified transactional context.
Security
  • Define what is in the scope of EJB (Authorization) and what not (Authentication).
  • Define roles either per annotation or in the DD.
  • Define rules for accessing the methods of a bean either per annotation or in the DD.
  • Write code that makes usage of programatic security.
  • Identify the impact that inheritance has on security configurations.
Message Driven Beans
  • Identify the differences between a Queue and a Topic.
  • Write code that correctly declares a MDB.
  • Identify the lifecycle of a MDB.
  • Use the interface MessageDrivenContext.
  • Configure correct activation-configurations for a MDB.
  • Identify the differences between the acknowledge modes.
  • Identify how the bean will acknowledge a message, depending on the transaction mode used.
Webservice Exposure
  • Expose a SLSB as webservice.
  • Determine what methods of a bean will be exposed.
  • Write code that maps a bean-method to a wsdl method, given a portion of a wsdl file.
  • Write code that calls methods of a webservice.
Exception Handling
  • Identify the two different types of Exceptions and their impact on running transactions.
  • Identify the steps involved with the occurrence of a specific exception.
  • Be able to declare a ApplicationException per annotation or in the DD.
  • Identify the impact of exceptions in Callback or Interceptor methods.
  • Decide what exception will the client receive.
EJBContext
  • Identify what methods of the interface EJBContext and its subinterface can be used at a certain point in the lifecycle of a bean.
Timer
  • Create and start a timer.
  • Define a legal timer method.
  • Cancel a timer.
  • Identify the impact that the rollback of a transaction has on the creation of a timer.
  • Identify the fact that the with @Timeout annotated method runs in a unspecified security context.
  • Recognize which Bean types can make use of timers.
Legacy Code
  • Write code that makes a EJB3 Session Bean available to EJB 2.x Clients
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics