Danh mục tài liệu

Bài giảng Lập trình mạng nâng cao: EJB: Stateless Session Bean - Nguyễn Xuân Vinh

Số trang: 30      Loại file: ppt      Dung lượng: 569.50 KB      Lượt xem: 23      Lượt tải: 0    
Xem trước 3 trang đầu tiên của tài liệu này:

Thông tin tài liệu:

This chapter identify the constituents of an Enterprise JavaBean; define a bean class, EJB object, home interface, home object and deployment descriptors; define a stateless session bean; write programs related to stateless session beans; compile and deploy stateless session beans.
Nội dung trích xuất từ tài liệu:
Bài giảng Lập trình mạng nâng cao: EJB: Stateless Session Bean - Nguyễn Xuân Vinh TRƯỜNGĐẠIHỌCNÔNGLÂMTP.HCMGV:NGUYỄNXUÂNVINHMÔN:LẬPTRÌNHMẠNG2 KHOACÔNGNGHỆTHÔNGTIN EJB: Stateless Session Bean15/01/16 Presenter:NguyễnXuânVinh InformationTechnologyFaculty/XX NongLamUniversity1 TRƯỜNGĐẠIHỌCNÔNGLÂMTP.HCM KHOACÔNGNGHỆTHÔNGTIN Session ObjectivesGV:NGUYỄNXUÂNVINH  IdentifytheconstituentsofanEnterprise JavaBean.MÔN:LẬPTRÌNHMẠNG2  Defineabeanclass,EJBobject,homeinterface, homeobjectanddeploymentdescriptors.  Defineastatelesssessionbean  Writeprogramsrelatedtostatelesssessionbeans  Compileanddeploystatelesssessionbeans15/01/16/XX ACCP2005/EJB2.0/Session3/2of312 TRƯỜNGĐẠIHỌCNÔNGLÂMTP.HCM KHOACÔNGNGHỆTHÔNGTIN Review of Session 2-(1of 2)GV:NGUYỄNXUÂNVINH Insession2wediscussed  Fourstagesarefollowedwhiledevelopingbusinesssolutions  SixpartiesareinvolvedwhiledeployingEnterpriseJavaBeans  LogicalthreetierarchitectureofEJB:  TheClient  TheEJBServerMÔN:LẬPTRÌNHMẠNG2  TheDatabase  TheEJBContainerresidesinsidetheEJBserver.Thecontaineractsasabuffer betweenthebeanandtheoutsideworld.  TheresponsibilityoftheEJBServerandContainer15/01/16/XX ACCP2005/EJB2.0/Session3/3of313 TRƯỜNGĐẠIHỌCNÔNGLÂMTP.HCM KHOACÔNGNGHỆTHÔNGTIN Review of Session 2-(2 of 2)GV:NGUYỄNXUÂNVINH  Theserverandthecontainerprovidefollowingservicestothe developer *Transactionsupport *Securitysupport *PersistencesupportMÔN:LẬPTRÌNHMẠNG2 *Supportformanagementofmultipleinstances.  AnEnterpriseJavaBeancanbeclassifiedinto: *SessionBeans *EntityBeans *MessageDrivenBeans15/01/16/XX ACCP2005/EJB2.0/Session3/4of314 TRƯỜNGĐẠIHỌCNÔNGLÂMTP.HCM KHOACÔNGNGHỆTHÔNGTIN Components of an Enterprise BeanGV:NGUYỄNXUÂNVINH Componentsofan enterprisebeanMÔN:LẬPTRÌNHMẠNG2 TheLocalHome Interface TheLocalInterface Thebeanclass TheEJBjarfile TheEJBobject Deployment Descriptors15/01/16 TheRemote TheHomeobject interface/XX TheHome ACCP2005/EJB2.0/Session3/5of315 Interface TRƯỜNGĐẠIHỌCNÔNGLÂMTP.HCM KHOACÔNGNGHỆTHÔNGTIN The Bean classGV:NGUYỄNXUÂNVINH Communicatestothe ...

Tài liệu có liên quan:

Tài liệu mới: