Categories : Java & J2EE (54)
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...
Exception? What does that mean?
"Exception" in general means something which is not usual or something which is different from normal. For example, taking tablets or some medicine can be considered as an exception. Because they do not happen...
JDBC
Introduction As Per My Knowledge
Java Database Connectivity (JDBC) is a standard database access interface with SQL. It provides programmers with a uniform interface to various relational database systems regardless of differences...
Deleted.
Deleted.
Deleted.
function checkNumber(aNumber) {
if (aNumber > 0 && aNumber...
JaVa
Introduction to ClassesThe objects and classes are the basis for object-oriented programming. In Java, the class facility is used to define new data types. That’s why classes are called user-defined data types. Actually classes help you to...
JAVA SERVER PAGES TECHNOLOGY
With the advent of internet, the monolithic application architecture changed to the multi-tiered client-server architecture. The need for server side scripting gradually began to dominate aspects of web...
Right and Left shift operators
The right and left shift operators are binary operators.One operand represents the number in which bits are to be shifted and the other operand represents the shift positions.The shift operators are applied on...
import java.awt.*;import java.awt.event.*;import java.applet.*;/**/public class AdapterDemo extends Applet{ public void init() { addMouseListener(new MyMouseAdapter(this)); addMouseMotionListener(new...
Powered by CjBlog
Which is the best processor?
Which processor do you think is best?
The northern states of India lie between the Himalayas and the fertile plains formed by the rivers that flow from the Himalayas. Jammu and Kashmir, Himachal
A being convicted for so long,
the chains are finally lose,
they extricate themselves from me,
in the dungeon of melancholy,
where my soul limped
till
When you serve your mother and father, you serve God
Our ancient scriptures say that each one of us has three debts to pay. They are the debt to mother,
In now a days, I am observing major behaviour changes in toddlers, kids and school going children. Quite often, they are behaving like an adult or showing
Life Insurance is a product which secure our life.
As per IRDA ( Insurance Regulatory Authority of India) out of 100 crore people only 13% people are