Since its release in 1995, MySQL has became one of the most commonly used database in Internet world. A lot of small and medium businesses uses MySQL as their backend db. Its popularity for use with web applications is closely tied to the popularity of PHP, which is often combined with MySQL. Wikipedia runs on ...
Byte codes generated by javac compiler can again be converted into java source. For this we need a decompiler tool. Decompilers are the utilities that generate the source code from input
java class file.A Decompiler knows about the
structure of a Java class and parse it to generated Java source code.Java decompilers will not ...
Are you bugged of creating separate action classes for some common set of functionality in your Struts application? Feeling pain in managing all those hundreds of Action classes in your project? Don't worry, cheers..!! DispatchAction is for you.DispatchAction is one of the Struts built-in action that provides a mechanism that facilitates having a set of related functionality in a single action instead of creating separate ...
Java Singleton design pattern is one of the design pattern that governs the instantiation of an object in Java. This design pattern suggest that only one instance of a Singleton object is created by the JVM. This pattern is useful when exactly one object is needed to coordinate actions across the system. Also it can be generalized to restrict the objects to certain number of ...
This week the tech world was set on ablaze when
this article in The Times of London reported that every Google search query contributes in 7 gm of CO2 to the atmosphere and this is equivalent to half the amount of energy needed in heating a tea kettle. The article is a study ...
Java programs executes in JVM uses Heap of memory to manage the data. If your Java program requires a large amount of memory, it is possible that the virtual machine will begin to throw OutOfMemoryError instances when attempting to instantiate an object. The default heap size if 1 MB and can increase as much as 16 ...
Servlet Filters are the latest components that are added in Servlet 2.3 specifications. These filters are used basically for intercepting and modifying requests and response from server. Consider a scenario where you want to check session from the every users request and if it is valid then only you want to let the user access the page. You can acheive this by checking sessions on ...
In previous tutorial
Java Virtual Machine, An inside story..., we saw some basic of internals of JVM and how it is divided into different components that helps in execution of Java byte code. Java Byte code as we saw is packed in a file called class file (with .class extension). In this tutorial let us see the internals of a class file. How the ...
Twitter: the popular microblogging site, was hit by hackers and 33 high profile accounts including that of Rick Sanchez and Barack Obama was compromised. The attack just followed last weekend phishing attack on website. Hackers were able to get into the back end admin tools that twitter team uses to manage profiles of different people.Soon ...
While creating the jQuery plugin for
DIV TEXT BOX: Create orkut style status update box, I had a requirement where in I had to call a JavaScript function whose name is specified as a string in some tag. For example, user is giving name of function in a text box and you have to call that function.Calling simple JavaScript function is easy, just ...