Posts

amCharts

It's a set of JavaScript/HTML5 charts for most of your needs. Our package includes serial (column, bar, line, area, step line, smoothed line, candlestick and ohlc graphs), pie/donut, radar/polar and xy/scatter/bubble charts... http://www.amcharts.com/

google-guice

Guice (pronounced 'juice') is a lightweight dependency injection framework for Java 5 and above, brought to you by Google. http://code.google.com/p/google-guice/

Putting simple text message on a jms queue

        try {             String jndi_pref = "java:comp/env/";             String qConnectionFactoryJndi = "qConnectionFactoryJndi";             String qJndi = "qJndi" ;             InitialContext context = new InitialContext();             QueueConnectionFactory qConnectionFactory = (QueueConnectionFactory) context.lookup(qConnectionFactoryJndi);             Queue queue = (Queue) context.lookup(qJndi);             logger.debug("Resource " + queue.getQueueName() + " obtained");                ...

connection pool with spring

 <!--  demo connection pool definition  -->  <bean id="demoConnectionProxy" class="org.springframework.aop.framework.ProxyFactoryBean">   <property name="targetSource" ref="demoConnectionPool"/>  </bean>  <!-- demo pooling service that holds objects in a configurable Jakarta Commons Pool -->  <bean id="demoConnectionPool" class="org.springframework.aop.target.CommonsPoolTargetSource">   <property name="maxSize" value="20"/>   <property name="targetBeanName" value="demoConnection"/>  </bean>  <!--  Demo connection bean -->  <bean id="demoConnection" class="com.demo.DemoConnection" singleton="false">   <property name="gateway" value="10.1.1.xxx"/>   <property name="port" value="yyyy"/>  </bean>

SmartSVN

SmartSVN is a graphical client for Subversion (SVN), an Open Source version control system... http://www.syntevo.com/smartsvn/index.html

Random Password Generator

Having a difficult time thinking up a password? Need to automatically generate a password as part of a larger application? This script can help! It randomly creates a password of any specified length using alphabetic and numeric input. http://www.javascriptkit.com/script/script2/passwordgenerate.shtml

Low-level conversion of e.g. "ISO-8859-1" to "UTF-8"

String utf8Title = new String(getTitle().getBytes("ISO-8859-1"), "UTF-8");