מתפ

19
תתתתתתתתתת תתתתתתת תתתתתתת תתתתתתת הההה ההההה ההה"ה ההההה[email protected]

Upload: liran-zelkha

Post on 31-Oct-2014

544 views

Category:

Documents


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: מתפ

טכנולוגיות מתקדמות במערכות הפתוחות

לירן זילכהמנכ"ל משותף

[email protected]

Page 2: מתפ

AlunaIsrael’s leading Java/JavaEE and SOA

consulting companyCustomers:

Page 3: מתפ

AgendaOpen Source TechnologiesNew Java TechnologiesSOACloud Computing

Page 4: מתפ

Open Source TechnologiesMass acceptance of open source technologiesOperating system

◦LinuxDatabases

◦MySQLApplication servers

◦ Jboss, ApacheProgramming frameworks

◦Struts, Log4J, CommonsDevelopment environment

◦Eclipse, Maven, PHPCMS

◦Magnolia, Drupal

Page 5: מתפ

The IdeaSoftware shouldn’t cost so muchSo common software is built by people

around the world, who also maintain it

Real life:◦Not really the case◦Most open source projects are supported by

companies, with open source code, but with support model

Page 6: מתפ

Business PlanNothing comes for freePay for support, legal, etcSupport gives you bug fixes, longer

maintenance model

Page 7: מתפ

New Java TechnologiesJavaEE5 is hereAnd so is:

◦JSF◦EJB3 + JPA

Page 8: מתפ

JavaServer Faces and JSPJSF is specified to support JSP

◦But is not required to use itJSF comes with two JSP base component

libraries◦Core - For application tasks

Validation, Datatype conversion◦HTML - For rendering basic HTML

Input fields, menus, tables button

Page 9: מתפ

JSF TechnologyA basic JSF application consists of:

◦JSF UI components - encapsulated in JSP tag libraries

◦Navigation Model – defines rules for navigation◦Managed Beans - facilitate the UI logic of the

application◦Helper Objects – validation and conversion

Page 10: מתפ

JSF ComponentsBasic building blocks of a JSF applicationComponents can represent simple to

complex controls e.g. a button, a graph, or a complete page.

Can be associated to Model data objects through Value Binding

JSF components use helper objects: validators, converters, listeners/events

Page 11: מתפ

JSF Component ModelJSF Components consists of three things:UIComponents

◦Functionality, definition, or behaviorRenderers

◦Converts components to and from a specific markup language

Render Kits ◦Library of Renderers◦Basic HTML RenderKit is part of the

specification

Page 12: מתפ

What is JPA?JPA stands for a java persistence API which

is Javax. Persistence Package. Basically , it is a Java programming Language framework that helps developers to control relational data in java platform. The JPA exactly was described as part of the EJB3.0 , which is a replacement to the EJB2CMP Entity Beans specification, specification . As we know that a java persistence API is the newest of several Java persistence specifications.

Page 13: מתפ

What is persistence consists of.. ?

Any persistence consists of there Areas:The API, defined in the Javax. Persistence

package The java persistence Query Language Object / relational meta data.

Page 14: מתפ

What JPA does exactly?

JPA defined a runtime Entity Manger API processing queries and transaction on the objects against the database.

It is defined a objects-level query language JPQL to allow querying of the objects from the database.

Page 15: מתפ

What is java persistence query language is used for?

Basically, JPQL stands for Java Persistence Query Language. And it is used to make queries for against entities stored in a relational database. Queries resemble SQL queries in syntax, but operate against entity objects rather than directly with database tables.

Page 16: מתפ

Sample Process of Using Java Persistence API

Page 17: מתפ

Other TechnologiesEclipseMavenDistributed Caching and grid

◦Terracotta, Coherence, WebSphereXS

Page 18: מתפ

SOAService Oriented ArchitectureA new architecture for our business

applicationsBenefits:

◦Separation of responsibilities between different services

◦Easier maintenance◦Usage of BPM

Page 19: מתפ

Cloud ComputingBetter use of your computing resourcesEither internally (private cloud) or on the

internet (public cloud)Public cloud providers:

◦Amazon EC2, Google AppEngineYour existing datacenter can become a

cloudHeavy dependency on VMs