SlideShare ist ein Scribd-Unternehmen logo
1 von 74
Introducción al desarrollo Java y BEA Isidro José López  Martínez martes, 29 de Abril de 2008
ÍNDICE ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ÍNDICE ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Introducción ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Introducción ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Introducción ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Introducción
Introducción ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Especificaciones Java ,[object Object],[object Object],[object Object],[object Object],Más información:  http :// jcp.org /en/ home / index JavaServer Pages (JSP) 2.1  245 Plataforma Java 2, Edición Estándar (J2SE) 5.0 (Tiger)  176 Java Database Connectivity (JDBC) 4.0  221 JavaServer Faces (JSF) 1.2  252 Plataforma Java, Edición Empresas (Java EE) 5  244 Enterprise JavaBeans (EJB) 3.0  220 Especificación o Tecnología JSR
Conceptos sobre servidores ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Conceptos sobre servidores
Conceptos sobre servidores ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Conceptos sobre servidores BEA WebLogic Server, IBM WebSphere, SAP Web Application Server, SUN GlassFish, Resin, JBoss Servidores J2EE Apache Tomcat Contenedores Web Apache HTTP Server, Jetty, Microsoft IIS (Internet Information Services) Servidores Web
Servidores J2EE ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Java EE 5 (Mayo 2006) ,[object Object],[object Object],[object Object],[object Object],J2EE 1.4 (Noviembre 2003) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],J2EE 1.3 (Septiembre 2001) Servidores certificados Componentes Especificación
JRE / SDK / JDK ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
JRE / SDK / JDK ,[object Object],[object Object],[object Object],[object Object],[object Object]
JRE / SDK / JDK ,[object Object]
Gestión de memoria en Java Gestión de memoria automática:  garbage collector ´ El JVM (en la heap memory) almacena todos los objetos creados por un programa Java. Su creación viene determinada a través del operador Java “new”, siendo ocupada memoria heap en tiempo de ejecución. Garbage Collection  es el proceso que automáticamente libera los objetos que ya no son referenciados en ninguna parte, relevando al programador de la tarea de liberar memoria. Resumiendo: el programador determina cuándo se crean los objetos, y el entorno de ejecución Java es responsable de gestionar el ciclo de vida de los objetos.  Ejemplo: MiClase a =  new  MiClase(); //Realizo ciertas operaciones… a = null; //Buena práctica para “ayudar” al garbage collector
Clases Java ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Clases JavaBean ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Clases JavaBean ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Evolución aplicaciones web ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Evolución aplicaciones web ,[object Object]
Evolución aplicaciones web ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Evolución aplicaciones web ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Java 5 Annotations ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Capas de una aplicación Java EE ,[object Object],[object Object],[object Object],[object Object],[object Object]
Capas de una aplicación Java EE ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Capas de una aplicación Java EE ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Capas de una aplicación Java EE ,[object Object],[object Object],[object Object]
Comunicación asíncrona en Java: JMS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Comunicación asíncrona en Java: JMS
Servlet ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Volver
JSP ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Volver
EJB ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Volver
CONTINUARÁ…
Patrones de diseño ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Patrones J2EE ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Ejemplo arquitectura de patrones
Patrón MVC ,[object Object],[object Object],[object Object],[object Object],[object Object]
Frameworks ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Frameworks ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Frameworks ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
AJAX (I) ,[object Object],[object Object],[object Object]
AJAX (II) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Java Server Faces ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Look and feel de las aplicaciones: CSS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Componentes Java EE ,[object Object],[object Object],[object Object],[object Object],[object Object]
Componentes Java EE ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Componentes Java EE ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Entorno de desarrollo local ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Despliegues en BEA WLS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Conceptos BEA WLS ,[object Object],[object Object],[object Object],[object Object],[object Object]
Dominios ,[object Object],[object Object],[object Object],[object Object],[object Object]
Servers The  Administration Server  operates as the central control entity for the configuration of the entire domain. It maintains the domain's configuration documents and distributes changes in the configuration documents to Managed Servers. You can also use the Administration Server as a central location from which to monitor all resources in a domain.  Managed Servers  host business applications (EJB), application components (web, libraries…), Web services, and their associated resources  Resources services:  JDBC data sources, Mail sessions, Security providers, diagnostics and monitoring services…
Alta disponibilidad ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Alta disponibilidad ,[object Object],[object Object],[object Object],[object Object]
Ejemplo HA: Entorno de Producción BEA
Seguridad en BEA: estándar Java EE ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Seguridad en BEA: Access Manager ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Seguridad en BEA: Access Manager
Seguridad en BEA: Access Manager
Seguridad en BEA: ALES ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Acceso a SAP R/3 ,[object Object],[object Object],[object Object],[object Object],[object Object]
Gestión del ciclo de vida ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Gestión del ciclo de vida ,[object Object],[object Object]
Metodologías ágiles ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
RUP ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Web 2.0 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Tabla resumen Tabla resumen de herramientas, frameworks, tecnologías o librerías a utilizar por defecto en el desarrollo de aplicaciones Java: Look and feel de las vistas (JSP, HTML, etc) CSS Web Services JAX-WS Acceso y Reutilización de componentes librería BEA Shared Library / Optional packages Acceso a SAP R/3 BEA Smart Connector Persistencia (a través de DAOs) BEA Kodo JPA Logging y tracing Log4j Plantillas para las vistas Tiles Capa de negocio EJB 3.0 Capa web Java Server Faces Herramienta de SCM SubVersion IDE de desarrollo BEA Workshop for WebLogic Utilización Nombre
Glosario http://java.sun.com/javaee/reference/glossary/
Glosario Feature Driven Development FDD Enterprise Resource Planning ERP Expression Language EL Enterpise Java Bean EJB Enterprise Information System EIS Enterprise Archive EAR Documentum Foundation Classes DFC Documentum Foundation Classes DFC Concurrent Versions System CVS Cascading Style Sheet CSS Continuous Integration CI Common Gateway Interface CGI BEA WebLogic Server BEA WLS  BEA AquaLogic Service Bus BEA ALSB BEA AquaLogic Enterprise Security BEA ALES Application Programming Interface API SUN Access Manager AM Asynchronous Javascript and XML AJAX Descripción Nombre Java Specification Request JSR Java Server Pages JSP Java Server Faces JSF Java Server Faces JSF Java Runtime Environment JRE Java Message Service JMS Java Development Kit JDK Java DataBase Connectivity JDBC Java Community Process JCP Java Community Process JCP Java Connector Architecture JCA Java Standard Edition Java SE Java Enterprise Edition Java EE Java Archive JAR Integrated Development Environment IDE Hyper Text Transfer Protocol HTTP Hyper Text Markup Language HTML High Availability HA Descripción Nombre
Glosario Source Control Management  SCM SAP Web Application Server SAP WAS SAP Java Connector SAP JCo Rational Unified Process RUP Really Simple Sindication RSS Remote Method Invocation RMI Rich Internet Applications RIA Resource Adapter Archive RAR Plain Old Java Object POJO Object-Relational Mapping ORM Model-View-Controller MVC Message Oriented Middleware MOM Message Driven Bean MDB Lightweight Directory Access Protocol LDAP Java Virtual Machine JVM Java Transaction API JTA Java Server Tags Library JSTL Descripción Nombre Extreme Programming XP eXtensible Markup Language XML eXtensible HTML XHTML Web Development Kit (Documentum) WDK Web Archive WAR Unified Modeling Language UML Subversion SVN Secure Sockets Layer SSL Software Development Kit SDK Descripción Nombre
Ruegos y preguntas Gracias por vuestra atención

