Saturday, December 10, 2011
Monday, October 31, 2011
- "Portlets are web components--like servlets--specifically designed to be aggregated in the context of a composite page. Usually, many portlets are invoked to in the single request of a portal page. Each portlet produces a fragment of markup that is combined with the markup of other portlets, all within the portal page markup." (from the Portlet Specification, JSR 168)
This article discusses the following:
- Elements of a Portal Page
- What Is a Portal?
- What Are Portlets?
- Developing a "Hello World" Portlet
- Deploying a
HelloWorldPortlet on Pluto
- How a Portal Page Is Created
The Portlet specification defines a portlet as a "Java-technology-based web component, managed by a portlet container that processes requests and generates dynamic content." That's not the easiest thing to understand, is it? This article will explain what portlets are and what they do.
Figure 1 shows what your browser will look like when you access a portal server.
If you take a closer look at the browser content, you will see that this page is made up of different "windows." There is one window for the weather update, another window for news, a third for a stock price update, and so on. Each of these windows represents a portlet. If you take closer look, you will find that each of these windows has a title bar and a few buttons, including minimize and maximize buttons.
Under the covers, these windows are different applications, developed independently of each other. The developer of the news portlet will create an application and pack it into a .war file. Then the administrator of the portal server will install this .war file on the server and create a page. In the next stage, every user will choose which applications he wants on his page. For example, if the user is not interested in stock updates but is interested in the sports update, he can replace his "Stocks Update" window with a "Sports Update" window.
Portlet technology requires learning a lot of new concepts, and it won't be possible for us to cover everything in one article, so we have split this article into two parts. In this part, we will define portals and portlets and develop a simple "Hello World" portlet. We will talk about a few more advanced topics in the next part.
We will use Apache's Pluto server--the reference implementation of the Portlet API 1.0 specification--for testing our sample portlets. We will also spend some time talking about how to install and use the Pluto server.
Figure 2 shows the various elements of portal page.
Figure 2. Elements of a portal page
Every portlet page is made up of one or more than one portlet windows. Every portlet window is made up of two parts: one is the decoration, which will decide how the title bar, controls, and borders of portlet windows will appear. The second part is the portlet fragment, which is the part contributed by the portlet application.
Your portal server decides the overall look and feel of the portal page, such as the logo, the colors of the title bars, the images for the controls, etc. By changing a few standard JSPs and .css files, you can change the complete look and feel of your portal. We will talk more about this in the "How a Portal Page is Created" section.ortlet - O'Reilly Media
Sunday, October 30, 2011
Why should I have to cry for you
You were the one who have to cry for me
You lost a very special friend
And that is me you wont understand this now
When you feel all alone and when u needs some one
Then you will understand what you lost
All the time I was the one
Who used to handle u but now
I won’t cry for you for leaving you all alone
U should learn everything by your own from now
There is no one to hide your mistakes
Now its u r turn show up what u are
Re u dead re u insane, you are very much alive
You are not deaf u can hear me
And I know u can understand
I am not feeling bad I won’t feel bad too
Its you are wish how u behave with me
We used be best friends right
No! Only I used to think that
We re best friends u be happy
But u know i too have a heart
Even i am a human i am not robot
To forget u easily why this always
Happens to me why did u cheat me
Am I not fit for you are friendship
Then why didn’t you said it straight
I never asked u anything
Just answer me one thing
What am i to u?
Sunday, October 16, 2011
Pooja Desai, Ashish Patil (story writers). Anvita Dutt Guptan (Dialogue, Screenplay). Casting director and director Nupur Asthana. Not necessarily in that order, all need to be complimented for a job well done. Not to forget the technicians and all the people who work in the background making the magic that unfolds on screen. MUJHSE FRAAANDSHIP KAROGE is pure magic.
Saqib and Saba are electric on screen. Their chemistry is simply sizzling. Both are first rate actors. Their bickering, back-biting, fighting while working together and finally falling in love is what you will connect with. It's very real. Nupur has handled all of these scenes with 'adolescent maturity'.
Saba is not conventionally good looking but exceptionally beautiful. With original teeth, normal lips and a real nose. I mean you can't get more real characters than her. She plays a major part in tilting the scales heavily in MFK's favour.
Prashant, Tara and the guy who plays Vishal's friend too chip in with good performances. The songs are catchy and peppy, the mood upbeat.At the end of movie ,vishal and preety fall in love with each other.
The youth will simply love it.I just give only 2.5 out of 5
My Rating - 2.5/5
Saturday, October 8, 2011
Wednesday, October 5, 2011
Monday, September 19, 2011
Friday, September 9, 2011
Agar itni Pyari soch tumhari na hoti,
mulakat tumse humari na hoti
tadapte rehte sachche Dost k liye
agar Dosti tumse humari na hoti…
Khuda na kare aapko kabhi koi gam mile,
khushiyan aur hansi har dam mile,
gum jab bhi bad chale aapki aur…..
khuda kare raaste me use hum mile…
Do pal ki zindgi, yu hi beet jayegi.
Kali raat k baad nayi Subah ayegi.
Agar Doston ki yaad satayegi to kasam se
aapki yaad sabse pehle aayegi…..!
Kash koi khushiyon ki dukan hoti,
usse hamari kuch pehchan hoti,
Lelete tumhare liye sari khushiyan…..
Kimat chahe uski hamari Jaan hoti.
Teri Muskuraht meri pehchaan hai,
Teri Khushi meri jaan hai,
Kuch bhi nahi meri zindgi…..
Bas itna samajh le ki tera Dost hona meri shaan hai!
Dosti se aaj pyaar sharmaya hai
Teri dosti ne humein jina sikhaya hai
Kya maange khuda se hum
Woh to khud aaj mere dar par
Teri dosti maangne aaya hai.
mulakat tumse humari na hoti
tadapte rehte sachche Dost k liye
agar Dosti tumse humari na hoti…
Sunday, August 28, 2011
Thursday, August 25, 2011
About the website Facebook it was started in 2004 by the founder and CEO Mark Zuckerberg and it's amazing because at that time he was an undergraduate student at Harvard University.Any one over the age of 13 can join with a valid e-mail address can join Facebook.Right now in Facebook company 1000+ Employees are working.And the co-founder of Facebook company is Dustin Moskovitz.
But China is already Blocking Google+ means blocking the url plus.google.com.Chinese authorities are not too keen on U.S.A social networks and block services such as Facebook, Twitter, YouTube etc...
While it is clear that Google as spent a lot of effort on Google+.The company has a poor track record with social products.Social network like Orkut,Google Wave,Google Buzz are all the examples of products had the best results.
At the end I would like to see you one thing which is said by a great writer,he writes:
“…All you do is make your core product heavier. The thing you wanted to kill (Facebook) doesn’t go anywhere. It hardly notices what you did. The users might care to the extent that they’re annoyed… Products like the one Google just announced are hatched at off-sites at resorts near Monterrey or in the Sierra, and were designed to meet the needs of the corporation that created it. A huge scared angry corporation.”
Please give me any response from your side means give me a comment on Comparisons between Google+(plus) and Facebook.
Meditation is necessary to live life peacefully and happily. Without controlling our mind we can’t achieve peace. It helps us to make our mind still. It reduces stress levels. It helps to realize the self.Meditation is a state of mind where there are no sensual thoughts. Meditation means putting all attention to a single point or object. Initially, we will find our attention flowing in different directions but with practice one can attain concentration or meditation. In meditation we practice to quite our mind.
Meditation is done to reduce high blood pressure and hypertension. During meditation stress levels come down five times. With meditation, the oxygen consumption of the body decreases considerably, thereby a person can stay longer in even very low oxygen conditions.
With practice of meditation one can increase his willpower. Meditation increases the strength of the soul, energy level and provides vitality and new vigour.
It is very important food for the soul.
There are different kinds of meditation. It depends on the taste, temperament, capacity and type of mind of the individual.
Meditation is of two kinds that is Saguna and Nirguna. In Saguna concrete figure of Lord Krishna is seen with open eyes. Meditating on the infinite is termed as Nirguna meditation.
Always one technique should be followed. In viparsana meditation, one concentrates on the breath , see the breath as it goes in and out.
In mantra meditation, one repeats a mantra in the mind like “Om namah shivaya”
When the mind is distracted during meditation do not wrestle with your mind gently bring back your attention to the point of concentration.
It is better to start at a small pace and later develop a regular practice to give more time.
It’s better to meditate in the brahmuhurat (early morning) or in the evening.
Meditation should not be done after having a meal. Milk and fruit diet helps in meditation.
Keep your head, neck and back in one straight line during meditation.Practice meditation daily.
BENEFITS OF MEDITATION
- Meditation is the best way to prepare for death.
- More valuable than money.
- Greater than power.
- More sublime than sex.
- More rewarding than anything else.
- Meditation provides notable emotional, physical and health benefits.
- Focusing our attention in Meditation improves our ability to concentrate and relax.
- People who meditate generally manage stress better that leads to improve productivity. THANK YOU...
1. Putting policies ahead of people. The smaller the organization, the larger the mistake this is. Policies are made to be followed, within reason. Some flexibility with employees, particularly in a small company, is important. An even bigger mistake is standing behind policies at the expense of losing loyal customers.
2. Lack of communication . In any industry, at any level, communication is key to being a successful manager. Employees need to know what is expected of them and when specific projects or tasks need to be completed. Communication needs to be clear, and any questions that arise need to be answered.
3. Failing to hear what your employees have to say. Managers make the mistake of listening but not always hearing what their employees are saying. To manage effectively, you need to understand the needs and concerns of your employees.
4. Not acknowledging that you do not have all the answers . A good manager does not make the mistake of trying to solve every problem. Seeking help from individuals with expertise in specific areas in a sign of strengths, not weakness. In addition, a good manager must understand that his or her way is not the only way to do the job.
5. The glass is always half empty. Managers who continually focus on the negatives, without recognizing positive achievements or employee accomplishments, end up with employees who are not motivated and often have one foot out the door looking for a more positive work environment.
6. Not accepting responsibility. A common mistake made by managers is to either delegate blame or simply not accept responsibility for that which happens under their guidance. Being in charge means taking responsibility for whatever happens.
7. Favoritism. Once a manager has obvious favorites, he or she loses credibility and the respect of the rest of the team.
8. Just do it. The Nike slogan does not work when employees are trying to gain an understanding of the process mply work blindly on tasks they do not understand, a good manager takes the time to explain what the project is all about how the team’s work is incorporated into the plan.
9. Too much technology. A new breed of managers is more tech-savvy than they are comfortable handling and managing people. Embracing technology is a key to success in the modern office environment, but not at the risk of embracing people skills. Do not hide behind e-mails and other technology.
10. Never change. In a rapidly changing business environment, not being open to change can be a major mistake. While you may stick to tried-and-true methods in some areas, you should consider and weigh the value of change in others.
- After the ShivSena – BJP government came in power on March 11, 1995; Anna Hazare started communicating with the government for taking steps to curb corruption. He wrote to the government 15 times and had meetings with it.
- He sent a letter to the government on January 12, 1998 asking it to make an act for Right to Information for checking corruption.
- As government was not paying any heed to his demand even after writing many letters and discussions, he started dharna on April 6, 1995 at the Azad Maidan, Mumbai.
- He again wrote to the government 10 times between April 6, 1998 and August 2, 1999 asking it to make the Act for Right to Information. In the mean time, Congress – NCP government came in power.
- He communicated with the newly formed government 5 times pressing it to make the Act. As it failed to do this, he wrote to the govt. on April 6, 2000 warning it that a statewide dharna agitation in front of Collector Offices would be started from 1st may and he would go on fast from 20th May, 2000.
To view picture gallery click to http://www.annahazare.org/gallery.html
- As per schedule, the dharna agitation started in front of all Collector Offices all over the state on 2nd May. The fast was postponed as the Central Government passed a bill in Lok Sabha on Information Technology.
- Continued communication with the govt. Wrote 14 times and had meetings with the govt. One year lapsed.
- On 1st March 2001, wrote to the govt. that he would start statewide maun andolan from 1st May if the govt. did not make the legislation. The Chief Minister held a meeting with other concerned ministers and Secretaries and made a promise that the govt. will pass the bill in the coming session.
- After the promise from the Chief Minister, 81 days lapsed. Anna’s correspondence with the govt. was continued. He wrote again on 1st March 2001 telling that he would undertake maun on 9th August 2001 at his native village Ralegan Siddhi.
- As per his warning, he started maun agitation on 9th August. On the same day, people started agitation all over Maharashtra.
- After 4 days of maun, the Minister of Law and Justice Mr. Vilas Kaka Undalkar visited Ralegan Siddhi to discuss with Anna Hazare. He facilitated a telephonic discussion with the Chief Minister and the Chief Secretary of Maharashtra. After promise from them, Anna stopped his maun.
- After the lapse of 1 year and a month and writing more than 15 letters, the govt. was not taking any action. So Anna started maun again on 21st Sept. 2002. After 5 days, four Ministers of the maharashtra Govt., viz. Mr. Dilip Valse Patil, Shivajirao Kardile, Shivajirao Moghe and R. R. Patil came to Ralegan Siddhi for discussions with Anna Hazare. After getting a written assurance from the Chief Minister and Chief secretary, Anna stopped his agitation.
- A meeting between Anna Hazare and the govt. was held on 30th October 2002 at Mumbai where the Chief Minister, the Chief secretary, other ministers and senior officers participated in the meeting on behalf of the govt. Again a promise was made.
- But as the govt. was not kepi ng its promise, Anna again warned on 21st January that he would undertake agitation on 20th February at Mumbai.
- In the mean time, the Chief minister of Maharashtra got changed. The new CM Mr. Sushilkumar Shinde informed Anna Hazare that a solution would be found within a timeframe after a meeting with Ministers and Senior Officers. So Anna postponed his agitation.
- A high level meeting was held at the Secretariat in Mumbai on 17th February and the CM promised that appropriate action would be taken.
- After the failure of the govt. to keep its words, Anna again warned the govt. of agitation from August 9, 2003 at Mumbai.
- Anna finally went on fast on 9th August 2003 at the Azad Maidan in Mumbai. Thousands of people from all over Maharashtra gathered at the site of fast in support of his agitation. At the same time, people also protested at Collector Offices at all district headquarters. All this mounted tremendous pressure on the govt. There was a threat of govt. collapse if the Act was not passed. Finaly, the President of India signed the Bill on 12th day of Anna’s fast and declared that the Act would be effective from 2002. Anna ended his fast at the hands of a noted Social Worker Mr. Tukaramdada Gitacharya.
- The Right to Information Act came into effect in Maharashtra from 2002. With Anna’s persuasion, the same Act came into effect for the whole nation.
- Likewise, the Acts for more rights to the Gram Sabha and against Red Tapism were passed by the government.
These Acts are revolutionary steps towards strengthening of democracy in Maharashtra.
Honours, awards and international recognition
|Year of Award or Honor||Name of Award or Honor||Awarding Organization|
|2008||Jit Gill Memorial Award||World Bank|
|2005||Honorary Doctorate||Gandhigram Rural University|
|2003||Integrity Award||Transparency International|
|1998||CARE International Award||CARE (relief agency)|
|1992||Padma Bhushan||President of India|
|1990||Padma Shri||President of India|
|1989||Krishi Bhushana Award||Government of Maharashtra|
|1986||Indira Priyadarshini Vrikshamitra Award||Government of India|