miércoles, 4 de mayo de 2011

Instalando Jar Manualmente

A veces necesitamos instalar manualmente un jar en nuestro repositorio local, por ejemplo si queremos instalar JASPER para hacer nuestros reportes. Abrimos un consola de windows y ejecutamos

mvn install:install-file
-DgroupId=jasperreports
-DartifactId=jasperreports
-Dversion=3.6.0
-Dpackaging=jar
-Dfile=C:\Mario\Desarrollo\jars\jasperreports-3.6.0.jar

install:install-file Es el "Maven Goal" que estamos ejecutando
-Dversion, -Dpackaging y -Dfile Es información que conseguimos del archivo jar
-DgroupId, -DartifactId Es posible que esta información ya este en algún POM nuestro, en caso contrario googlear buscando algún POM que tenga la dependencia que estamos instalando
y copiar de ahí




sábado, 2 de abril de 2011

Explica paso a paso conexion interaccion BD con DriverManager, viejo pero sirve igual
http://www.jdbc-tutorial.com/

comparacion datasource and drivermanager
http://zetcode.com/tutorials/jeetutorials/datasource/

arquitectura hibernate
http://docs.jboss.org/hibernate/core/3.6/reference/es-ES/html/architecture.html

crear tu JDBC Driver
http://www.javaworld.com/javaworld/jw-05-2002/jw-0517-jdbcdriver.html

JDBC Tutorials
http://www.roseindia.net/tutorial/java/jdbc/complete-jdbc-tutorial.html

JDTS Driver pure Java
http://jtds.sourceforge.net/

Hibernate and JDBC

One of the objectives of Hibernate and other ORM tools is to abstract the persistence of an object. Hibernate works hard to provide as much flexibility as JDBC offers while at the same time removing much of the maintenance headaches that are associated with managing SQL statements embedded into an application.

There are some additional considerations and complexity that must be tackled, but this quickly becomes a non-issue as a developer becomes adept with the framework. The complexities that were ones a problem with JDBC (connection management, connection pooling, caching, lazy-loading associations, etc.) become configuration driven and no longer an issue for a developer to contend with.

With HQL (Hibernate Query Language) the developer can achieve nearly all of the same semantics that are available in SQL. All the power of the relational database is still present and can even be reinforced in the application through column definition, foreign keys, etc. on the object meta-data (which is amazingly simple with annotations).

If you additionally leverage Spring in conjunction with Hibernate (or JPA) you will also reap the benefit of springs transaction management, connection management, etc. and still have access to the underlying JDBC connection if you find a reason to need it.

A veces es mejor usar JDBC directamente en una query compleja, Hibernate nos soluciona el mapeo de nuestros objetos, pero en caso de querys de recuperacion de datos particulares, que por ahi no estan mapeados a objetos, o incluso objetos pero tales que el mapping no nos ayuda a obtener lo que queremos (caso JBPM_VARIABLEINSTANCE, Hibernate 3.5) conviene obtener el dato con JDBC, no perdamos de vista que Hibernate USA Jdbc


http://forum.springsource.org/archive/index.php/t-10359.html



MVN install file

cuando no funciona nuestro repositorio, por A o po B, maven y eclipse no logran recuperar
en esos casos lo mejor creo es borrar la carpeta del repo local y volver a instalar como



mvn install:install-file -Dfile=C:\Mario\1.0.1-SNAPSHOT\javadbf-1.0.1-SNAPSHOT.jar -DgroupId=com.latintech -DartifactId=javadbf -Dversion=1.0.1-SNAPSHOT -Dpackaging=jar -DlocalRepositoryPath=C:\Mario\.m2\repository

lunes, 28 de marzo de 2011

comex ideas

http://www.theanswerbank.co.uk/How-it-Works/article/what-is-swift-payment/
http://www.itau.com.py/empresas/comercio_exterior.php
http://www.e-galicia.com/portal/site/eGalicia/menuitem.923bf72e87dfb5aa1aad5341222011ca

lunes, 7 de marzo de 2011

http://en.wikipedia.org/wiki/Software_as_a_service

http://en.wikipedia.org/wiki/Freemium

http://blogs.amrresearch.com/enterprisesoftware/2009/01/inside-a-startup-who-needs-an-it-department-not-zuora.html

http://peripateticaxiom.blogspot.com/2010/01/its-screaming.html

viernes, 4 de marzo de 2011

http://h10010.www1.hp.com/wwpc/es/es/ho/WF06b/15179-15179-64195-3445112-3445112-3723463-3723468.html


http://h20195.www2.hp.com/v2/GetPDF.aspx/4AA2-0285ESE.pdf


http://www.abbyy.com/support/

http://www.sediex.com/contactenos.php

miércoles, 16 de febrero de 2011

Sql SERVER 2005 4GB Limite

SQL Server 2008 R2 (Express Edition)

Limit 10 GB

Bajar de: https://www.microsoft.com/betaexperience/pd/SQLEXPDBMT64/enus/default.aspx

Sql server express 2005 tiene una limitacion de 4GB, para obviar eso migrarse a 2008 express
ambas versiones son GRATUITAS

martes, 15 de febrero de 2011

Pasos Para Setear un Origen de Datos

1. Buscar un conector para Java en la pagina de la base de datos correspondiente
2. configurar los parametros de conexion
jdbc.db.driverClassName= org.db.jdbc.Driver
jdbc.db.url= jdbc:dbsql:XXX.XXX.XXX.XXX/port
jdbc.db.username=SYS
jdbc.db.password=pirulo

3. Crear un Servicio Spring que tenga el datasource

domingo, 13 de febrero de 2011

Tapestry y Wicket comparados creando un TAB

http://lombok.demon.co.uk/tapestry5Demo/test/components/tabdemo


http://www.roseindia.net/tutorials/wicket/tab-wicket.shtml

lunes, 7 de febrero de 2011

Estuve chusmeando este blog

http://anibalgoicochea.com/?s=bpm

muchas ideas sobre el negocio de bpms