Resume
Weblog
Services
Portfolio
Contact
Xtras
Top
Back to homepageView sitemap

Monday, July 9th, 2007

J2EE Development Workshop v2 | Taller de desarrollo J2EE v2

I recently updated my J2EE workshop material to support Rational Application Developer 7, WebSphere Application Server 6.1 and DB2 9 as the underlying database. These materials include presentations and hands-on labs. Some of them are exercises, where the student must work on a solution by himself or herself. The following topics are covered:

Presentations:

  • Introduction to Java Programming
  • Introduction to J2EE

Hands-on labs:

  • Rational Application Developer 7 (RAD) installation
  • Java beginner exercises
  • Informix Dynamic Server (IDS) installation and basic configuration
  • Creating a project using RAD
  • Configuring a datasource for IDS in WebSphere Application Server 6.1 (WAS)
  • Using JSTL (Java Standard Tag Library)
  • Developing Custom Tags
  • Introduction to JDBC
  • Introduction to XML, XML Schema and XSL
  • Use Java code to transform an XML document into HTML using XSL
  • Creating a Web Service client using Java Server Faces (JSF)

Update (2008-01-06): I am no longer working for IBM and won’t be able to continue distributing these materials on my site. If you have any questions on how to obtain these materials you may contact me or any IBM representative. IBMers should be able to find these materials on the Xpertise Library.

And now in Spanish…


Recientemente actualicé los laboratorios de mi taller de J2EE para soportar las nuevas versiones de los prductos: Rational Application Developer 7, WebSphere Application Server 6.1 y DB2 9 como base de datos. Este taller consta de varios laboratorios y presentaciones. Los laboratorios explican paso a paso como desarrollar la aplicación y en algunos casos contienen ejercicios que deben ser completados por los estudiantes. Las presentaciones contienen conceptos importantes para entender como operan los componentes desarrollados y sirven como introducción a las tecnologías exploradas en el curso.

Presentaciones:

  • Introducción a Java
  • Introducción a J2EE
  • Custom Tags (Referencia complementaria)
  • Introducción a XML (link externo)

Laboratorios:

  • Laboratorio 1: Instalación de los productos
  • Laboratorio 2: Introducción a Java
  • Laboratorio 3: Creación de un proyecto en RAD y Configuración de un Datasource en WAS
  • Laboratorio 4: Programación con Custom Tags
  • Laboratorio 5: Introducción a XML, XML Schema y XSL
  • Laboratorio 6: Creación de un Web Service
  • Laboratorio 7: Cliente de un Web Service con Java Server Faces
  • Laboratorio 8: Message Driven Beans
  • Archivos referenciados en los laboratorios:

  • Artefactos v2
  • Guía del programador de Instant Portal

Actualización (2008-01-06): Debido a que ya no trabajo para IBM, no podré seguir distribuyendo estos materiales en mi site. Si existe alguna pregunta sobre cómo conseguir estos materiales pueden contactarme o buscar a algún representante de IBM. Los empleados de IBM podrán encontrar estos materiales en el Xpertise Library.

Tags: Uncategorized

Monday, March 26th, 2007

Global Access Maps: alpha release

I’m finally releasing the alpha version of Global Access Maps. An alpha release means that the application is working but not necessarily stable and some features are partially implemented or not implemented at all. It might break, but it should be good enough for casual and curious users. It also means that I use this version for development, so some features might unexpectedly stop working for a while as a result of me tweaking the code. Another important note is that I’ve used Firefox 2.0.x mostly during development. Safari 2.0.x should work, but Internet Explorer users might encounter several issues that won’t be taken care of until the beta release.

Features

  • Supports multiple maps
  • Multiple markers per map
  • The user may choose the marker color and style (numbered, circle, square, …). Numbered markers go from 0 to 99, but by choosing different colors up to 1800 numbered markers may be used in a single map.
  • Markers can be tagged with multi word tags.
  • After loading the map, a tag cloud is displayed, with varying sizes an colors to reflect the most popular tags for a specific map.
  • The marker list can be filtered by choosing a tag
  • The Google geocoder is used by default, if this fails or for some specific queries, it can use data from the most appropriate source by querying up to five different geo location services.
  • If multiple results are found for a location, it’s possible to choose and preview each result before adding the marker
  • Supports “inverse markers”, a marker can be added by double clicking on the map and an inverse query is executed to find location details
  • Administration interface may be hidden to maximize map size.
  • All external operations are done through AJAX calls, so the page is never reloaded, not even to load a new set of markers from another map.
  • Can calculate distances from the selected marker to all the other markers. These distances are point to point, not following streets or roads.
  • A user can select a start and end marker and click directions to load directions from Google in the directions panel.
  • Powered by Google Maps with v2.x API

Some future features:

  • Each marker may have several trips associated to it
  • A trip has origin, destination, dates and URLs that point to photographs, or additional information
  • Ability to print maps easily
  • Use Marker Manager to handle lots of markers effectively

Some of the technologies used to create this application are: AJAX (which, for the uninitiated, includes Javascript and XML), XSL (Extensible Stylesheet Language), Java Servlets, JDBC, MySQL database, CSS, DOM.

Here’s a screenshot of the alpha release of Global Access maps. Click on the image for a full size version.

Global Access Maps - Alpha Release Screenshot

I’ve set up a test map for people who’d like to test the maps for themselves. Feel free to add markers and please report any strange behaviors found, except when related to Internet Explorer or the list of limitations described below.

Test Map

Basic instructions

To add a marker, just type the search text in the query field and press search maps. The results will appear in the results tab, on the left of the map. If there’s a single result, the marker preview will appear automatically, otherwise a list of results will be displayed, which can be previewed individually by clicking on the >. To add the marker to the map, just fill the name and the optional tags and url fields, and press the add marker button. The marker will be added and will be displayed at the end of the markers list.

To select a marker, either click on the text link that appears in the markers list or on the marker icon in the map. The information window will appear, and the icon will change to a star. The calculate distances link may be used after selecting a marker to calculate the distance from the current marker to all the other markers.

The rest of the options are pretty self explanatory, but I will expand this brief guide if requested.

Examples

Over the past few years, I’ve created several maps, linked below. Please do NOT add markers to these maps:

Known limitations of the alpha release

  • Editing a marker might result in an error
  • After adding a marker, the tag cloud is not dynamically updated
  • The following features haven’t been implemented: add map, add trip, delete marker, deselect marker
Tags: Uncategorized

Sunday, June 4th, 2006

J2EE Development Workshop

I recently taught a J2EE development workshop and prepared some materials in Spanish. I have decided to publish them on my website so that anyone interested in learning more about J2EE development with IBM’s products (or even without them) can take advantage of this free education option.

The materials include presentations and hands-on labs. Some of them are exercises, where the student must work on a solution by himself or herself. The following topics are covered:

Presentations:

  • Introduction to Java Programming
  • Introduction to J2EE

Hands-on labs:

  • Rational Application Developer 6 (RAD) installation and update
  • Informix Dynamic Server (IDS) installation and basic configuration
  • Creating a project using RAD
  • Configuring a datasource for IDS in WebSphere Application Server 6 (WAS)
  • Using JSTL (Java Standard Tag Library)
  • Developing Custom Tags
  • Introduction to JDBC
  • Introduction to XML, XML Schema and XSL
  • Use Java code to transform an XML document into HTML using XSL
  • Creating a Web Service client using Java Server Faces (JSF)

Rather than linking to these materials from my blog, I created a new page on my site, just click here.

If you like these materials, please let me know.

Tags: Uncategorized
bottom border