JMeter un ejemplo simple
JMeter, pruebas de stress sobre aplicaciones web
Multiple user logins in JMeter
How to Feed JMeter from a CSV File
Mostrando entradas con la etiqueta Java. Mostrar todas las entradas
Mostrando entradas con la etiqueta Java. Mostrar todas las entradas
martes, 30 de abril de 2013
lunes, 10 de diciembre de 2012
sábado, 1 de diciembre de 2012
JVM fonts and JasperReports
Error:
net.sf.jasperreports.engine.util.JRFontNotFoundException: Font 'Arial' is not available to the JVM.
Causa:
En Ubuntu no existe el mismo tipo de letra que en Windows
Solución:
a) Instalar las fuentes de Windows en Ubuntu
Ejecutar:
sudo apt-get install --reinstall ttf-mscorefonts-installer
b) Existe un .jar donde se empaquetaron las fuentes más comunes de Windows que no existen en Ubuntu.
Ver este link
Mi Ambiente de Trabajo:
- Ubuntu 10.4
- Eclipse 3.X
- JasperReports 3.7.2
- Tomcat 6.x
net.sf.jasperreports.engine.util.JRFontNotFoundException: Font 'Arial' is not available to the JVM.
Causa:
En Ubuntu no existe el mismo tipo de letra que en Windows
Solución:
a) Instalar las fuentes de Windows en Ubuntu
Ejecutar:
sudo apt-get install --reinstall ttf-mscorefonts-installer
b) Existe un .jar donde se empaquetaron las fuentes más comunes de Windows que no existen en Ubuntu.
Ver este link
Mi Ambiente de Trabajo:
- Ubuntu 10.4
- Eclipse 3.X
- JasperReports 3.7.2
- Tomcat 6.x
martes, 27 de noviembre de 2012
lunes, 10 de septiembre de 2012
Test en Struts2
How to Test Struts 2 Actions Without a Container
Struts 2 JUnit Plugin v2.2.3: Test Class Extending StrutsTestCase; 'request' is null
Tutorial Struts2 JUnit
Unit and Integration Tests With Maven and JUnit Categories
¿Qué herramientas utilizáis para controlar la calidad de vuestro código?
EasyMock
Struts 2 JUnit Plugin v2.2.3: Test Class Extending StrutsTestCase; 'request' is null
Tutorial Struts2 JUnit
Unit and Integration Tests With Maven and JUnit Categories
¿Qué herramientas utilizáis para controlar la calidad de vuestro código?
EasyMock
sábado, 25 de agosto de 2012
miércoles, 1 de agosto de 2012
viernes, 6 de julio de 2012
sábado, 25 de febrero de 2012
lunes, 5 de diciembre de 2011
jueves, 1 de diciembre de 2011
miércoles, 12 de octubre de 2011
Implementando Transacciones con Spring y Anotaciones
Implementando Transacciones distribuidas con Spring y Atomikos
Implementando Transacciones con Spring y Anotaciones @Transactional Parte 2
Usando Hibernate en Spring
Simple example for Before advice and After Advice in Spring Framework
Usando un pool de conexiones en Spring
Spring AOP AspectJ Logging Example
Transacciones con Spring Framework y EJB 3.0
The Persistence Layer with Spring 3.1 and JPA
Se recomienda utilizar JPA Nativo desde la versión 1 para nuevos desarrollos y se descontinua el uso de JpaTemplate y JpaDaoSupport.
Using JPA in Spring without referencing Spring
Implementando Transacciones con Spring y Anotaciones @Transactional Parte 2
Usando Hibernate en Spring
Simple example for Before advice and After Advice in Spring Framework
Usando un pool de conexiones en Spring
Spring AOP AspectJ Logging Example
Transacciones con Spring Framework y EJB 3.0
The Persistence Layer with Spring 3.1 and JPA
Se recomienda utilizar JPA Nativo desde la versión 1 para nuevos desarrollos y se descontinua el uso de JpaTemplate y JpaDaoSupport.
Using JPA in Spring without referencing Spring
sábado, 9 de julio de 2011
sábado, 2 de julio de 2011
Struts 2 introducción
Struts 2.X vs JSF (I) : Struts
Struts 2 Ajax Tutorial with Example
Struts2-jquery - Mostrar registros en un JQGrid
Version 2.2.0 of Struts2 jQuery Plugin is now available
Whats New in Struts2 jQuery Plugin 3.0.0
Struts 2 Validation Example
Introdución a Struts2 español
How to integrate Spring Framework with a Struts2 application
Integrating Struts 2 Actions with Spring3 Using spring-struts-plugin and using DI
A Struts2 CRUD Tutorial in 3 Steps
Etiquetas Struts 2
Struts 2 Interceptor Example
Number and date formatting in struts 2
Testing Databases with JUnit and Hibernate Part 1: One to Rule them
Una forma de direccionar parámetros por medio de la URL en Struts 2……
JSESSIONID Regeneration in Struts 2
Etiquetas Struts 2
Struts 2 UI Tags Tutorial (Combobox, CheckBox, Radio)
Este Ejemplo incluye código fuente
Struts2 Value Stack/OGNL
Struts 2 Ajax Tutorial with Example
Struts2-jquery - Mostrar registros en un JQGrid
Version 2.2.0 of Struts2 jQuery Plugin is now available
Whats New in Struts2 jQuery Plugin 3.0.0
Struts 2 Validation Example
Introdución a Struts2 español
How to integrate Spring Framework with a Struts2 application
Integrating Struts 2 Actions with Spring3 Using spring-struts-plugin and using DI
A Struts2 CRUD Tutorial in 3 Steps
Etiquetas Struts 2
Struts 2 Interceptor Example
Number and date formatting in struts 2
Testing Databases with JUnit and Hibernate Part 1: One to Rule them
Una forma de direccionar parámetros por medio de la URL en Struts 2…
JSESSIONID Regeneration in Struts 2
Etiquetas Struts 2
Struts 2 UI Tags Tutorial (Combobox, CheckBox, Radio)
Este Ejemplo incluye código fuente
Struts2 Value Stack/OGNL
lunes, 20 de junio de 2011
sábado, 18 de junio de 2011
martes, 14 de junio de 2011
Java UTF–8 international character support with Tomcat and Oracle
Interesante articulo sobre la forma de codificar los caracteres especiales atraves de las diferentes capas.
Solving Problems with International (UTF-8) Data using Hibernate, Oracle, and Tomcat
Character Semantics and Globalization
java.sql.SQLException: ORA-12899
Struts, UTF-8 and form submissions
Encoding problem... Not able to store German characters
Envío de parámetros con la petición HTTP
Solving Problems with International (UTF-8) Data using Hibernate, Oracle, and Tomcat
Character Semantics and Globalization
java.sql.SQLException: ORA-12899
Struts, UTF-8 and form submissions
Encoding problem... Not able to store German characters
Envío de parámetros con la petición HTTP
sábado, 7 de mayo de 2011
Convertir un Byte Array a InputStream
byte[] bytes = ... //get byte array from somewhere.
InputStream input = new ByteArrayInputStream(bytes);
int data = input.read();
while(data != -1) {
//do something with data
data = input.read();
}
input.close();
Note: The proper exception handling has been skipped here for the sake of clarity. To learn more about correct exception handling, go to Java IO Exception Handling.
Obtener más información del tema
InputStream input = new ByteArrayInputStream(bytes);
int data = input.read();
while(data != -1) {
//do something with data
data = input.read();
}
input.close();
Note: The proper exception handling has been skipped here for the sake of clarity. To learn more about correct exception handling, go to Java IO Exception Handling.
Obtener más información del tema
Suscribirse a:
Entradas (Atom)
