A lot of time we want to run multiple instances of Apache Tomcat server on a single machine. Generally this is done for creating a separate load balancer server for an application or install a different application independently.This can be achieved easy by some configuration in Tomcat Server. We need to install a second instance ...
Design Patterns are always wonderful for one who can perceived them as an tool to create generic solution to commonly occurring problems, let it be then software architecture, development issue or just coding work around.With plethora of resources and material available online about software design patterns, it's always a
GoF Patterns book serves as bible. However it is not prudent every time ...
Following are few very useful jQuery Tips and Tricks for all jQuery developers. I am sharing these as I think they will be very useful to you. Disclaimer: I have not written all of the below code but have collected from various sources from Internet.1. Optimize performance of complex selectors Query a subset of the DOM when using ...
Twitter, The popular micro blogging and real time update site has changed the way we interact in internet world. Not only it has became a source of latest updates/news going in world, but also an addiction to lot of those who tweets regularly.Twitter has provided lots of API that can be used to Get the latest ...
Object-Oriented programming is one of the widely used programming paradigm that uses abstraction to create model based on real world. It is a model organized around "objects" rather than "actions" and data rather than logic. Historically, a program has been viewed as a logical procedure that takes input data, processes it, and produces output data. Object-oriented ...
Following are few very useful Java code snippets for Java developers. Few of them are written by me and few are taken from other code reference. Feel free to comment about the code and also add your code snippet.1. Converting Strings to int and int to StringString a = String.valueOf(2); //integer to numeric string int ...
Following are list of 15 most useful PHP code snippets that a PHP developer will need at any point in his career. Few of the snippets are shared from my projects and few are taken from useful php websites from internet. You may also want to comment on any of the code or also you can ...
ROME is an open source tool to parse, generate and publish RSS and Atom feeds. Using Rome you can parse the available RSS and Atom feeds. Without bothering about format and version of RSS feed. The core library depends on the JDOM XML parser.Atom is on the similar lines of RSS is another kind of feed. ...
Generating PDF files in today's enterprise applications is quite common. Doing this with Java is not an easy task as Java does not gives default api's to handle PDF files. No worries, iText jar is for you.iText is a free Java-PDF library that allows you to generate PDF files on the fly (dynamically). iText is an ...
A lot of websites on internet provide users with an option to increase the font size of the page for better reading experience. Although nowadays almost all the web browsers supports zoom in/out functionality using mouse wheel scroll or other shortcut keys, it is sometimes a good idea to give user a way to increase/decrease the ...