Weitere ähnliche Inhalte

Was ist angesagt?

Tema 1 el entorno de desarrollo de java
Tema 1 el entorno de desarrollo de javaTema 1 el entorno de desarrollo de java
Tema 1 el entorno de desarrollo de javaSabinaChambi
 
Curso Java Resumen - Curso 2005-2006
Curso Java Resumen - Curso 2005-2006Curso Java Resumen - Curso 2005-2006
Curso Java Resumen - Curso 2005-2006Samuel Marrero
 
5. Curso Java Struts I (Framework para Java) - Curso 2005-2006
5. Curso Java Struts I (Framework para Java) - Curso 2005-20065. Curso Java Struts I (Framework para Java) - Curso 2005-2006
5. Curso Java Struts I (Framework para Java) - Curso 2005-2006Samuel Marrero
 
[ES] Conectividad de java a base de datos(jdbc)
[ES] Conectividad de java a base  de datos(jdbc)[ES] Conectividad de java a base  de datos(jdbc)
[ES] Conectividad de java a base de datos(jdbc)Eudris Cabrera
 
Persistencia de datos en Java
Persistencia de datos en JavaPersistencia de datos en Java
Persistencia de datos en JavaIker Canarias
 
Breve introducción a Apache Ant
Breve introducción a Apache AntBreve introducción a Apache Ant
Breve introducción a Apache AntIker Canarias
 
Clase2
Clase2Clase2
Clase2rilara
 
[ES] Introducción a Java EE 7
[ES] Introducción a Java EE 7[ES] Introducción a Java EE 7
[ES] Introducción a Java EE 7Eudris Cabrera
 
Carasteristicas de compiladores sheshar
Carasteristicas de compiladores shesharCarasteristicas de compiladores sheshar
Carasteristicas de compiladores shesharudalrico
 
Taller introducción Java EE 7 @UAPA
Taller introducción Java EE 7  @UAPATaller introducción Java EE 7  @UAPA
Taller introducción Java EE 7 @UAPAEudris Cabrera
 
java,conceptos basicos
java,conceptos basicosjava,conceptos basicos
java,conceptos basicosMariano Galvez
 
PRIMERA PRESENTACION JAVA
PRIMERA PRESENTACION JAVAPRIMERA PRESENTACION JAVA
PRIMERA PRESENTACION JAVANoralma Yanez
 

Was ist angesagt? (20)

Tema 1 el entorno de desarrollo de java
Tema 1 el entorno de desarrollo de javaTema 1 el entorno de desarrollo de java
Tema 1 el entorno de desarrollo de java
 
Curso Java Resumen - Curso 2005-2006
Curso Java Resumen - Curso 2005-2006Curso Java Resumen - Curso 2005-2006
Curso Java Resumen - Curso 2005-2006
 
5. Curso Java Struts I (Framework para Java) - Curso 2005-2006
5. Curso Java Struts I (Framework para Java) - Curso 2005-20065. Curso Java Struts I (Framework para Java) - Curso 2005-2006
5. Curso Java Struts I (Framework para Java) - Curso 2005-2006
 
