An Enhanced Composition Model for Conversational Enterprise JavaBeans

  • Franck Barbier
Part of the Lecture Notes in Computer Science book series (LNCS, volume 4063)


When designing applications with Enterprise JavaBeans (EJBs) and more specifically with Stateful Session Beans, a major difficulty (or even an impossibility) is being able to properly transform business models and more precisely UML 2 models, into such component types, while including the expression of their mutual compositions. This contradicts with the spirit of the emerging Model-Driven Architecture (MDA) software engineering paradigm based on the definition of seamless model transformations. In this scope, this paper proposes and describes an appropriate Java library in order to increase the composition power of EJBs. The proposition includes a support for a broadcast communication mode (assimilated to “horizontal composition” in the paper) which is, a priori, incompatible with non reentrance, a key characteristic of EJBs. Besides, “vertical composition” is the counterpart of “horizontal compo-sition”. “Vertical composition” enables the consistent hierarchical combination of composite behaviors and compound behaviors, both being specified and implemented by means of UML 2 State Machine Diagrams.


State Machine Composition Model Autonomic Computing Component Instance State Machine Diagram 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Szyperski, C., Gruntz, D., Murer, S.: Component Software – Beyond Object-Oriented Programming, 2nd edn. Addison-Wesley, Reading (2002)Google Scholar
  2. 2.
    Mellor, S., Scott, K., Uhl, A., Weise, D.: MDA Distilled – Principles of Model-Driven Architecture. Addison-Wesley, Reading (2004)Google Scholar
  3. 3.
    Bock, C.: UML 2 Composition Model. Journal of Object Technology 3(10), 47–73 (2004)CrossRefGoogle Scholar
  4. 4.
    Harel, D.: Statecharts: A Visual Formalism for Complex Systems. Science of Computer Programming 8, 231–274 (1987)MATHCrossRefMathSciNetGoogle Scholar
  5. 5.
    Sun Microsystems: Enterprise JavaBeans TM Specification, Version 2.1 (2003)Google Scholar
  6. 6.
    Simons, A.: On the Compositional Properties of UML Statechart Diagrams. In: Proc. 3rd Conf. Rigorous Object-Oriented Methods, pp. 4.1–4.19 (2000)Google Scholar
  7. 7.
    Prehofer, C.: Plug-and-play composition of features and feature interactions with statechart diagrams. Software and Systems Modeling 3(3), 221–234 (2004)CrossRefGoogle Scholar
  8. 8.
    Harel, D., Gery, E.: Executable Object Modeling with Statecharts. IEEE Computer 30(7), 31–42 (1997)Google Scholar
  9. 9.
    von der Beck, M.: A structured operational semantics for UML-statecharts. Software and Systems Modeling 1(2), 130–141 (2002)CrossRefGoogle Scholar
  10. 10.
    Bruneton, E., Coupaye, T., Leclercq, M., Quéma, V., Stefani, J.-B.: An Open Component Model and Its Support in Java. In: Crnković, I., Stafford, J.A., Schmidt, H.W., Wallnau, K. (eds.) CBSE 2004. LNCS, vol. 3054, pp. 7–22. Springer, Heidelberg (2004)CrossRefGoogle Scholar
  11. 11.
    Barbier, F., Henderson-Sellers, B., Le Parc-Lacayrelle, A., Bruel, J.-M.: Formalization of the Whole-Part Relationship in the Unified Modeling Language. IEEE Transactions on Software Engineering 29(5), 459–470 (2003)CrossRefGoogle Scholar
  12. 12.
    Tan, H.B.K., Hao, L., Yang, Y.: On Formalization of the Composition Relationship in the Unified Modeling Language. IEEE Transactions on Software Engineering 29(11), 1054–1055 (2003)CrossRefGoogle Scholar
  13. 13.
    Barbier, F., Henderson-Sellers, B.: Controversies about the Black and White Diamonds. IEEE Transactions on Software Engineering 29(11), 1056 (2003)CrossRefGoogle Scholar
  14. 14.
    Kephart, J., Chess, D.: The Vision of Autonomic Computing. IEEE Computer 36(1), 41–50 (2003)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2006

Authors and Affiliations

  • Franck Barbier
    • 1
  1. 1.PauWare Research GroupUniversité de Pau, Av. de l’universitéPauFrance

Personalised recommendations