Hi Abdul, I am reading a book called C++ for Java Programmers by Timothy Budd. Since I am not sure what C++ templates are, I will tell you what Budd says. The template mechanism in C++ ... has no correspondence in Java. It looks like one use of templates is to define container data structures. In Java, collections (lists, sets and maps) are part of the java.util API.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com