Enviar búsqueda
Cargar
JUG DAY FLEX / JEE
•
Descargar como PPT, PDF
•
1 recomendación
•
442 vistas
J
jcoronel
Seguir
Presentacion de JEE / FLEX para el JUG DAY.
Leer menos
Leer más
Tecnología
Educación
Denunciar
Compartir
Denunciar
Compartir
1 de 34
Descargar ahora
Recomendados
Framework .NET 3.5 06 Operativa básica del framework .net
Framework .NET 3.5 06 Operativa básica del framework .net
Antonio Palomares Sender
JAVA EE5
JAVA EE5
Rudy Guillen Bejarano
CSA - Web Parts en SharePoint 2010
CSA - Web Parts en SharePoint 2010
Comunidad SharePoint
Dependency Injection con Guice - GTUG
Dependency Injection con Guice - GTUG
Jordi Gerona
Windows forms c# visual basic .net ejercicios
Windows forms c# visual basic .net ejercicios
Laura Alicia Hernandez Moreno
introduccion al desarrollo de aplicaciones en c#
introduccion al desarrollo de aplicaciones en c#
Eduardo Carrillo
Flex
Flex
Pablo Ifran Czerny
Usando flex en Windows
Usando flex en Windows
Mariano Rico
Recomendados
Framework .NET 3.5 06 Operativa básica del framework .net
Framework .NET 3.5 06 Operativa básica del framework .net
Antonio Palomares Sender
JAVA EE5
JAVA EE5
Rudy Guillen Bejarano
CSA - Web Parts en SharePoint 2010
CSA - Web Parts en SharePoint 2010
Comunidad SharePoint
Dependency Injection con Guice - GTUG
Dependency Injection con Guice - GTUG
Jordi Gerona
Windows forms c# visual basic .net ejercicios
Windows forms c# visual basic .net ejercicios
Laura Alicia Hernandez Moreno
introduccion al desarrollo de aplicaciones en c#
introduccion al desarrollo de aplicaciones en c#
Eduardo Carrillo
Flex
Flex
Pablo Ifran Czerny
Usando flex en Windows
Usando flex en Windows
Mariano Rico
Desarrollo para iPhone con Flash
Desarrollo para iPhone con Flash
Edgar Parada
The impact of innovation on travel and tourism industries (World Travel Marke...
The impact of innovation on travel and tourism industries (World Travel Marke...
Brian Solis
Open Source Creativity
Open Source Creativity
Sara Cannon
Reuters: Pictures of the Year 2016 (Part 2)
Reuters: Pictures of the Year 2016 (Part 2)
maditabalnco
The Six Highest Performing B2B Blog Post Formats
The Six Highest Performing B2B Blog Post Formats
Barry Feldman
The Outcome Economy
The Outcome Economy
Helge Tennø
Flex Camp 2008. Ricardo Poblete
Flex Camp 2008. Ricardo Poblete
ripoblet
Servicios web
Servicios web
Cheli Hedz
2015 10 - Curso Cliente @firma INAP día 2
2015 10 - Curso Cliente @firma INAP día 2
Tomás García-Merás
Appcircus Academy: Integración de Social Media en Android
Appcircus Academy: Integración de Social Media en Android
Alberto Ruibal
Estrategias para desarrollo crossplatform en Windows Phone 8 y Windows 8
Estrategias para desarrollo crossplatform en Windows Phone 8 y Windows 8
Sorey García
Introduccion a Android
Introduccion a Android
Paradigma Digital
Microsoft Asp. Net [Asp.Net - Parte 2]
Microsoft Asp. Net [Asp.Net - Parte 2]
Antonio Torres
Introducción ASP .NET
Introducción ASP .NET
Universidad
Presentacion Tesis
Presentacion Tesis
GEOVAN21
Web services
Web services
SFP Drilling
GWT - Una introducción
GWT - Una introducción
Carlos Gavidia-Calderon
Building Ria Applications With Silverlight 2
Building Ria Applications With Silverlight 2
Tonymx
Servicios web
Servicios web
Emilio Sarabia
Proyecto sicosetec 3 ra parcial final Esteban Maldonado
Proyecto sicosetec 3 ra parcial final Esteban Maldonado
Esteban Maldonado
Proyecto sicosetec 3ra parcial (corregido) esteban maldonado
Proyecto sicosetec 3ra parcial (corregido) esteban maldonado
Esteban Maldonado
Proyecto sicosetec 3ra parcial (corregido) Esteban Maldonado
Proyecto sicosetec 3ra parcial (corregido) Esteban Maldonado
Esteban Maldonado
Más contenido relacionado
Destacado
Desarrollo para iPhone con Flash
Desarrollo para iPhone con Flash
Edgar Parada
The impact of innovation on travel and tourism industries (World Travel Marke...
The impact of innovation on travel and tourism industries (World Travel Marke...
Brian Solis
Open Source Creativity
Open Source Creativity
Sara Cannon
Reuters: Pictures of the Year 2016 (Part 2)
Reuters: Pictures of the Year 2016 (Part 2)
maditabalnco
The Six Highest Performing B2B Blog Post Formats
The Six Highest Performing B2B Blog Post Formats
Barry Feldman
The Outcome Economy
The Outcome Economy
Helge Tennø
Destacado
(6)
Desarrollo para iPhone con Flash
Desarrollo para iPhone con Flash
The impact of innovation on travel and tourism industries (World Travel Marke...
The impact of innovation on travel and tourism industries (World Travel Marke...
Open Source Creativity
Open Source Creativity
Reuters: Pictures of the Year 2016 (Part 2)
Reuters: Pictures of the Year 2016 (Part 2)
The Six Highest Performing B2B Blog Post Formats
The Six Highest Performing B2B Blog Post Formats
The Outcome Economy
The Outcome Economy
Similar a JUG DAY FLEX / JEE
Flex Camp 2008. Ricardo Poblete
Flex Camp 2008. Ricardo Poblete
ripoblet
Servicios web
Servicios web
Cheli Hedz
2015 10 - Curso Cliente @firma INAP día 2
2015 10 - Curso Cliente @firma INAP día 2
Tomás García-Merás
Appcircus Academy: Integración de Social Media en Android
Appcircus Academy: Integración de Social Media en Android
Alberto Ruibal
Estrategias para desarrollo crossplatform en Windows Phone 8 y Windows 8
Estrategias para desarrollo crossplatform en Windows Phone 8 y Windows 8
Sorey García
Introduccion a Android
Introduccion a Android
Paradigma Digital
Microsoft Asp. Net [Asp.Net - Parte 2]
Microsoft Asp. Net [Asp.Net - Parte 2]
Antonio Torres
Introducción ASP .NET
Introducción ASP .NET
Universidad
Presentacion Tesis
Presentacion Tesis
GEOVAN21
Web services
Web services
SFP Drilling
GWT - Una introducción
GWT - Una introducción
Carlos Gavidia-Calderon
Building Ria Applications With Silverlight 2
Building Ria Applications With Silverlight 2
Tonymx
Servicios web
Servicios web
Emilio Sarabia
Proyecto sicosetec 3 ra parcial final Esteban Maldonado
Proyecto sicosetec 3 ra parcial final Esteban Maldonado
Esteban Maldonado
Proyecto sicosetec 3ra parcial (corregido) esteban maldonado
Proyecto sicosetec 3ra parcial (corregido) esteban maldonado
Esteban Maldonado
Proyecto sicosetec 3ra parcial (corregido) Esteban Maldonado
Proyecto sicosetec 3ra parcial (corregido) Esteban Maldonado
Esteban Maldonado
Efc programación .net-luis fernando aguas - 22012022 1700
Efc programación .net-luis fernando aguas - 22012022 1700
Luis Fernando Aguas Bucheli
Ajax
Ajax
ousli07
Tema5 3.jsf
Tema5 3.jsf
jaiverlh
Servicio web
Servicio web
Yael67
Similar a JUG DAY FLEX / JEE
(20)
Flex Camp 2008. Ricardo Poblete
Flex Camp 2008. Ricardo Poblete
Servicios web
Servicios web
2015 10 - Curso Cliente @firma INAP día 2
2015 10 - Curso Cliente @firma INAP día 2
Appcircus Academy: Integración de Social Media en Android
Appcircus Academy: Integración de Social Media en Android
Estrategias para desarrollo crossplatform en Windows Phone 8 y Windows 8
Estrategias para desarrollo crossplatform en Windows Phone 8 y Windows 8
Introduccion a Android
Introduccion a Android
Microsoft Asp. Net [Asp.Net - Parte 2]
Microsoft Asp. Net [Asp.Net - Parte 2]
Introducción ASP .NET
Introducción ASP .NET
Presentacion Tesis
Presentacion Tesis
Web services
Web services
GWT - Una introducción
GWT - Una introducción
Building Ria Applications With Silverlight 2
Building Ria Applications With Silverlight 2
Servicios web
Servicios web
Proyecto sicosetec 3 ra parcial final Esteban Maldonado
Proyecto sicosetec 3 ra parcial final Esteban Maldonado
Proyecto sicosetec 3ra parcial (corregido) esteban maldonado
Proyecto sicosetec 3ra parcial (corregido) esteban maldonado
Proyecto sicosetec 3ra parcial (corregido) Esteban Maldonado
Proyecto sicosetec 3ra parcial (corregido) Esteban Maldonado
Efc programación .net-luis fernando aguas - 22012022 1700
Efc programación .net-luis fernando aguas - 22012022 1700
Ajax
Ajax
Tema5 3.jsf
Tema5 3.jsf
Servicio web
Servicio web
Último
KELA Presentacion Costa Rica 2024 - evento Protégeles
KELA Presentacion Costa Rica 2024 - evento Protégeles
Fundación YOD YOD
EPA-pdf resultado da prova presencial Uninove
EPA-pdf resultado da prova presencial Uninove
FagnerLisboa3
Proyecto integrador. Las TIC en la sociedad S4.pptx
Proyecto integrador. Las TIC en la sociedad S4.pptx
241521559
La era de la educación digital y sus desafios
La era de la educación digital y sus desafios
Fundación YOD YOD
International Women's Day Sucre 2024 (IWD)
International Women's Day Sucre 2024 (IWD)
GDGSucre
Trabajo Mas Completo De Excel en clase tecnología
Trabajo Mas Completo De Excel en clase tecnología
ssuserf18419
CLASE DE TECNOLOGIA E INFORMATICA PRIMARIA
CLASE DE TECNOLOGIA E INFORMATICA PRIMARIA
WilbisVega
Global Azure Lima 2024 - Integración de Datos con Microsoft Fabric
Global Azure Lima 2024 - Integración de Datos con Microsoft Fabric
Keyla Dolores Méndez
Cortes-24-de-abril-Tungurahua-3 año 2024
Cortes-24-de-abril-Tungurahua-3 año 2024
GiovanniJavierHidalg
Redes direccionamiento y subredes ipv4 2024 .pdf
Redes direccionamiento y subredes ipv4 2024 .pdf
soporteupcology
guía de registro de slideshare por Brayan Joseph
guía de registro de slideshare por Brayan Joseph
BRAYANJOSEPHPEREZGOM
trabajotecologiaisabella-240424003133-8f126965.pdf
trabajotecologiaisabella-240424003133-8f126965.pdf
IsabellaMontaomurill
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
Plan de aula informatica segundo periodo.docx
Plan de aula informatica segundo periodo.docx
pabonheidy28
Hernandez_Hernandez_Practica web de la sesion 12.pptx
Hernandez_Hernandez_Practica web de la sesion 12.pptx
JOSEMANUELHERNANDEZH11
9egb-lengua y Literatura.pdf_texto del estudiante
9egb-lengua y Literatura.pdf_texto del estudiante
AndreaHuertas24
Último
(16)
KELA Presentacion Costa Rica 2024 - evento Protégeles
KELA Presentacion Costa Rica 2024 - evento Protégeles
EPA-pdf resultado da prova presencial Uninove
EPA-pdf resultado da prova presencial Uninove
Proyecto integrador. Las TIC en la sociedad S4.pptx
Proyecto integrador. Las TIC en la sociedad S4.pptx
La era de la educación digital y sus desafios
La era de la educación digital y sus desafios
International Women's Day Sucre 2024 (IWD)
International Women's Day Sucre 2024 (IWD)
Trabajo 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 PRIMARIA
Global Azure Lima 2024 - Integración de Datos con Microsoft Fabric
Global Azure Lima 2024 - Integración de Datos con Microsoft Fabric
Cortes-24-de-abril-Tungurahua-3 año 2024
Cortes-24-de-abril-Tungurahua-3 año 2024
Redes direccionamiento y subredes ipv4 2024 .pdf
Redes direccionamiento y subredes ipv4 2024 .pdf
guía de registro de slideshare por Brayan Joseph
guía de registro de slideshare por Brayan Joseph
trabajotecologiaisabella-240424003133-8f126965.pdf
trabajotecologiaisabella-240424003133-8f126965.pdf
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...
Plan de aula informatica segundo periodo.docx
Plan de aula informatica segundo periodo.docx
Hernandez_Hernandez_Practica web de la sesion 12.pptx
Hernandez_Hernandez_Practica web de la sesion 12.pptx
9egb-lengua y Literatura.pdf_texto del estudiante
9egb-lengua y Literatura.pdf_texto del estudiante
JUG DAY FLEX / JEE
1.
FLEX / JEE
José Luis Coronel Cortes Arquitecto Tecnológico BEE Concretorías y Sistemas
2.
3.
4.
5.
6.
Flex - BlazeDS
Flash Player AIR Servidor JEE Flex BlazeDS Servicios WEB Servicios HTTP Objetos Remotos Servicio Mensajería Servicios WEB Servicios HTTP Objetos Remotos Servicio Mensajería
7.
Flex - BlazeDS
web.xml MessageBroker Servlet services-config.xml messaging-config.xml proxy-config.xml remoting-config.xml Factoria
8.
Flex - BlazeDS
BlazeDS Servicio Factoria Spring DAO Hibernate Ibatis
9.
10.
Objetos Remotos Cliente
Servidor remoting-config.xml Request ResultEvent RemoteObject Button DataGrid Handler ProductoServicio ProductoDAO
11.
Objetos Remotos Java
public class ProductoServicio{ public Producto getProductoPorId(int productoId) throws Exception{ return productoDao.getProductoPorId(productoId); } public List getListadoProductos(){ return productoDao.getListadoProductos(); } } Servidor ProductoServicio ProductoDAO
12.
Objetos Remotos
remoting-config.xml <destination id=“ productoServicio ”> <properties> <source> cl.jug.ProductoServicio </source> <scope> application </scope> </properties> </destination> Servidor ProductoServicio ProductoDAO remoting-config.xml
13.
Objetos Remotos
MXML / ActionScript <mx:RemoteObject id=" miServicio ” destination=“ productoServicio ” result=" resultadoHandler(event) ” fault=“ errorHandler(event) "/> import mx.rpc.remoting.RemoteObject; var miServicio : RemoteObject = new RemoteObject(); miServicio.destination = “productoServicio"; miServicio.addEventListener("result", resultadoHandler); miServicio.addEventListener("fault", errorHandler); Cliente RemoteObject
14.
Objetos Remotos
Button <mx:Button label=“ Listado Productos ” c lick=" miServicio.getListadoProductos() "/> <mx:Button label=“ Producto por Id ” click=“ miServicio. getProductoPorId (32) "/> Cliente RemoteObject Button
15.
Objetos Remotos
DataGrid <mx:DataGrid dataProvider="{ miServicio.getListadoProductos.lastResult }"/>
16.
Objetos Remotos
Handler [Bindable] private var productos : ArrayCollection; private function resultadoHandler(evento : ResultEvent) : void { productos = evento.result as ArrayCollection; }
17.
Objetos Remotos
Métodos en el RemoteObject <mx:RemoteObject id=" miServicio ” destination=“ productoServicio ” fault=" faultHandler(event) “> <mx:method name=" getListadoProductos ” result=“ listadoHandler(event) "/> <mx:method name=" getProductoPorID ” result=“ productoHandler(event) "/> </mx:RemoteObject>
18.
19.
20.
21.
Servicio de Mensajería
Cliente Servidor Producer Consumer Button Handler messaging-config.xml
22.
Servicio de Mensajería
Destination <destination id=“ clientes ”> <channels> <channel ref=“ my-polling-amf ”/> </channels> </destination> <destination id=“ destinoStream ”> <channels> <channel ref=“ my-streaming-amf ”/> </channels> </destination> Servidor Messaging-config.xml
23.
Servicio de Mensajería
Producer <mx:Producer id=“ productor ” destination=“ clientes "/> Cliente Producer
24.
Servicio de Mensajería
Producer import mx.messaging.messages.AsyncMessage; var mensaje : AsyncMessage = new AsyncMessage(); mensaje.headers.user = “usuario”; mensaje.body = “Mensaje a enviar”; productor.send(mensaje); Cliente Producer Button
25.
26.
Servicio de Mensajería
Handler import mx.controls.Alert; private function mensajeHandler(evento : MessageEvent) : void { Alert.show(evento.message.body as String, “ Mensaje recibido desde el usuario : " + evento.message.headers.user); } Cliente Producer Button Consumer Handler
27.
Servicio de Mensajería
Subtopic Cliente 1 Cliente2 Componente A Componente B Componente A Componente B Servidor Topic Subtopic_A Subtopic_B
28.
Servicio de Mensajería
Subtopic private function iniciarAplicacion() : void{ consumidor.subtopic = “chat.cliente1“; consumidor.subscribe(); } private function enviarMensaje(texto : String) : void{ var mensaje : IMessage = new AsyncMessage(); mensaje.headers = new Array(); mensaje.body.mensajeChat = texto; producidor.subtopic = "chat.cliente1“; producidor.send(mensaje); }
29.
Servicio de Mensajería
Subtopic – message-config.xml <destination id=" chat “> <properties> <network> <session-timeout> 0 </session-timeout> </network> <server> <max-cache-size> 1000 </max-cache-size> <message-time-to-live> 0 </message-time-to-live> <durable> false </durable> <allow-subtopics> true </allow-subtopics> <subtopic-separator> . </subtopic-separator> </server> </properties> </destination>
30.
Servicio de Mensajería
Selector private function iniciarAplicacion() : void{ consumidor.selector = "propiedad1> 30“; consumidor.subscribe(); } private function enviarMensaje(valor : int, texto : String) : void{ var mensaje:IMessage = new AsyncMessage(); mensaje.headers = new Array(); mensaje.headers["propiedad1"] = valor; mensaje.body.mensajeChat= texto; productor.send(mensaje); }
31.
Servicio de Mensajería
Java - Header AsyncMessage mensaje = new AsyncMessage(); mensaje.setDestination(“chat"); mensaje.setClientId(clienteId); mensaje.setMessageId(UUIDUtils.createUUID(false)); mensaje.setTimestamp(System.currentTimeMillis()); mensaje.setBody(“Hola Mundo!!”); Map map = new HashMap(); map.put("propiedad1", "5"); mensaje.setHeaders(map); mensajeBroker.routeMessageToService(mensaje, null);
32.
Servicio de Mensajería
JMS – message-config.xml <destination id=“chat-topic-jms“> <properties> <server> <durable> false </durable> <durable-store-manager> flex.messaging.durability.FileStoreManager </durable-store-manager> </server> <jms> <destination-type> Topic </destination-type> <message-type> javax.jms.ObjectMessage </message-type> <connection-factory> jms/flex/TopicConnectionFactory </connection-factory> <destination-jndi-name> jms/topic/flex/FlexChatTopic </destination-jndi-name> <delivery-mode> NON_PERSISTENT </delivery-mode> <message-priority> DEFAULT_PRIORITY </message-priority> <acknowledge-mode> AUTO_ACKNOWLEDGE </acknowledge-mode> <transacted-sessions> false </transacted-sessions> </jms> </properties> <channels> <channel ref="my-polling-amf"/> </channels> <adapter ref="jms"/> </destination>
33.
DEMOSTRACION
34.
¿PREGUNTAS?
Descargar ahora