This section explores the concept of a class in reference to object oriented programming techniques. A class defines the properties of objects and methods used to control an object's behavior.
Tutorial Details:
This section explores the concept of a class in reference to object oriented programming techniques. A class defines the properties of objects and methods used to control an object's behavior. In terms of object-oriented programming, the class is like a template from which an instance (object) of a class is created at run time.
Let us consider an example of a car. Manufacturer made so many cars, all cars have their own unique state but they have same behavior (you can learn about state and behavior in the topic object.). To built a car, a blueprint is required that specifies a perfect design and illustrates the vital things to manufacture a car. This blueprint or the model can now be used to manufacture thousands and thousands of cars ready to run on the roads.
Inside Class Loaders: Debugging
Inside Class Loaders: Debugging
This article will show how to solve class-loading problems and to overcome some debugging limitations of the JDK class loaders.
Building Highly Scalable Servers with Java NIO
Building Highly Scalable Servers with Java NIO
I/O Event Handling
The I/O architecture of our router was strongly inspired by the Swing event-dispatch model. In Swing, events generated by the user interface are received by the JVM and stored in an even
Smokescreen Introduction
Smokescreen is a Java obfuscator. Aside from being able to change symbolic names, it can also modify the bytecode instructions in methods thereby obfuscating control flow. This makes the resulting obfuscated classes much more difficult to decompile.
Dynamic Delegation and Its Applications
Dynamic Delegation and Its Applications
The Proxy pattern is an important and widely used design pattern in object-oriented programming. Do you ever use Proxy in Java since its introduction in JDK 1.3? A dynamic proxy class is a class that implements a l
ClassRemoter
ClassRemoter is a remote class wrapper generator for use with RMI. It can create remote wrappers for existing java classes and interfaces, that would not normally be used with RMI. The wrappers may then be used to access the public methods.
Calling JavaBeans from a JSP Page
We will be using this SimpleBean class in this tutorial, so if you haven't read above article then I suggest you do it now.
Adding search to your applications
The Lucene search engine is an open source, Jakarta project used to build and search indexes. Lucene can index any text-based information you like and then find it later based on various search criteria.
Internals of Java Class Loading
When are two classes not the same? When they're loaded by different class loaders. This is just one of many curious side effects of Java's class-loading system. Binildas Christudas shows how different class loaders relate to one another and how (and why)
Understanding Struts Action Class
In this lesson I will show you how to use Struts Action Class and forward a jsp file through it.
What is Action Class?
The Action Class is part of the Model and is a wrapper around the business logic. The purpose