[ES] Conectividad de java a base de datos(jdbc)
[ES] Conectividad de java a base  de datos(jdbc)[ES] Conectividad de java a base  de datos(jdbc)
[ES] Conectividad de java a base de datos(jdbc)
 
Persistencia de datos en Java
Persistencia de datos en JavaPersistencia de datos en Java
Persistencia de datos en Java
 
Breve introducción a Apache Ant
Breve introducción a Apache AntBreve introducción a Apache Ant
Breve introducción a Apache Ant
 
JDBC
JDBCJDBC
JDBC
 
Resumen jee
Resumen jeeResumen jee
Resumen jee
 
Clase2
Clase2Clase2
Clase2
 
Ediciones de java
Ediciones de javaEdiciones de java
Ediciones de java
 
[ES] Introducción a Java EE 7
[ES] Introducción a Java EE 7[ES] Introducción a Java EE 7
[ES] Introducción a Java EE 7
 
Jdbc
JdbcJdbc
Jdbc
 
Carasteristicas de compiladores sheshar
Carasteristicas de compiladores shesharCarasteristicas de compiladores sheshar
Carasteristicas de compiladores sheshar
 
Presentacion web2py
Presentacion web2pyPresentacion web2py
Presentacion web2py
 
Curso Java Avanzado 5 Ejb
Curso Java Avanzado   5 EjbCurso Java Avanzado   5 Ejb
Curso Java Avanzado 5 Ejb
 
Taller introducción Java EE 7 @UAPA
Taller introducción Java EE 7  @UAPATaller introducción Java EE 7  @UAPA
Taller introducción Java EE 7 @UAPA
 
JAVA
JAVAJAVA
JAVA
 
java,conceptos basicos
java,conceptos basicosjava,conceptos basicos
java,conceptos basicos
 
Charla
CharlaCharla
Charla
 
PRIMERA PRESENTACION JAVA
PRIMERA PRESENTACION JAVAPRIMERA PRESENTACION JAVA
PRIMERA PRESENTACION JAVA
 

Andere mochten auch

Andere mochten auch (9)

J2EE Servlets Tutorial
J2EE Servlets TutorialJ2EE Servlets Tutorial
J2EE Servlets Tutorial
 
2/9 Curso JEE5, Soa, Web Services, ESB y XML
2/9 Curso JEE5, Soa, Web Services, ESB y XML2/9 Curso JEE5, Soa, Web Services, ESB y XML
2/9 Curso JEE5, Soa, Web Services, ESB y XML
 
20001215 Programación de Servlets y WML
20001215   Programación de Servlets y WML20001215   Programación de Servlets y WML
20001215 Programación de Servlets y WML
 
Eclipse
EclipseEclipse
Eclipse
 
Tema2a Jsp
Tema2a JspTema2a Jsp
Tema2a Jsp
 
Curso Jsp Mas
Curso Jsp MasCurso Jsp Mas
Curso Jsp Mas
 
Tema servlets
Tema servletsTema servlets
Tema servlets
 
JSP diana y yo
JSP diana y yoJSP diana y yo
JSP diana y yo
 
Jsp Paginacion
Jsp PaginacionJsp Paginacion
Jsp Paginacion
 

Ähnlich wie Introducción Java, BEA y arquitectura J2EE

Trabajo de java
Trabajo de javaTrabajo de java
Trabajo de javajumper2099
 
Manual 2014 i 04 lenguaje de programación ii (0870)
Manual 2014 i 04 lenguaje de programación ii (0870)Manual 2014 i 04 lenguaje de programación ii (0870)
Manual 2014 i 04 lenguaje de programación ii (0870)Robert Rayco Quiroz
 
Plataforma de programación Java
Plataforma de programación JavaPlataforma de programación Java
Plataforma de programación JavaAntonio Contreras
 
[ES] Fundamentos de Java Enterprise Edition
[ES] Fundamentos de Java Enterprise Edition [ES] Fundamentos de Java Enterprise Edition
[ES] Fundamentos de Java Enterprise Edition Eudris Cabrera
 
Arquitectura y diseño de aplicaciones Java EE
Arquitectura y diseño de aplicaciones Java EEArquitectura y diseño de aplicaciones Java EE
Arquitectura y diseño de aplicaciones Java EECarlos Gavidia-Calderon
 
Introducción a java EE 7
Introducción a java EE 7Introducción a java EE 7
Introducción a java EE 7Carlos Camacho
 
[ES] Introducción a las Aplicaciones Web con Java
[ES] Introducción a las Aplicaciones Web con Java[ES] Introducción a las Aplicaciones Web con Java
[ES] Introducción a las Aplicaciones Web con JavaEudris Cabrera
 
Introducción al desarrollo de aplicaciones web en Java
Introducción al desarrollo de aplicaciones web en JavaIntroducción al desarrollo de aplicaciones web en Java
Introducción al desarrollo de aplicaciones web en JavaEudris Cabrera
 
introduccion-a-las-aplicaciones-web-y-tecnologia-java.ppt
introduccion-a-las-aplicaciones-web-y-tecnologia-java.pptintroduccion-a-las-aplicaciones-web-y-tecnologia-java.ppt
introduccion-a-las-aplicaciones-web-y-tecnologia-java.pptBYRONMIGUELSUBUYUCPA
 
Tutorial javafx-primeros-pasos
Tutorial javafx-primeros-pasosTutorial javafx-primeros-pasos
Tutorial javafx-primeros-pasosNorman Enmanuel
 
