מתפ
DESCRIPTION
TRANSCRIPT
AlunaIsrael’s leading Java/JavaEE and SOA
consulting companyCustomers:
AgendaOpen Source TechnologiesNew Java TechnologiesSOACloud Computing
Open Source TechnologiesMass acceptance of open source technologiesOperating system
◦LinuxDatabases
◦MySQLApplication servers
◦ Jboss, ApacheProgramming frameworks
◦Struts, Log4J, CommonsDevelopment environment
◦Eclipse, Maven, PHPCMS
◦Magnolia, Drupal
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
Business PlanNothing comes for freePay for support, legal, etcSupport gives you bug fixes, longer
maintenance model
New Java TechnologiesJavaEE5 is hereAnd so is:
◦JSF◦EJB3 + JPA
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
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
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
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
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.
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.
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.
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.
Sample Process of Using Java Persistence API
Other TechnologiesEclipseMavenDistributed Caching and grid
◦Terracotta, Coherence, WebSphereXS
SOAService Oriented ArchitectureA new architecture for our business
applicationsBenefits:
◦Separation of responsibilities between different services
◦Easier maintenance◦Usage of BPM
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