Blogs
10 Tips to drive your software developer career
Submitted by gsolano on 6 September, 2010 - 14:43Recently, I was reading an interesting article on how to be a better professional as a front-end developer. So I started to reflect on my own set of tips that I would recommend to drive the career as a general software developer. Lot of points can be added to the list but this is just my personal perception at this stage of my career contextualized in a so called “third world” country.
Spring Framework (Integrando Struts 2)
Submitted by asotog88 on 25 August, 2010 - 07:47El desarrollar aplicaciones web involucra la configuración de varias herramientas y tecnologías, peor aun si lo vemos desde una perspectiva de mantenibilidad; por ejemplo que la aplicación requiera constantes cambios. A principios en java esto fue una tarea difícil; poco a poco fueron apareciendo tecnologías posteriores a los servlets; estas facilitando en gran medida el desarrollo de aplicaciones web, por que no es que los servlets estén obsoletos.
Using Observer Pattern to track progress while loading a page
Submitted by gsolano on 19 August, 2010 - 15:17Have you ever been in a site where there is a heavy process that takes a long time in finishing? If the web page is not user friendly designed, you may end it up with an annoying forever loading page.
If we want to avoid this feeling of slowness in our pages, we should consider adding a progress indicator in the page to show how much is left until process is finished. To accomplish this we can take advantage of the Observer pattern.
Apache Lucene - Introducción a la indexación de archivos
Submitted by jsanca on 5 August, 2010 - 23:31El presente articulo (uno de varios que espero publicar), muestra como hacer una pequeña introducción a la indexación con Apache Lucene.
Este ejemplo, esta basado en el libro Lucene In Action, pero fue adecuado para funcionar con la versión 3.0 en lugar de la versión 2.0 que se comenta en el libro.
Veamos el siguiente ejemplo y comentemos al respecto:
package org.crjug.lucene.example1; import java.io.File; import java.io.FileFilter; import java.io.FileReader; import java.io.IOException; import org.apache.lucene.analysis.standard.StandardAnalyzer;
Hablando Sobre Arquitectura de Software
Submitted by wmartinez on 13 July, 2010 - 17:27Fue en las conferencias de la OTAN, 69 y 70, en las que se discutían los avances de la nueva disciplina llamada Ingeniería de Software, que Sharp contó la historia de aquel famoso sistema operativo encargado a los mejores ingenieros. Se dividieron el trabajo, contó Sharp, y cada uno generó la más hermosa pieza de ingeniería de software. Pero, al momento de unir las piezas, aquello fue un desastre, nada calzó y el producto final dejó mucho que desear. Sharp indica que faltó algo así como un arquitecto, que viera las cosas como un todo y guiara a los ingenieros.
Eclipse Helios... que trae?
Submitted by wmartinez on 23 June, 2010 - 17:42Helios es el release anual del proyecto Eclipse. Contiene muchas mejoras y la incorporacion de subprojectos maduros, tales como el soporte a Git, XText para DSLs, Acceleo para generacion de código y para Java EE 6 en el Web Tools Platform (Servlet 3, EJB 3.1 y JSF 2.0).
Using more than one Datasource in a Grails project
Submitted by mquesada on 21 May, 2010 - 17:35Grails is designed to work with one DataSource and one SessionFactory which are the ones used by all domain classes to execute all the operations in the database, so there is no easy way to set up a second or more datasources to allow different domain objects to connect to different databases to read and store data.
One approach is to inject a second datasource and use it with Groovy Sql to retrieve data. For this what we do is create the datasource in the Spring resources file so we can get it later using dependency injection either in a Grails service, a controller or a domain class.
A Few File Operations || Building a Synchronizer
Submitted by gsolano on 15 May, 2010 - 21:05Recently in the project I’ve been working in the last couple of months, we had to think in a way to solve the problem of keep updated some local copies of repositories where the originals are located in remote servers. Due to the kind operations we need to run, we couldn’t afford to do them directly in the remote servers. If you are thinking right now, “well duh! Use SVN you dummy” , well, let’s say that our client does not have it and there is no close possibility he will install it for us. We only had access to the share drives where we could read the file systems. That’s all we had.
How to crop an image in Blackberry
Submitted by fr4gus on 19 April, 2010 - 23:14The basic to crop an image in a blackberry application is using the functions of Bitmap class, Bitmap.getARGB() and Bitmap.setARGB()
/** *Crops a bitmap with from center, with a defined size by width and height * */ public static Bitmap cropBitmap(Bitmap original, int width, int height) { Bitmap bmp = new Bitmap(width, height); int x = (original.getWidth() / 2) - (width / 2); // Center the new size by width int y = (original.getHeight() / 2) - (height / 2); // Center the new size by height int[] argb = new int[width * height];
Utilizando Hibernate Con Java Server Pages y jQuery.
Submitted by asotog88 on 22 March, 2010 - 17:35Deseo compartir este tutorial con toda aquella gente seguidora de las tecnologias
en java para el manejo de la capa de acceso a datos, en este se explica y se da una introduccion de como utilizar hibernate desde un aplicacion web dinamica, implementando jquery con jsp, talvez para muchos que apenas se vienen empapando del tema.
Espero que lo disfruten...