01 jee5-componentes
01 jee5-componentes01 jee5-componentes
01 jee5-componentesUTN
 

Ähnlich wie Introducción Java, BEA y arquitectura J2EE (20)

JEE y Tomcat
JEE y TomcatJEE y Tomcat
JEE y Tomcat
 
Trabajo de java
Trabajo de javaTrabajo de java
Trabajo de java
 
Manual 2014 i 04 lenguaje de programación ii (0870)
Manual 2014 i 04 lenguaje de programación ii (0870)Manual 2014 i 04 lenguaje de programación ii (0870)
Manual 2014 i 04 lenguaje de programación ii (0870)
 
Plataforma de programación Java
Plataforma de programación JavaPlataforma de programación Java
Plataforma de programación Java
 
El Universo Java (2007)
El Universo Java (2007)El Universo Java (2007)
El Universo Java (2007)
 
[ES] Fundamentos de Java Enterprise Edition
[ES] Fundamentos de Java Enterprise Edition [ES] Fundamentos de Java Enterprise Edition
[ES] Fundamentos de Java Enterprise Edition
 
Arquitectura y diseño de aplicaciones Java EE
Arquitectura y diseño de aplicaciones Java EEArquitectura y diseño de aplicaciones Java EE
Arquitectura y diseño de aplicaciones Java EE
 
J2 ee
J2 eeJ2 ee
J2 ee
 
Introduccion a Java
Introduccion a JavaIntroduccion a Java
Introduccion a Java
 
Introducción a java EE 7
Introducción a java EE 7Introducción a java EE 7
Introducción a java EE 7
 
Java
JavaJava
Java
 
[ES] Introducción a las Aplicaciones Web con Java
[ES] Introducción a las Aplicaciones Web con Java[ES] Introducción a las Aplicaciones Web con Java
[ES] Introducción a las Aplicaciones Web con Java
 
sesion_01-JAVA.pdf
sesion_01-JAVA.pdfsesion_01-JAVA.pdf
sesion_01-JAVA.pdf
 
Presentación Final Master JAVA UNED 2012
Presentación Final Master JAVA UNED 2012Presentación Final Master JAVA UNED 2012
Presentación Final Master JAVA UNED 2012
 
C1 java introduccion
C1 java introduccionC1 java introduccion
C1 java introduccion
 
C1 java introduccion
C1 java introduccionC1 java introduccion
C1 java introduccion
 
Introducción al desarrollo de aplicaciones web en Java
Introducción al desarrollo de aplicaciones web en JavaIntroducción al desarrollo de aplicaciones web en Java
Introducción al desarrollo de aplicaciones web en Java
 
introduccion-a-las-aplicaciones-web-y-tecnologia-java.ppt
introduccion-a-las-aplicaciones-web-y-tecnologia-java.pptintroduccion-a-las-aplicaciones-web-y-tecnologia-java.ppt
introduccion-a-las-aplicaciones-web-y-tecnologia-java.ppt
 
Tutorial javafx-primeros-pasos
Tutorial javafx-primeros-pasosTutorial javafx-primeros-pasos
Tutorial javafx-primeros-pasos
 
01 jee5-componentes
01 jee5-componentes01 jee5-componentes
01 jee5-componentes
 

Kürzlich hochgeladen

POWER POINT YUCRAElabore una PRESENTACIÓN CORTA sobre el video película: La C...
POWER POINT YUCRAElabore una PRESENTACIÓN CORTA sobre el video película: La C...POWER POINT YUCRAElabore una PRESENTACIÓN CORTA sobre el video película: La C...
POWER POINT YUCRAElabore una PRESENTACIÓN CORTA sobre el video película: La C...silviayucra2
 
Redes direccionamiento y subredes ipv4 2024 .pdf
Redes direccionamiento y subredes ipv4 2024 .pdfRedes direccionamiento y subredes ipv4 2024 .pdf
Redes direccionamiento y subredes ipv4 2024 .pdfsoporteupcology
 
EPA-pdf resultado da prova presencial Uninove
EPA-pdf resultado da prova presencial UninoveEPA-pdf resultado da prova presencial Uninove
EPA-pdf resultado da prova presencial UninoveFagnerLisboa3
 
Trabajo Mas Completo De Excel en clase tecnología
Trabajo Mas Completo De Excel en clase tecnologíaTrabajo Mas Completo De Excel en clase tecnología
Trabajo Mas Completo De Excel en clase tecnologíassuserf18419
 
CLASE DE TECNOLOGIA E INFORMATICA PRIMARIA
CLASE  DE TECNOLOGIA E INFORMATICA PRIMARIACLASE  DE TECNOLOGIA E INFORMATICA PRIMARIA
CLASE DE TECNOLOGIA E INFORMATICA PRIMARIAWilbisVega
 
Hernandez_Hernandez_Practica web de la sesion 12.pptx
Hernandez_Hernandez_Practica web de la sesion 12.pptxHernandez_Hernandez_Practica web de la sesion 12.pptx
Hernandez_Hernandez_Practica web de la sesion 12.pptxJOSEMANUELHERNANDEZH11
 
Plan de aula informatica segundo periodo.docx
Plan de aula informatica segundo periodo.docxPlan de aula informatica segundo periodo.docx
Plan de aula informatica segundo periodo.docxpabonheidy28
 
