Compilación y depuración Modos de ejecución GWT Google Web Toolkit Prof. Ing. Esteban Ramírez.

Slides:



Advertisements
Presentaciones similares
Diagnóstico climático del Golfo de California
Advertisements

Content Objective I will be able to DISTINGUISH the differences between the INDICATIVE and the SUBJUNCTIVE moods. Language Objective I will be able to.
Content Objective I will be able to RECOGNIZE the differences between the INDICATIVE and the SUBJUNCTIVE moods. Language Objective I will be able to DISTINGUISH.
FUNDAMENTALS OF THE JAVA PROGRAMMING LANGUAGE
You need to improve the way you write and think in Spanish – At what time? This is an interactive presentation. You need your worksheet, your pencil, and.
Mr. Redaelli OnlineTaco.com. To Have - Tener Yo tengo – I have Tú tienes – You have (Informal) Usted tiene – You have (Formal) El tiene – He has Ella.
How to Conjugate… SPANISH VERBS.
-AR Verbs In Spanish, there are three classes (or conjugations) of verbs: those that end in –AR, those that end in –ER, and those that end in –IR. This.
Present Progressive When we talk about something that is happening right now, we use a special form called the present progressive (also called the present.
© 2006 XBRL International, All Rights Reservedwww.xbrl.org/Legal Ignacio Hernández-Ros Technology development XBRL International Using XQuery to process.
Content Objective I will be able to RECOGNIZE the differences between the INDICATIVE and the SUBJUNCTIVE moods. Language Objective I will be able to DISTINGUISH.
PLEASE READ (hidden slide) This template uses Microsofts corporate font, Segoe Segoe is not a standard font included with Windows, so if you have not.
CORDOVA SOCIAL STUDIES TODAYS DATE IS WEDNESDAY, DECEMBER 05, 2012 Essential Question #66 DO NOT WRITE ON THE HANDOUT What are todays Learning Targets?
Grupos de Trabajo 6 - Informe Working Group 6 – Report Transparency.
Grupos de Trabajo # 7 - Informe Working Group # 7 – Report General Business and Operational Risks.
UN VIAJE A ESPAñA WEBQUEST POR SRA. SMITH IntroductionIntroduction|Task|Process|Evaluation|ConclusionTaskProcessEvaluationConclusion.
2003 HYPACK MAX Training Seminar1 Sample Case la Entrada manual de Datos de la Línea de la costa El Metodo de MANUAL –DIG Objectos –Boya (Roja)
Game Cluedo: How to Play 1.Your group should have the 21 cards containing 6 cards of suspects, 9 rooms and 6 weapons, a tally card for each member and.
Por y para Youve probably noticed that there are two ways to express for in Spanish: PorPara In this presentation, well look at how these two prepositions.
Arquitectura de Computadores I
Java Web Services Developer JAX-WS
Remember present tense –AR verbs… Copyright © 2008 Vista Higher Learning. All rights reserved
ANTE TODO It is a misunderstanding to think that ¿Qué? always translates as What?, and that ¿Cuál? and ¿Cuáles? always translate as Which? ¿Qué? and ¿Cuál?
Las llamadas de 911. Trabajo de timbre Conjuguen estos verbos en el pretérito: 1. yo/ leer 2. ella/ caerse 3. ellos/ construir 4. nosotros/leer 5. tú/
Los demostrativos.
Entrada: Los verbos en la historia (Entrance: Verbs in the story) Copy the date and title, and log the entry in your table of contents. Take a Realidades.
El pretérito The preterite tense is used to talk about actions that occurred in the past. These events occurred and ended at specific times These events.
¿ Que día es hoy? Hoy es lunes ¿ Cual es la fecha de hoy? Hoy es el 26 de septiembre ¿ Cual es tu clase favorita? Mi clase favorita es… BELL RINGER.
Señora Johnson Tambien necesitas 5 separadores Chambas Apuntes Impresos Actividades Registros.
Entrada y salida Fundamentos de programación/Programación I
El catorce de noviembre de dos mil once La lección de lunes: los infinitivos Tener + que + infinitive (to have to…) Deber + infinitive (to must…) Esperar.
Comunicación con el servidor, RPC GWT Google Web Toolkit Prof. Ing
PL/SQL Francisco Moreno Universidad Nacional. Funciones Si un procedimiento tiene solo un parámetro de salida, se puede remplazar por una función y esta.
(por favor) By emory gibson Para describir how long ago en español, presta attencion.
Español II Srta. Forgue El 11 de abril de La clase de hoy El 11 de abril Ahora mismo: Mirar el tutorial de 7.1 Repaso: Corregir INTÉNTALO en la.
¿Q UÉ TE GUSTA HACER ?. H ACER AHORA Translate the following sentences from English to Spanish. 1. Juan reads magazines every day. 2. She plays in a band.
TEMA 2.- INTRODUCCIÓN A LOS MÉTODOS ÓPTICOS PROPIEDADES DE LA RADIACION ELECTROMAGNETICA Muchas de las propiedades de la radiación electromagnética.
GWT Designer, Organización del proyecto GWT Google Web Toolkit Prof
para desarrolladores Minimizar el cambio Concentrarse en estabilidad, confiabilidad y rendimiento. Ayudar a mejorar la productividad Reducir la curva.
Bienvenido a Technet Summit Forefront Client Security.
Departamento de Ing. Electrónica Circuitos Digitales II Universidad de Antioquia Departamento de Ing. Electrónica Circuitos Digitales II Universidad.
Diseño de Circuitos de Aplicación Específica Metodologías de diseño Circuitos Integrados de Aplicación Específica PrincipiosGenerales.
Administración de Servidores de Bases de Datos Bases de Datos de Usuarios Caso particular Adaptive Server Enterprise.
Telling time in Spanish: Explanation Practice exercise index McCarron.
Cancela, JM. Ayán C. University Of Vigo. Throughout history the definition of learning has been conceptualized in many different ways depending on the.
La Lección del Repaso Antes de entrar en la clase de Español IV, necesita saber esta información.
Articles, nouns and contractions oh my!. The POWER of the article THE 1. There are four ways to express THE in Spanish 2. The four ways are: El La Los.
¿Qué haces si estás atrapado/a en un edificio en llamas? Usa 3 términos de vocabulario.
 Making complete sentences How to make complete sentences in Spanish. The following presentation is designed to help you learn how to do the following:
 1. Why should a person learn Spanish? Give at least 3 reasons in your explanation.  2. What Spanish experiences have you had? (None is not an option.
Derechos de Autor©2008.SUAGM.Derechos Reservados Sistema Universitario Ana G. Méndez División de Capacitación Basic Quality Tools CQIA Primer Section VII.
Clases abstractas no polimórficas para C++ Universidad de Costa Rica Escuela de Ciencias de la Computación e Informática Agenda.
If anidados y Switch Prof. Lillian Bras.
Do Now! Hacer Ahora 1. Write homework in your planner. Escribe la preparación en su planificador. 2.SILENTLY complete the Do Now in your Weekly Work. SILENCIOSAMENTE.
Servlets Servlets son módulos que extienden a servidores orientados a request/response, como por ejemplo Servidores Web “java-enabled”. Un servlet puede.
Tutor: Ing. Juan E. Talavera Horn 2010 Google Web Toolkit (GWT)
ECOM-6030 PASOS PARA LA INSTALACIÓN DE EASYPHP Prof. Nelliud D. Torres © - Derechos Reservados.
Francisco Moreno Bases de Datos II Universidad Nacional
Curs de Postgrau Visual Basic .NET: Introducció
Notes: La Hora (Time) How do I tell time in Spanish?
Progressive.
Vocabulario Podrán encontrar la lista del vocabulario en el folder “Día de los muertos Unit” en la pagina web de la escuela.
Los doce días de Navidad Versión: PROFE y la clase de español
Integration Services.
Ser y Estar To be or….to be?
Bellringer 10/29 Put this in your NOTES!!! Using questions that you know in Spanish, figure out what the following question words mean. If you can’t.
How to Conjugate… SPANISH VERBS.
JKSimMet Software (windows & buttons) Split Engineering Chile Ltda. General Salvo #331 oficina 201 Casilla Sucursal Panorámico Providencia – Santiago,
Development of the concert programme
Welcome to PowerPoint gdskcgdskfcbskjc. Designer helps you get your point across PowerPoint Designer suggests professional designs for your presentation,
Transcripción de la presentación:

Compilación y depuración Modos de ejecución GWT Google Web Toolkit Prof. Ing. Esteban Ramírez

Contenido Etapas de un proyecto GWT Debugging in Development Mode. Code Spliting GWT History Mechanism Compilador GWT

Etapas de un proyecto GWT

Debugging in Development Mode Debug Run

Run - Development Mode HTTP SERVER CODE SERVER Developer PlugIn Static Content Servlets Client Side Code IDE Run

Run - Development Mode HTTP SERVER CODE SERVER Developer PlugIn Static Content Servlets Client Side Code IDE Jetty is a pure Java-based HTTP server and Servlet container

Development Mode - GWT

Development Mode - Eclipse

Development Mode – Chrome Plugin En caso que el servidor no este disponible el Plugin emite este mensaje.

Debug - in Development Mode Debug

Debug - in Development Mode Resume Suspend Terminate F5 Step Into (F5) F7 Step Return (F7) Use step filters F6 Step Over (F6) Drop to frame

Compilador Es un programa informático que traduce un programa escrito en un lenguaje de programación a otro lenguaje de programación. Lenguaje 1 Lenguaje 2

Compilador GWT

Compilador javaScript

Compilador javaScript - Detailed java.lang.StringBuffer append(String valor)

Compilador javaScript - Pretty java.lang.StringBuffer append(String valor)

Compilador javaScript - Obfuscated java.lang.StringBuffer append(String valor)

Compilador javaScript

.nocache.js.cache.html.gwt.rpc Host HTML.html

Compilador javaScript OpciónDescripción -logLevel The level of logging detail: ERROR, WARN, INFO, TRACE, DEBUG, SPAM, or ALL -workDir The compiler working directory for internal use (must be writeable; defaults to a system temp dir) -gen Debugging: causes normally-transient generated types to be saved in the specified directory -style Script output style: OBF[USCATED], PRETTY, or DETAILED (defaults to OBF) -ea Debugging: causes the compiled output to check assert statements -XdisableClassMetadata EXPERIMENTAL: Disables some java.lang.Class methods (e.g. getName()) -XdisableCastChecking EXPERIMENTAL: Disables run-time checking of cast operations -validateOnly Validate all source code, but do not compile -draftCompile Enable faster, but less-optimized, compilations -optimize Sets the optimization level used by the compiler. 0=none 9=maximum. -compileReport Create a compile report that tells the Story of Your Compile -strict Only succeed if no input files have errors -localWorkers The number of local workers to use when compiling permutations -war The directory into which deployable output files will be written (defaults to 'war') -extra The directory into which extra files, not intended for deployment, will be written

Compilador javaScript Optimizaciones : Dead Code Elimination. Constant Folding. Window.alert( Hello + World) $wnd.alert(Hello World) Copy Propagation. a=15; int b= a*a+5; a=15; b=230 String Interning. Code Inlining. Monolithic compilation

Compilador javaScript Puntos a tener en cuenta : Paquetes soportados en client – side: java.lang (includes exceptions, classes, general utility methods) java.util (three classes useful for date/time processing) java.io (sorely restricted! including just the Serializable interface) java.sql (also quite limited, includes three classes useful for date/time) obj.getClass().getName() isnt available, but GWT.getTypeName(obj) is. Class.forName("MyClass"), which has GWT.create(MyClass)

Deploy module

Compilador javaScript

Compile Report -compileReport

Compile Report -compileReport

Compile Report -compileReport

Compile Report -compileReport

Compile Report -compileReport

Compile Report -compileReport

Compile Report -compileReport

Compile Report -compileReport Have four major use cases: 1.To reduce total download size 2.To reduce download size of initial fragment 3.To reduce download size of specific code fragments as produced by code splitting 4.To compare between permutations, for example, differences between user agents

GWT Code Splitting En las aplicaciones AJAX los fuentes de JavaScripts suelen crecer fácilmente. Para ayudar en este inconveniente GWT provee Dead-for-now (DFN) code splitting. Para implementar la segmentacion del codigo simplemente se dbe insertar llamadas al metodo GWT.runAsync en los lugares donde el programa pausará la descarga. Estos puntos son llamados split points.

GWT Code Splitting

Sin split points Con split points

GWT Code Splitting

GWT History Mechanism Historial del Navegador GWT provee un mecanismo para administrar el historial del navegador que funciona con aplicaciones del tipo Ajax. Para acceder al mismo, es necesario escribir un manejador de eventos que implemente la interfaz HistoryListener y luego éste debe ser registrado en el objeto History : History.newItem("overview"); …. History.newItem("reports");

Ejercicios 1- Probar el debug con puntos de corte en el calculo del promedio del curso del proyecto. 2 - Compilar todos los proyectos realizados en los diferentes modos de optimización y comparar los tamaños de los.js generados. 3- Publicar y probar los.war generados en el Apache Tomcat. 4- Probar la generación del reporte de compilación y analizar su contenido. 5- Crear dos proyectos, uno TestSinSplit y otro TestConSplit implementando el ejemplo de esta presentación. 6- Probar el proyecto GestionAcademicaWebHist donde se implementó el mecanismo de histórico de navegación.