Sunday, April 29, 2012

Components in Java

Component

 

1) In programming and engineering disciplines, a component is an identifiable part of a larger program or construction. Usually, a component provides a particular function or group of related functions. In programming design, a system is divided into components that in turn are made up of modules . Component test means testing all related modules that form a component as a group to make sure they work together.

2) In object-oriented programming and distributed object technology, a component is a reusable program building block that can be combined with other components in the same or other computers in a distributed network to form an application. Examples of a component include: a single button in a graphical user interface, a small interest calculator, an interface to a database manager. Components can be deployed on different servers in a network and communicate with each other for needed services. A component runs within a context called a container . Examples of containers include pages on a Web site, Web browsers, and word processors.

Sun Microsystems, whose JavaBeans application program interface defines how to create component, defines "a component model" as typically providing these major types of services:

  • Component interface exposure and discovery. Thus, during application use, one component can interrogate another one to discover its characteristics and how to communicate with it. This allows different companies (possibly independent service providers) to create components that can interoperate with the components of other companies without either having to know in advance exactly which components it will be working with.
  • Component properties. This allows a component to make its characteristics publicly visible to other components.
  • Event handling. This allows one component to identify to one or more other components that an event (such as a user pressing a button) has occurred so that the component can respond to it. In Sun's example, a component that provided a button user interface for a finance application would "raise" an event when the button was pressed, resulting in a graph-calculating component gaining control, formulating a graph, and displaying it to the user.
  • Persistence. This allows the state of components to be preserved for later user sessions.
  • Application builder support. A central idea of components is that they will not only be easy and flexible for deploying in a distributed network, but that developers can easily create new components and see the properties of existing ones.
  • Component packaging. Since a component may comprise several files, such as icons and other graphical files, Sun's component model includes a facility for packaging the files in a single file format that can be easily administered and distributed. (Sun calls their component package a JAR (Java Archive) file format.)

Saturday, April 28, 2012

My rage! My passion! My despiration

Our tuition sir was very handsome and rich, most of females used to die for him. He is my favourite sir, I liked his intelligence. He is creating now a very novel frame work. I worship him as a Teacher, he guided me all through my career. He is my idol. He got mesmerized at my passion on Java. He says, "I have never seen a female who is so dedicated to the Java as you are." He was available all the time for me. He used to wake up at 3:00Am in the morning and just to solve my queries.

5 years back, one of my male classmate said, "Females are meant to be in kitchen, they can only love a male and write a lot in notes and fit for nothing. They can't do the job, and Java forget it. Females are pathetic little creatures."





That changed my destiny!

Totally changed my thoughts:

I got this rage,
I got this desperation,
I got this anger.

Fear of failing and letting every female was growing in me. I was scared if I fail he will win. Most of males still think in that way. Make fun of females. Come on, give me a break. I have that rage even now, that helped me to work like hell. Working became my only passion. I wanted to prove those disgusting, filthy, jealous, creepy, gross, envious males that females can do more than cooking. We can do everything. In fact you males are pathetic.

At home we are humble and at work we are perfect. I tried to create this rage in every female I meet. I wanted every female to grow aggressive in her career. It's my bad, that I found some of males who work in IT industry still think females are fit for nothing but just a tool in making others work. Come on!

There are males who are worse than a normal female in intelligence. I have seen such a pathetic males at work. I was like saying Jesus! They are stupids. Males you have to learn respecting females. Technology is growing to unimaginable heights but your minds are not growing according to the Technology. I have this passion because of that one male who said "females are useless." No we are not. In India, we are sacrifices, we are invisible, but we are the pillars of a family.

In India, a wife decides a fate of a family. If she is intelligent that family shines, if she is stupid, that family is in ruins. Without females contribution you males are nothing but mere beasts. Oh! Ya I have that anger still in me.

I will achieve something, I will never stop until and unless I establish a giant organization. I will fight until my last breath. I would rather try and fail than give up.