International Women's Day Sucre 2024 (IWD)
International Women's Day Sucre 2024 (IWD)International Women's Day Sucre 2024 (IWD)
International Women's Day Sucre 2024 (IWD)GDGSucre
 
guía de registro de slideshare por Brayan Joseph
guía de registro de slideshare por Brayan Josephguía de registro de slideshare por Brayan Joseph
guía de registro de slideshare por Brayan JosephBRAYANJOSEPHPEREZGOM
 
La era de la educación digital y sus desafios
La era de la educación digital y sus desafiosLa era de la educación digital y sus desafios
La era de la educación digital y sus desafiosFundación YOD YOD
 
Proyecto integrador. Las TIC en la sociedad S4.pptx
Proyecto integrador. Las TIC en la sociedad S4.pptxProyecto integrador. Las TIC en la sociedad S4.pptx
Proyecto integrador. Las TIC en la sociedad S4.pptx241521559
 
9egb-lengua y Literatura.pdf_texto del estudiante
9egb-lengua y Literatura.pdf_texto del estudiante9egb-lengua y Literatura.pdf_texto del estudiante
9egb-lengua y Literatura.pdf_texto del estudianteAndreaHuertas24
 
trabajotecologiaisabella-240424003133-8f126965.pdf
trabajotecologiaisabella-240424003133-8f126965.pdftrabajotecologiaisabella-240424003133-8f126965.pdf
trabajotecologiaisabella-240424003133-8f126965.pdfIsabellaMontaomurill
 
KELA Presentacion Costa Rica 2024 - evento Protégeles
KELA Presentacion Costa Rica 2024 - evento ProtégelesKELA Presentacion Costa Rica 2024 - evento Protégeles
KELA Presentacion Costa Rica 2024 - evento ProtégelesFundación YOD YOD
 
Cortes-24-de-abril-Tungurahua-3 año 2024
Cortes-24-de-abril-Tungurahua-3 año 2024Cortes-24-de-abril-Tungurahua-3 año 2024
Cortes-24-de-abril-Tungurahua-3 año 2024GiovanniJavierHidalg
 
Global Azure Lima 2024 - Integración de Datos con Microsoft Fabric
Global Azure Lima 2024 - Integración de Datos con Microsoft FabricGlobal Azure Lima 2024 - Integración de Datos con Microsoft Fabric
Global Azure Lima 2024 - Integración de Datos con Microsoft FabricKeyla Dolores Méndez
 

Kürzlich hochgeladen (16)

POWER POINT YUCRAElabore una PRESENTACIÓN CORTA sobre el video película: La C...
POWER POINT YUCRAElabore una PRESENTACIÓN CORTA sobre el video película: La C...POWER POINT YUCRAElabore una PRESENTACIÓN CORTA sobre el video película: La C...
POWER POINT YUCRAElabore una PRESENTACIÓN CORTA sobre el video película: La C...
 
Redes direccionamiento y subredes ipv4 2024 .pdf
Redes direccionamiento y subredes ipv4 2024 .pdfRedes direccionamiento y subredes ipv4 2024 .pdf
Redes direccionamiento y subredes ipv4 2024 .pdf
 
EPA-pdf resultado da prova presencial Uninove
EPA-pdf resultado da prova presencial UninoveEPA-pdf resultado da prova presencial Uninove
EPA-pdf resultado da prova presencial Uninove
 
Trabajo Mas Completo De Excel en clase tecnología
Trabajo Mas Completo De Excel en clase tecnologíaTrabajo Mas Completo De Excel en clase tecnología
Trabajo Mas Completo De Excel en clase tecnología
 
CLASE DE TECNOLOGIA E INFORMATICA PRIMARIA
CLASE  DE TECNOLOGIA E INFORMATICA PRIMARIACLASE  DE TECNOLOGIA E INFORMATICA PRIMARIA
CLASE DE TECNOLOGIA E INFORMATICA PRIMARIA
 
Hernandez_Hernandez_Practica web de la sesion 12.pptx
Hernandez_Hernandez_Practica web de la sesion 12.pptxHernandez_Hernandez_Practica web de la sesion 12.pptx
Hernandez_Hernandez_Practica web de la sesion 12.pptx
 
Plan de aula informatica segundo periodo.docx
Plan de aula informatica segundo periodo.docxPlan de aula informatica segundo periodo.docx
Plan de aula informatica segundo periodo.docx
 
International Women's Day Sucre 2024 (IWD)
International Women's Day Sucre 2024 (IWD)International Women's Day Sucre 2024 (IWD)
International Women's Day Sucre 2024 (IWD)
 
guía de registro de slideshare por Brayan Joseph
guía de registro de slideshare por Brayan Josephguía de registro de slideshare por Brayan Joseph
guía de registro de slideshare por Brayan Joseph
 
La era de la educación digital y sus desafios
La era de la educación digital y sus desafiosLa era de la educación digital y sus desafios
La era de la educación digital y sus desafios
 
Proyecto integrador. Las TIC en la sociedad S4.pptx
Proyecto integrador. Las TIC en la sociedad S4.pptxProyecto integrador. Las TIC en la sociedad S4.pptx
Proyecto integrador. Las TIC en la sociedad S4.pptx
 
9egb-lengua y Literatura.pdf_texto del estudiante
9egb-lengua y Literatura.pdf_texto del estudiante9egb-lengua y Literatura.pdf_texto del estudiante
9egb-lengua y Literatura.pdf_texto del estudiante
 
