Skip to main content

Posts

Showing posts from 2010

HTML5 links

http://ajax.sys-con.com/node/1643966?page=0,1 http://www.html5rocks.com/tutorials/ http://www.html5rocks.com/tutorials/appcache/beginner/ HTML5 Storage: http://boldr.net/faster-ajax-html5-localstorage http://diveintohtml5.org/storage.html

Websphere server autodeploy using Maven plugin

After a long googling, I didn't find how to do auto deploy for webshpere application using maven. Finally I have done successfully. Here is the pom.xml: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">     <modelVersion>4.0.0</modelVersion>     <parent>         <artifactId>testwasEar</artifactId>         <groupId>com.mycompany</groupId>         <version>1.0-SNAPSHOT</version>     </parent>     <groupId>com.mycompany</groupId>     <artifactId>testwasEar-ear</artifactId>     <packaging>ear</packaging>     <version>1.0-SNAPSHOT</version>     <name>testwasEar-ear JEE5 Assembly</name>     <url>ht

Java Collection Framework

not synchronized TreeSet TreeMap LinkedList HashSet HashMap ArrayList LinkedHashMap LinkedHashSet synchronized Hashtable Vector public class ArrayDeque<E> extends AbstractCollection<E> implements Deque<E>, Cloneable, Serializable Resizable-array implementation of the Deque interface. Array deques have no capacity restrictions; they grow as necessary to support usage. They are not thread-safe; in the absence of external synchronization, they do not support concurrent access by multiple threads. Null elements are prohibited. This class is likely to be faster than Stack when used as a stack, and faster than LinkedList when used as a queue. public class ArrayList<E> extends AbstractList<E> implements List<E>, RandomAccess, Cloneable, Serializable Resizable-array implementation of the List interface. Implements all optional list operations, and permits all elements, including null. In addition to implementing the List interface,