Articles [Java & J2EE]

Why to choose Java? In the computer market, being able to use Java is a crucial knowledge. Java is a development terminology used to build compelling content for websites, stand-alone application, and server-side programs. The Java foundation is...

DATABASE CONNECTIVITY This articles explains the need of database connectivity, the way it is achieved through Java using the JDBC(java database connectivity) APIs. Need of Database Connetivity Consider a scenario where you have to develop an...

  Write your first simple java program.   First of all we need is a placewhere we can write your Java code. All Java programs are written using plain text files such as a notepad.Therefore there is no need of a fancy software.Lets come to...

Array of objects in Java Arrays are defined as block of continous memory locations which are arranged in one after another. Elements of the Array can be accessed by the index number as:  a[2] Syntax: data_type[] array_name = new data_type[number...

Synchronized block is alternative mechanism for "synchronized" methods.If we inherihate the non synchronized blocks either from base class or interface inface into our derived class and the inheriated non-synchronized method is trying to accessed...

1) Go to the Path: C:Program FilesApache GroupTomcat 4.1webapps Create the following directory structure Exampledate ( it’s a Folder Name) META-INF Manifest.mf – can be an empty file WEB-INF web.xml ExampleDate.jsp   2) ExampleDate.jsp:  Hello!...

For hacking dudes, this will be another useful article. The Java Drive By is basically a fake web-client which automatically installs our executable files on victims machine Requirements :- 1) Java installed on victims computer 2) Evil brain...

Hi,   One of the most important concepts in java is Threads. If we want to master in java we need to have a sound knowledge in the concept of threads and programming of java using threads. I am going to explain this with an illustrative program;...

Object- Oriented Programming – An Introduction OOPs Stands for object oriented programming. It is a very efficient langauge which remove the problems regarding procedural programming and its based on real life. The first achievement of OOP...

Servlets What are Servlets? The following are the basic steps of using servlets: •    The client makes a request.•    The Web server forwards the request to the servlet after receiving it from the client.•    Some kind of process is done by the...

Powered by CjBlog