trabajotecologiaisabella-240424003133-8f126965.pdf
trabajotecologiaisabella-240424003133-8f126965.pdftrabajotecologiaisabella-240424003133-8f126965.pdf
trabajotecologiaisabella-240424003133-8f126965.pdf
 
KELA Presentacion Costa Rica 2024 - evento Protégeles
KELA Presentacion Costa Rica 2024 - evento ProtégelesKELA Presentacion Costa Rica 2024 - evento Protégeles
KELA Presentacion Costa Rica 2024 - evento Protégeles
 
Cortes-24-de-abril-Tungurahua-3 año 2024
Cortes-24-de-abril-Tungurahua-3 año 2024Cortes-24-de-abril-Tungurahua-3 año 2024
Cortes-24-de-abril-Tungurahua-3 año 2024
 
Global Azure Lima 2024 - Integración de Datos con Microsoft Fabric
Global Azure Lima 2024 - Integración de Datos con Microsoft FabricGlobal Azure Lima 2024 - Integración de Datos con Microsoft Fabric
Global Azure Lima 2024 - Integración de Datos con Microsoft Fabric
 

Introducción Java, BEA y arquitectura J2EE

  • 1. Introducción al desarrollo Java y BEA Isidro José López Martínez martes, 29 de Abril de 2008
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 8.
  • 9.
  • 10.
  • 12.
  • 13. Conceptos sobre servidores BEA WebLogic Server, IBM WebSphere, SAP Web Application Server, SUN GlassFish, Resin, JBoss Servidores J2EE Apache Tomcat Contenedores Web Apache HTTP Server, Jetty, Microsoft IIS (Internet Information Services) Servidores Web
  • 14.
  • 15.
  • 16.
  • 17.
  • 18. Gestión de memoria en Java Gestión de memoria automática: garbage collector ´ El JVM (en la heap memory) almacena todos los objetos creados por un programa Java. Su creación viene determinada a través del operador Java “new”, siendo ocupada memoria heap en tiempo de ejecución. Garbage Collection es el proceso que automáticamente libera los objetos que ya no son referenciados en ninguna parte, relevando al programador de la tarea de liberar memoria. Resumiendo: el programador determina cuándo se crean los objetos, y el entorno de ejecución Java es responsable de gestionar el ciclo de vida de los objetos. Ejemplo: MiClase a = new MiClase(); //Realizo ciertas operaciones… a = null; //Buena práctica para “ayudar” al garbage collector
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 33.
  • 34.
  • 35.
  • 37.
  • 38.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55. Servers The Administration Server operates as the central control entity for the configuration of the entire domain. It maintains the domain's configuration documents and distributes changes in the configuration documents to Managed Servers. You can also use the Administration Server as a central location from which to monitor all resources in a domain. Managed Servers host business applications (EJB), application components (web, libraries…), Web services, and their associated resources Resources services: JDBC data sources, Mail sessions, Security providers, diagnostics and monitoring services…
  • 56.
  • 57.
  • 58. Ejemplo HA: Entorno de Producción BEA
  • 59.
  • 60.
  • 61. Seguridad en BEA: Access Manager
  • 62. Seguridad en BEA: Access Manager
  • 63.
  • 64.
  • 65.
  • 66.
  • 67.
  • 68.
  • 69.
  • 70. Tabla resumen Tabla resumen de herramientas, frameworks, tecnologías o librerías a utilizar por defecto en el desarrollo de aplicaciones Java: Look and feel de las vistas (JSP, HTML, etc) CSS Web Services JAX-WS Acceso y Reutilización de componentes librería BEA Shared Library / Optional packages Acceso a SAP R/3 BEA Smart Connector Persistencia (a través de DAOs) BEA Kodo JPA Logging y tracing Log4j Plantillas para las vistas Tiles Capa de negocio EJB 3.0 Capa web Java Server Faces Herramienta de SCM SubVersion IDE de desarrollo BEA Workshop for WebLogic Utilización Nombre
  • 72. Glosario Feature Driven Development FDD Enterprise Resource Planning ERP Expression Language EL Enterpise Java Bean EJB Enterprise Information System EIS Enterprise Archive EAR Documentum Foundation Classes DFC Documentum Foundation Classes DFC Concurrent Versions System CVS Cascading Style Sheet CSS Continuous Integration CI Common Gateway Interface CGI BEA WebLogic Server BEA WLS BEA AquaLogic Service Bus BEA ALSB BEA AquaLogic Enterprise Security BEA ALES Application Programming Interface API SUN Access Manager AM Asynchronous Javascript and XML AJAX Descripción Nombre Java Specification Request JSR Java Server Pages JSP Java Server Faces JSF Java Server Faces JSF Java Runtime Environment JRE Java Message Service JMS Java Development Kit JDK Java DataBase Connectivity JDBC Java Community Process JCP Java Community Process JCP Java Connector Architecture JCA Java Standard Edition Java SE Java Enterprise Edition Java EE Java Archive JAR Integrated Development Environment IDE Hyper Text Transfer Protocol HTTP Hyper Text Markup Language HTML High Availability HA Descripción Nombre
  • 73. Glosario Source Control Management SCM SAP Web Application Server SAP WAS SAP Java Connector SAP JCo Rational Unified Process RUP Really Simple Sindication RSS Remote Method Invocation RMI Rich Internet Applications RIA Resource Adapter Archive RAR Plain Old Java Object POJO Object-Relational Mapping ORM Model-View-Controller MVC Message Oriented Middleware MOM Message Driven Bean MDB Lightweight Directory Access Protocol LDAP Java Virtual Machine JVM Java Transaction API JTA Java Server Tags Library JSTL Descripción Nombre Extreme Programming XP eXtensible Markup Language XML eXtensible HTML XHTML Web Development Kit (Documentum) WDK Web Archive WAR Unified Modeling Language UML Subversion SVN Secure Sockets Layer SSL Software Development Kit SDK Descripción Nombre
  • 74. Ruegos y preguntas Gracias por vuestra atención

