Java Programming Tutorials

Java Programming Tutorials And Articles
  Title / Author Reverse Sort Order Replies
In Java, networking is performed using Transmission Control Protocol/Internet Protocol (TCP/IP) or the User Datagram Protocol (UDP). Java provides a low-level control on the connection, allowing you to customize it according to your requirements. The package containing networking classes, called...
Introduction In the last article on servlet, we noted that HTTP is the protocol most-commonly used to communicate with web applications. Unfortunately, HTTP offers no mechanism for data to be retained between requests; in other words it can't track the activities of a user across requests. ...
In the previous article we discussed three examples, each of which demonstrates how to track user sessions programmatically, using URL rewriting, cookies, and hidden form fields respectively. Each of these techniques required some unique string to be exchanged between the client and the server, so...
In the first part I discussed about applet fundamentals as to what is an applet, its features, various methods of Applet class and a simple example on applet. In this article I will discuss further on advanced features of applet. Applet class Applet class provides all necessary support for...
So far Java Event Handling (Part-1) Java Event Handling (Part-2) In this article I will discuss about the events generated by entering input through keyboard and when characters are entered in text fields and text areas. The KeyEvent Class A KeyEvent is generated when keyboard input...
This article continues our exploration of the Abstract Window Toolkit (AWT). It examines the standard controls defined by Java. Controls are components that allow a user to interact with your application in various ways—for example; a commonly used control is the push button. The AWT supports...
Layout Managers In the previous article I discussed about the various Controls in Java like Button, Checkbox, Lists, Scrollbars, Text Fields, and Text Area etc. All of these components have been positioned by the default layout manager. A layout manager automatically arranges the controls within...
In this article I will discuss about window and some advanced components which can be added to our window such as Menu Bars and Menus. Window Fundamentals The AWT defines windows according to a class hierarchy that adds functionality and specificity with each level. The two most common...
Introduction As we already know the primitive data type char represents a character. A chain of characters is called a string. The capability to handle strings is an important feature of any programming language. In Java, each character in a string is a 16-bit Unicode character.Because Unicode...
Introduction The instances of the String class represent a string that cannot be modified. If we do want to create modifiable strings because we are going to do lots of string manipulation, we should use the java.lang.StringBuffer and java.lang.StringBuilder classes.If we choose to do a lot of...
LDAP - The Lightweight Directory Access Protocol This directory access protocol which can either act as a gateway to other service or provide service itself. LDAP follows standardized way of managing directory information solutions of X.500. The Lightweight Directory Access Protocol, better...