1 / 8

EJB

EJB. Enterprise Java Bean i što on nudi developeru. EJB. Transaction managment. Security. Enterprise Java Bean. Remote accesability. Concurrency. Resource managment. Clustering, load balancing. Transaction managment. Java transaction API

brynn-haney
Download Presentation

EJB

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. EJB Enterprise Java Bean i što on nudi developeru

  2. EJB Transaction managment Security Enterprise Java Bean Remote accesability Concurrency Resource managment Clustering, load balancing

  3. Transaction managment • Java transaction API • Implementacija upravljanja transakcijama i njihovim koordinacijama

  4. Security • Transparenta sigurnost tako da se pojednostavi sigurnost pristupa bean-ovima • Nema potrebe za vlastitom implementacijom sigurnosti(API)

  5. Resource and Life Cycle Managment • Konekcije baza podataka • Threadovi(Niti) • Socketi • Container stvara, briše, registrira objekte, ali ih i tako aktivira i deaktivira • Može ponovno koristiti objekte

  6. Remote accessability • Klijent na udaljenoj mašini koja ima JVM može pokretati enterprise bean na server mašini • Remote procedure call(RPC) • Remote method invocation(RMI)

  7. Concurrency control • Istodobnost je također pokrivena u EJB-u • EJB podržava više različitih tipova kontrola istodobnosti • Collision – dvije ili više transakcija pokušavaju promijeniti entitete u sustavu zapisa • Postoje tri vrste – Dirty read, Non repeatable read, Phantom read • Imamo 2 vrste mehanizma koja kontroliraju istodobnost – optimistično zaključavanje i pesimistično zaključavanje

  8. Clustering and Load balancing • Clustering je proces spajanja više više uređaja, računala i drugih resursa u jednu cijelinu • Tada clusterirani sustav radi kao load balance sustav • U distribuiranom sustavu, kada pošaljemo request serveru, algoritam na serveru odluči koji server ima najmanje opterećenja i pošalje request tom serveru

More Related