Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.

Java EE Introduction

3.045 visualizaciones

Publicado el

Java EE Introduction

Publicado en: Software

Java EE Introduction

  1. 1. Java EE Introduction ejlp12@gmail.com
  2. 2. Keywords Java JVM ArrayList JRE JDK J2SE POJO Bytecode JAR Main class Manifest.MF .class Javadoc Object.class debugger UML Object language Reflection heap GC
  3. 3. Keywords JavaEE JSF @EJB JMS JPA Validation CriteriaBuilder JPQL NativeQuery Renderer @MessageDrivenBean @PersistenceContext @Inject @SessionScope @ManagedBean @NotNull Transaction @TransactionAttribute component @Converter @Validator EntityManager @Resource @Stateless container JCP JSR
  4. 4. ∗ Java ∗ Coffee ∗ A technology invented by Sun Microsystem now an Oracle product. ∗ A programming language ∗ « Write once, run everywhere ». ∗ JVM – Java Virtual Machine. It abstracts your OS and executes the Java byte code. Java
  5. 5. ∗ JRE – Java Runtime Environment . Set of tools aims to execute a Java program ∗ The virtual machine ∗ The byte code interpreter and converter into native code ∗ The standard Java API ∗ JDK – Java Standard Development Kit. It’s your toolbox. It allows to write Java source code and compiles it into byte code. ∗ Javac, the java compiler which converts source code (.java) into byte code (.class) ∗ Jar, the java archiver. It archives a set of class files into a jar file ∗ Javadoc, the documentation generator (abuse it!) ∗ Jdb, the java debugger ∗ A JRE Java
  6. 6. ∗ Java 2 SE  Java SE ∗ Java Standard Edition. Contains the basics API. It’s desktop computer oriented. ∗ A set of basics API ∗ Example: Collections, Date, Math, etc ∗ Major release versions of Java: ∗ JDK 1.0 (January 21, 1996) ∗ JDK 1.1 (February 19, 1997) ∗ J2SE 1.2 (December 8, 1998) ∗ J2SE 1.3 (May 8, 2000) ∗ J2SE 1.4 (February 6, 2002) ∗ J2SE 5.0 (September 30, 2004) ∗ Java SE 6 (December 11, 2006) ∗ Java SE 7 (July 28, 2011) ∗ Java SE 8 (March 18, 2014) Java SE
  7. 7. Java SE
  8. 8. ∗ Specifications of standard API ∗ Defined by the Java Community Process (JCP) ∗ Java Specification Requests (JSRs): proposed and final specifications ∗ Different implementation of same API ∗ Example: JPA is implemented by Eclipselink, OpenJPA, Hibernate ∗ Certifications ∗ Architecture pattern ∗ Large scale ∗ Multi-tiers (Presentation Logic, Business Logic, Persistence) ∗ Scalable ∗ Reliable ∗ Secure ∗ J2EE = an extension of Java SE to facilitate the development of enterprise applications ? Java EE
  9. 9. ∗ Version History ∗ Java EE 8 (expected mid 2017) Java EE
  10. 10. Java EE 6 (JSR 316)
  11. 11. Java EE 7 (JSR 342)
  12. 12. Java EE 6 EJB Lite in Web Profile
  13. 13. Java EE architecture Client Database EJB ContainerEJB Container Web ContainerWeb Container Application Client Application Client Web BrowserWeb Browser Enterprise Bean Enterprise Bean ServletServlet JSP PageJSP Page Java EE Server Enterprise Bean Enterprise Bean Enterprise Bean Enterprise Bean JSP PageJSP PageServletServlet • Presentation Tier • Business Logic Tier • Data (EIS) Tier
  14. 14. Java EE servers ∗ ‘’Java EE is a set of specifications implemented by different containers. Containers are Java EE runtime environment that provides certain services to the component they host… ’’ Antonio Goncalves, Beginning Java EE 6 Platform with GlassFish 3 ∗ J2EE server = Web container + J2EE implementation
  15. 15. Java EE 6 APIs
  16. 16. Java EE 7 APIs
  17. 17. J2EE APIs – The big picture
  18. 18. Java EE Ecosystem - Frameworks
  19. 19. Web Technology Admin Template
  20. 20. ∗ jar – EJB Module ∗ war – web module normally contain several Servlets, JavaServer Pages and other Web resources e.g. HTML files, graphics files, audio files and movies ∗ jar – Application Client ∗ rar – Resource Adapter Module Java EE Packaging Configuratoin in xml file is optional since Java EE 6
  21. 21. ∗ J2EE extends J2SE ∗ J2EE is multi-tiers/layered ∗ J2EE is a set of specifications, not a set of implementations ∗ J2EE server = container + J2EE implementations ∗ A J2EE server host J2EE applications To sum up

×