WOW !! MUCH LOVE ! SO WORLD PEACE !
Fond bitcoin pour l'amélioration du site: 1memzGeKS7CB3ECNkzSn2qHwxU6NZoJ8o
  Dogecoin (tips/pourboires): DCLoo9Dd4qECqpMLurdgGnaoqbftj16Nvp


Home | Publier un mémoire | Une page au hasard

 > 

Design and realisation of a knowledge base

( Télécharger le fichier original )
par Sawssan SELMI
 - Ingénieur en informatique 2011
  

précédent sommaire suivant

Bitcoin is a swarm of cyber hornets serving the goddess of wisdom, feeding on the fire of truth, exponentially growing ever smarter, faster, and stronger behind a wall of encrypted energy

Fig22. Session beans package: class diagram

This package contains seven classes: TrainingFacade, PrivilegeFacade, Personfacade, ResponseFacade, Knowledgefacade, DocumentFacade and QuestionFacade. Each one appropriate with an entity class (classes of models package) and a generic abstract class: AbstractFacade. Each one of these classes has only one EntityManager attribute; it is associated with a persistence context that is a set of entity instances in which for any persistent entity identity there is a unique entity instance. Within the persistence context, the entity instances and their lifecycle are managed. The EntityManager API is used to create and remove persistent entity instances, to find entities by their primary key, and to query over entities.

Each class of sessionbean package has getEntityManager method that returns an EntityManager, a constructor and extends methods of AbstractFacade class. They are create, edit, remove, find, findAll, findAll, findRange and count that presents CRUD functionalities necessary to communicate with data base.

3.3.4.3 Controller package

This layer supports the management of interaction events between client interfaces and persistence layer. It receives all user requests and performs the appropriate actions.
This module contains the following classes:

précédent sommaire suivant






Bitcoin is a swarm of cyber hornets serving the goddess of wisdom, feeding on the fire of truth, exponentially growing ever smarter, faster, and stronger behind a wall of encrypted energy








"Le doute est le commencement de la sagesse"   Aristote