Hinweis der Redaktion

  1. Web container A container that implements the Web component contract of the J2EE architecture. This contract specifies a runtime environment for Web components that includes security, concurrency, life-cycle management, transaction, deployment, and other services. A Web container provides the same services as a JSP container as well as a federated view of the J2EE platform APIs. A Web container is provided by a Web or J2EE server. Web server Software that provides services to access the Internet, an intranet, or an extranet. A Web server hosts Web sites, provides support for HTTP and other protocols, and executes server-side programs (such as CGI scripts or servlets) that perform certain functions. In the J2EE architecture, a Web server provides services to a Web container . For example, a Web container typically relies on a Web server to provide HTTP message handling. The J2EE architecture assumes that a Web container is hosted by a Web server from the same vendor, so it does not specify the contract between these two entities. A Web server can host one or more Web containers. EJB container A container that implements the EJB component contract of the J2EE architecture. This contract specifies a runtime environment for enterprise beans that includes security, concurrency, life-cycle management, transactions, deployment, naming, and other services. An EJB container is provided by an EJB or J2EE server.
  2. Web container A container that implements the Web component contract of the J2EE architecture. This contract specifies a runtime environment for Web components that includes security, concurrency, life-cycle management, transaction, deployment, and other services. A Web container provides the same services as a JSP container as well as a federated view of the J2EE platform APIs. A Web container is provided by a Web or J2EE server. Web server Software that provides services to access the Internet, an intranet, or an extranet. A Web server hosts Web sites, provides support for HTTP and other protocols, and executes server-side programs (such as CGI scripts or servlets) that perform certain functions. In the J2EE architecture, a Web server provides services to a Web container . For example, a Web container typically relies on a Web server to provide HTTP message handling. The J2EE architecture assumes that a Web container is hosted by a Web server from the same vendor, so it does not specify the contract between these two entities. A Web server can host one or more Web containers. EJB container A container that implements the EJB component contract of the J2EE architecture. This contract specifies a runtime environment for enterprise beans that includes security, concurrency, life-cycle management, transactions, deployment, naming, and other services. An EJB container is provided by an EJB or J2EE server.
  3. Web container A container that implements the Web component contract of the J2EE architecture. This contract specifies a runtime environment for Web components that includes security, concurrency, life-cycle management, transaction, deployment, and other services. A Web container provides the same services as a JSP container as well as a federated view of the J2EE platform APIs. A Web container is provided by a Web or J2EE server. Web server Software that provides services to access the Internet, an intranet, or an extranet. A Web server hosts Web sites, provides support for HTTP and other protocols, and executes server-side programs (such as CGI scripts or servlets) that perform certain functions. In the J2EE architecture, a Web server provides services to a Web container . For example, a Web container typically relies on a Web server to provide HTTP message handling. The J2EE architecture assumes that a Web container is hosted by a Web server from the same vendor, so it does not specify the contract between these two entities. A Web server can host one or more Web containers. EJB container A container that implements the EJB component contract of the J2EE architecture. This contract specifies a runtime environment for enterprise beans that includes security, concurrency, life-cycle management, transactions, deployment, naming, and other services. An EJB container is provided by an EJB or J2EE server.
  4. Web container A container that implements the Web component contract of the J2EE architecture. This contract specifies a runtime environment for Web components that includes security, concurrency, life-cycle management, transaction, deployment, and other services. A Web container provides the same services as a JSP container as well as a federated view of the J2EE platform APIs. A Web container is provided by a Web or J2EE server. Web server Software that provides services to access the Internet, an intranet, or an extranet. A Web server hosts Web sites, provides support for HTTP and other protocols, and executes server-side programs (such as CGI scripts or servlets) that perform certain functions. In the J2EE architecture, a Web server provides services to a Web container . For example, a Web container typically relies on a Web server to provide HTTP message handling. The J2EE architecture assumes that a Web container is hosted by a Web server from the same vendor, so it does not specify the contract between these two entities. A Web server can host one or more Web containers. EJB container A container that implements the EJB component contract of the J2EE architecture. This contract specifies a runtime environment for enterprise beans that includes security, concurrency, life-cycle management, transactions, deployment, naming, and other services. An EJB container is provided by an EJB or J2EE server.
  5. http://www.roseindia.net/servlets/HistoryOfWebApplication.shtml http://www.informit.com/guides/content.aspx?g=java&seqNum=278 http://www.adobe.com/devnet/server_archive/articles/evolution_of_jsp.html https://www.i-proving.ca/space/Technologies/A+Brief+History+of+Developing+Web+Applications
  6. http://www.roseindia.net/servlets/HistoryOfWebApplication.shtml http://www.informit.com/guides/content.aspx?g=java&seqNum=278 http://www.adobe.com/devnet/server_archive/articles/evolution_of_jsp.html https://www.i-proving.ca/space/Technologies/A+Brief+History+of+Developing+Web+Applications
  7. http://www.roseindia.net/servlets/HistoryOfWebApplication.shtml http://www.informit.com/guides/content.aspx?g=java&seqNum=278 http://www.adobe.com/devnet/server_archive/articles/evolution_of_jsp.html https://www.i-proving.ca/space/Technologies/A+Brief+History+of+Developing+Web+Applications http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/Servlet-Tutorial-Overview.html http://java.sun.com/developer/technicalArticles/javaserverpages/servlets_jsp/
  8. http://www.roseindia.net/servlets/HistoryOfWebApplication.shtml http://www.informit.com/guides/content.aspx?g=java&seqNum=278 http://www.ibm.com/developerworks/java/library/j-jstl0211.html
  9. http://java.sun.com/j2se/1.5.0/docs/guide/language/annotations.html http://www.developer.com/java/other/article.php/3556176
  10. http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/technologies/technologies2.html
  11. http://developer.novell.com/tech/1035.html http://java.sun.com/developer/technicalArticles/Ecommerce/jms/
  12. http://www.javaworld.com/javaworld/jw-08-2006/jw-0814-ejb.html?page=1
  13. http://en.wikipedia.org/wiki/Design_Patterns
  14. http://en.wikipedia.org/wiki/Design_Patterns
  15. http://en.wikipedia.org/wiki/Design_Patterns
  16. http://en.wikipedia.org/wiki/Design_Patterns
  17. Más información: http://java.sun.com/blueprints/patterns/MVC-detailed.html Forces The same enterprise data needs to be accessed when presented in different views: e.g. HTML, WML, JFC/Swing, XML The same enterprise data needs to be updated through different interactions: e.g. link selections on an HTML page or WML card, button clicks on a JFC/Swing GUI, SOAP messages written in XML Supporting multiple types of views and interactions should not impact the components that provide the core functionality of the enterprise application Solution By applying the Model-View-Controller (MVC) architecture to a JavaTM 2 Platform, Enterprise Edition (J2EETM) application, you separate core business model functionality from the presentation and control logic that uses this functionality. Such separation allows multiple views to share the same enterprise data model, which makes supporting multiple clients easier to implement, test, and maintain. Participants & Responsibilities The MVC architecture has its roots in Smalltalk, where it was originally applied to map the traditional input, processing, and output tasks to the graphical user interaction model. However, it is straightforward to map these concepts into the domain of multi-tier enterprise applications. Model - The model represents enterprise data and the business rules that govern access to and updates of this data. Often the model serves as a software approximation to a real-world process, so simple real-world modeling techniques apply when defining the model. View -The view renders the contents of a model. It accesses enterprise data through the model and specifies how that data should be presented. It is the view's responsibility to maintain consistency in its presentation when the model changes. This can be achieved by using a push model, where the view registers itself with the model for change notifications, or a pull model, where the view is responsible for calling the model when it needs to retrieve the most current data. Controller - The controller translates interactions with the view into actions to be performed by the model. In a stand-alone GUI client, user interactions could be button clicks or menu selections, whereas in a Web application, they appear as GET and POST HTTP requests. The actions performed by the model include activating business processes or changing the state of the model. Based on the user interactions and the outcome of the model actions, the controller responds by selecting an appropriate view. Consequences Re-use of Model components. The separation of model and view allows multiple views to use the same enterprise model. Consequently, an enterprise application's model components are easier to implement, test, and maintain, since all access to the model goes through these components. Easier support for new types of clients. To support a new type of client, you simply write a view and some controller logic and wire them into the existing enterprise application. Increased design complexity. This pattern introduces some extra classes due to the separation of model, view, and controller.
  18. http://en.wikipedia.org/wiki/Framework http://en.wikipedia.org/wiki/Software_framework
  19. http://en.wikipedia.org/wiki/Framework http://en.wikipedia.org/wiki/Software_framework
  20. http://www.oracle.com/technology/tech/java/newsletter/articles/jsf_pojo/index.html
  21. http://www.oracle.com/technology/tech/java/newsletter/articles/jsf_pojo/index.html
  22. http://www.oracle.com/technology/tech/java/newsletter/articles/jsf_pojo/index.html
  23. http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/deployment/deployment2.html#1042292
  24. http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/deployment/deployment2.html#1042292
  25. http://edocs.bea.com/wls/docs100/intro/index.html http://edocs.bea.com/wls/docs100/domain_config/understand_domains.html
  26. http://edocs.bea.com/wls/docs100/intro/index.html http://edocs.bea.com/wls/docs100/domain_config/understand_domains.html
  27. http://edocs.bea.com/wls/docs100/intro/index.html
  28. http://edocs.bea.com/wls/docs100/intro/index.html
  29. http://en.wikipedia.org/wiki/High-availability_cluster
  30. http://en.wikipedia.org/wiki/High-availability_cluster http://en.wikipedia.org/wiki/Computer_cluster
  31. https://eclipse-tutorial.dev.java.net/eclipse-tutorial/part2.html
  32. http://java.sun.com/javaee/reference/glossary/
  33. http://java.sun.com/javaee/reference/glossary/
  34. http://java.sun.com/javaee/reference/glossary/
  35. http://java.sun.com/javaee/reference/glossary/