Jason Fried: Why work doesn't happen at work | Video on TED.com

0

Posted by Jagadeesh VP | Posted in










Archaeological and literary sources of Kongu Region

0

Posted by Jagadeesh VP | Posted in

*During the classical period (i.e. Sangam Age) Kongu was under the rule of the Chēra kings and many vēļir chieftains. The society of those times is well represented in the Patiṟṟuppattu and other akam and puṟam anthologies. During that period this region was technologically well advanced and was visited by the traders of the East and West. Evidence suggests that this region was occupied right from Iron Age (1000 BC).

*The Potiṉi hill (Paḻaṉi), the abode of the Tamil God Murukaṉ,is in this region.

*Ayirai, another famous hill of the Chēras mentioned in Patiṟṟuppattu(30,79) as the “Ayirai where dwells the fearful deity” is located in Kongu region.

*Kumaṇaṉ who donated his head for the cause of benevolence and Pēkaṉ, one among the seven great philanthropists of Sangam Age who ruled over the Potiṉi hills of the Kongu region were eulogised by famous Sangam poets Perun͂cittiraṉār and Peruntalai-c-Ca̅ttaṉa̅r.

*Kāmūr (present Kangayam) ruled by Kaḻuvuḷ is mentioned in Akanāṉūṟu and Patiṟṟuppattu. It is situated in Kongu region.

*The Kutiraimalai region ruled by Pittaṅkoṟṟaṉ alluded in Puṟananūṟu(168-172) is situated in Kongu region.

*Poruntil Iḷaṅkīraṉa̅r , a famous Sangam poet is located near Paḻani in Kongu region. Recent excavation conducted by Pondicherry Central University brought out many evidences to attest the flourishing activities of this region in those days. During the excavation, about 2 kgs., of paddy of Sangam Age has been recovered. Large quantities of beads of precious and semi precious stones and glass beads, have been brought out from the excavation, besides evidence for glass bead industry in the habitation mound.

*The Industrial and Trade centre of Koṭumaṇam (present Kodumanal in Erode District), recorded in the Patiṟṟuppattu belongs to the Kongu region. This place was excavated by Tamil University during 1980s. The megalithic burials have yielded many semi precious stone beads, iron implements, brass objects, and potteries with graffiti marks. The excavations in the habitation area yielded evidences for the existence of metal furnaces. Besides, many pottery inscriptions of old Tamil characters (Tamil-Brahmi) dated from the third century B.C. have been obtained.

*Pavaṇanti Aṭikaḷ who wrote the grammar work Naṉṉūl, lived in present Sīṉa̅napuram (Jainapuram) in Kongu region and Aṭiyārkunalla̅r the famous commentator of the Cilappatika̅ram lived in Nirambai which is also situated in Kongu region. The famous Jain work Peruṅkatai was written by the poet Koṅguvēḷ who hailed from Kongu region. The Jain temple of Vijayamangalam indicates the spread of Jainism in Kongu region also.

*In Kongu region there are many megalithic burials of Iron Age found in the form of stone circles and stone heaps. This region was a nodal region for the trade between the East coast ports and West coast ports of Ancient Tamiḻakam. A large number of Roman coins were recovered around Veḷḷalūr, Chāvaṭippāḷaiym, and Pollachi region. In fact, only Kongu region yielded the bulk of Roman coins found in the whole of India. This attests to the fact that Kongu region played an important role in Maritime Trade with Roman world through Palghat Pass in the Sangam Age.

*The famous Tamil-Brahmi inscriptions found at Pukaļūr, near Karūr, corroborate the Sangam evidence relating to the Chēra dynasty. A third century inscription on musical notes is found at Aṟachalūr, which is in Kongu region.

*The excavations in the sites near Coimbatore namely Pērūr and Poluvāmpaṭṭi have brought to light many stone, glass, and shell beads, iron implements, terracotta objects, ear rings, the potteries with the graffiti marks and so on.

*A Punch-marked coin found in Sūlūr near Coimbatore attests to the trade connection between North India and Tamilnadu during the Sangam Age. Distinguished scholar Iravatham Mahadevan is of the view that a symbol found on an old pot at Sūlūr is similar to an Indus Script symbol.

*More than 250 Iron Age and Sangam Age sites have been so far identified in the Kongu region (Old Coimbatore District) by various scholars during their field work.

*It is generally agreed that Karūr Van͂ci (Karūr), the capital of Chēras was situated on the bank of Āṉporunai (present Amarāvati River), which is in the Kongu area.

*The famous port Musiṟi, alluded to in Sangam Literature situated on the West coast of Ancient Tamiḻakam, belonged to the Chēra Kings. Only recently, this port has been discovered and excavated by the Kerala Council for Historical Research. The findings would go to prove the maritime activity of Musiṟi, as noted in Akana̅ṉūṟu (149), which mentions that the ships (from Rome) laden with gold visited the port and returned with pepper. In this excavation, Roman potsherds, gold objects, Chēra coins, Brick structures, Boat wharf and wooden boat of 2200 years old have been unearthed. It may be remembered that this port was the important emporium for exporting the semi precious stone beads of the Kongu area.

*The above evidence suggests the importance of hosting World Classical Tamil Conference at Coimbatore the seat of Kongu region.

Courtesy: Naveen Kumar

Nice Animation

0

Posted by Jagadeesh VP | Posted in

I got this link by mail...
Nice creativity.....

Give Earth A Hand

0

Posted by Jagadeesh VP | Posted in ,

Ocean's glory and horror

0

Posted by Jagadeesh VP | Posted in

Brian Skerry reveals ocean's glory -- and horror | Video on TED.com

The Forgotten Sands - Prince Of Persia

0

Posted by Jagadeesh VP | Posted in , ,


Frnds, Prince is back.... Prepare your PC's again....

This year we get two Entertainment from the Prince series.

Prince Of Persia - The Forgotten Sands [Game]





Prince Of Persia - Jagadeesh VP



Prince Of Persia - Sands Of Time [Movie]


java.lang.ClassNotFoundException: org.slf4j.impl.StaticLoggerBinder

0

Posted by Jagadeesh VP | Posted in

In hibernate this error is common.

Caused by: java.lang.ClassNotFoundException: org.slf4j.impl.StaticLoggerBinder
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)

The hibernate distribution package have slf4j-api-x.x.x.jar file which does not have the impl package.

To avoid this error download slf4j-x.x.x.zip / .gz package from http://slf4j.org/download.html.

In this package you will find slf4j-simple-x.x.x.jar which has this org.slf4j.impl package. Add this jar in your classpath and run your application.

Hibernate Manny-to-Many Mapping

0

Posted by Jagadeesh VP | Posted in


package com.vpj;

import java.util.Set;
import com.vpj.Boo;

public class Foo {
private String fooId;
private Storing name;

private Set<Boo> boo;

/* Getters & Setters */
}

package com.vpj;

import java.util.Set;
import com.vpj.Foo;

public class Boo {
private String booId;
private String name;

private Set<Foo> foo;

/* Getters & Setters */
}

.hbm.xml :

...
<class type="com.vpj.Foo">
<id name="id" column="id">
<genetator class="increment" />
</id>

<property name="name" type="string" column="name" />

<set name="boo" table="Foo_Boo">
<key column="fooId" />
<many-to-many column="booId" class="Boo" />
</set>
</class>

<class type="com.vpj.Boo">
<id name="id" column="id">
<generator class="increment" />
</id>

<property name="name" type="string" column="name" />

<set name="foo" table="Foo_Boo">
<key column="booId" />
<many-to-many column="fooId" class="Foo" />
</set>
</class>
...

Attachment - Java Mail

0

Posted by Jagadeesh VP | Posted in


Session session = createMailSession(); // Create session with your
authentication data
MimeMessage message = new MimeMessage(session);
message.setFrom(new InternetAddress("from@vpj.com"));
message.setRecipients(new InternetAddress("to@vpj.com"));
message.setSubject("[SUBJECT]");

BodyPart textPart = new MimeBodyPart();
textPart.setText(emailBody);

Multipart multiPart = new MimeMultipart();
multiPart.addBodyPart(textPart);

DataSource source = new FileDataSource("[FILE_PATH]");

BodyPart attachmentPart = new MimeBodyPart();
attachmentPart.setDataHandler(new DataHandler(source));
attachmentPart.setFileName("[FILE_NAME]");

multiPart.addBodyPart(attachmentPart);

message.setContent(multiPart);

Transport.send(message);

Authentication - Java Mail

0

Posted by Jagadeesh VP | Posted in ,


import java.net.URLEncoder;
import java.util.*;
import javax.mail.*;
import javax.mail.internet.*;

public class MyMail {

private String d_email = "";
private String d_password = "";

public void sendMail(String tomailid, String subject, String message)
throws Exception {

Properties mailProps = new Properties();

mailProps.load( this.getClass().getResourceAsStream("data/MailData.properties"));

d_email = mailProps.getProperty("smtp.user");
d_password = mailProps. getProperty("smtp.password");

Authenticator auth = new SMTPAuthenticator();

Session session = Session.getInstance(mailProps, auth);

MimeMessage msg = new MimeMessage(session);
msg.setHeader("Content-Type", "text/html;");

InternetAddress from = new InternetAddress(mailProps.get("mail.user").toString(),
"[EMAIL_HEADING]");
msg.setFrom(from);
InternetAddress to = new InternetAddress(tomailid);

msg.addRecipient(Message.RecipientType.TO, to);
msg.addRecipient(Message.RecipientType.BCC, new InternetAddress("emailid@test.in"));
msg.setSubject(subject);
msg.setContent(message, "text/html");

Transport.send(msg);
}

private class SMTPAuthenticator extends Authenticator {
public PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication(d_email, d_password);
}
}

}

InputStream to String

0

Posted by Jagadeesh VP | Posted in ,


import java.io.InputStream;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class StreamToString {

public static void main(String[] args) throws Exception {
StreamToString sts = new StreamToString();

InputStream is = sts.getClass().getResourceAsStream("/data.txt");

/*
* Call the method to convert the
* stream to string
*/
System.out.println(sts.convertStreamToString(is));
}

public String convertStreamToString(InputStream is) throws IOException {
/*
* To convert the InputStream to String
* we use the BufferedReader.readLine()
* method. Each line will appended to a
* StringBuilder and returned as String.
*/
if (is != null) {
StringBuilder sb = new StringBuilder();
String line = null;

try {
BufferedReader reader = new BufferedReader(new InputStreamReader(is, "UTF-8"));
while ((line = reader.readLine()) != null)
sb.append(line).append("\n");

} catch (Exception e) {
//Do something..
} finally {
is.close();
}
return sb.toString();
} else {
return "";
}
}
}

GWT Startup

0

Posted by Jagadeesh VP | Posted in




Gwt [Server & Client Side] :

Models :

Pojos with Serializable implementation


RPC :


RemoteInterface --> Class extends the com.google.gwt.user.client.rpc.RemoteService
RemoteAsynInterface --> Class [RemoteIntefaceName]+"Async"
All the methods in RemoteInterface should defined in this interface with an extra parameter AsyncCallback.


Server : [ServerClass]


Class should implement RemoteInterface and extends com.google.gwt.user.server.rpc.RemoteServiceServlet


web.xml :


Tells the default page.
Also ServletClass & Mapping.

CallBack: [CallbackClass]


This the the class responsible for AJAX type updates to clients from Server (i.e., ServerClass)
CallbackClass Should implements com.google.gwt.user.client.rpc.AsyncCallback
Two methods:
public void onSuccess(T resultToClient)
The interface is parametrized, thus it supports strong typing. We can proceed with logic instead of worrying about type-casting.
public void onFailure(Throwable exception);


Client:


Probably like a Backing-Bean which has all the component's reference/Object that our page should have.
It should implement com.google.gwt.core.client.EntryPoint
This EntryPoint has the method onLoadModule()
We can override this method to load components in our page.



Project XML : [Project_Name.gwt.xml]


Specifies the compiler which is the Entry_point class.
It also specifies the name of other applications [via tag] in the same container, to which this application has the access.
It also has the URL - Servlet Mapping [As in struts-config file], to which URL which servlet/class is invoked.

[Typically like a WSDL file, since this also the remote call]



HTML Page:


GWT will generate this file, no need to take care on this.

Configure mod_jk

0

Posted by Jagadeesh VP | Posted in ,

Apache:

Place mod_jk.so file in <apache_home>/modules dir.
Instruct apache to load the file vis httpd.conf

LoadModule jk_module modules/mod_jk.so

Locate the file path of mod_jk.conf to apache via httpd.conf file

Include [file path]

change the <directory> tag entries
Host entry in extra/vhost.conf


Tomcat:

Place the following in server.xml

<listener className = "org.apache,jk.config.ApacheConfig"
modJk= "[mod_jk.so file location]"
workersConfig = "[workers.properties file location]"
jkLog = "[user defined location]"
jkDebug = "info" />


Add the following under <host> tag
<listener className = "org.apache.jk.config.ApacheConfig"
append="true" jkWorker="ajp13 [any name as in worker.properties]" />

OpenInviter

0

Posted by Jagadeesh VP | Posted in

This is an wonderful API for importing contacts from your mail. This API supports almost all known email providers, CMS and social networks.

More over this is an Open Source package. This is implemented in PHP. So to deploy this Apache is enough.

I am working with TOMCAT container. I don't have much knowledge about apache server.
But for me it took a vary small time to integrate OpenInviter with my application.

Your apache should have Php DOM extension & curl modules. This application need this two support from your web server.

I followed all the instructions given in the package. But it not worked in my server.

So i did the following changes in config.php

$openinviter_settings=array(
'username'=>"xxxxxxxxx",[Your_OpenInviter_Username]
'private_key'=>"xyxyxyxyxyyxyxyxyxyxyxyxyyxyx", [Your_OpenInviter_Private Key]
'cookie_path'=>"/tmp",
'message_body'=>"", [I'll get this from user]
'message_subject'=>"My Mail",
'transport'=>"curl",
'local_debug'=>"on_error",
'remote_debug'=>"",
'hosted'=>"",
'proxies'=>array(),
'stats'=>"",
'plugins_cache_time'=>"1800",
'plugins_cache_file'=>"oi_plugins.php",
'update_files'=>"1",
'stats_user'=>"",
'stats_password'=>""
);
?>

Hope this may be useful.

Leadership Quality

0

Posted by Jagadeesh VP | Posted in

* Always tell the fact. Create a foundation of fairness and openness.
* Communicate constantly and exhibit strong and active listening skills. Be approachable.
* Be frank, but kind. Let everyone know what is expected and be demanding as far as standards and values are concerned. Be encouraging.
* Be a problem solver and part of the solution, and be willing to delegate.
* Show patience, discipline and determination.
* Love what you do and have a generous spirit.
* Find balance in your work/life experiences and encourage and help others to do the same.
* Lead by example. Be receptive to new ideas. Be both a teacher and a learner. Value creativity and let people stretch themselves.
* Exercise moral courage.
* Create an ongoing reward and recognition program.
* Have a heart and don't be afraid to show it.

If you follow have these, then people will start following you.

Memory Monitor JSP

0

Posted by Jagadeesh VP | Posted in , ,

Place this JSP in your container to know the memory status

<%@ page import="java.lang.management.*" %>
<%@ page import="java.util.*" %>

<title>JVM Memory Monitor</title>
<%
Iterator<MemoryPoolMXBean> iterator = ManagementFactory.getMemoryPoolMXBeans().iterator();
while (iterator.hasNext()) {
MemoryPoolMXBean item = (MemoryPoolMXBean) iterator.next();
%>

<table border="0" width="100%">
<tbody><tr>
<td colspan="2" align="center">
<h3>Memory MXBean</h3>
</td>
</tr>
<tr>
<td width="200">Heap Memory Usage</td>
<td>
<%= ManagementFactory.getMemoryMXBean().getHeapMemoryUsage()%>
</td>
</tr>
<tr>
<td>Non-Heap Memory Usage</td>
<td>
<%= ManagementFactory.getMemoryMXBean().getNonHeapMemoryUsage() %>
</td>
</tr>
<% } %>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2" align="center">
<h3>Memory Pool MXBeans</h3>
</td>
</tr>
<%
Iterator<MemoryPoolMXBean> iter1 = ManagementFactory.getMemoryPoolMXBeans().iterator();
while (iter1.hasNext()) {
MemoryPoolMXBean item = (MemoryPoolMXBean) iter1.next();
%>
<tr>
<td colspan="2">
<table style="border: 1px solid rgb(152, 170, 177);" border="0" width="100%">
<tbody><tr>
<td colspan="2" align="center">
<b><%= item.getName() %></b>
</td>
</tr>
<tr>
<td width="200">Type</td>
<td>
<%= item.getType() %>
</td>
</tr>
<tr>
<td>Usage</td>
<td><%= item.getUsage() %></td>
</tr>
<tr>
<td>Peak Usage</td>
<td><%= item.getPeakUsage() %></td>
</tr>
<tr>
<td>Collection Usage</td>
<td><%= item.getCollectionUsage() %></td>
</tr>
</tbody></table>
</td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<% } %>
</tbody></table>

IT 2010

0

Posted by Jagadeesh VP | Posted in

According to the statistics given by various organizations and corporates, total population if IT field in India will raise up to 20%. In this 20% the major portion will be filled by campus recruitment and by freshers (including 1+).

So guys prepare for war. It won't be a smooth ground for us...

Indian employees most passionate about their jobs

0

Posted by Jagadeesh VP | Posted in , , ,

72 percent of Indian employees say that they are passionate about their jobs when their skills and abilities are put to good use; the company supports work/life balance; they have confidence in the company's future; they have the opportunity to improve their skills; and they are recognized for their work.

Employees in Brazil (63 percent), Canada (60 percent), and the United States and Germany (59 percent) report the most passion followed by those in Saudi Arabia and Russia (58 percent). Workers in Japan (41 percent) are the least likely to feel passionate. With Valentine's Day right around the corner, the Kenexa Research Institute (KRI), a division of Kenexa, a global provider of business solutions for human resources, conducted a survey on "What makes an employee passionate about his/her job?" which says that globally, 56 percent of surveyed employees feel passionate about their jobs.







Image

Having passion for one's job is defined by the extent to which employees are excited about their work, feel a sense of personal accomplishment, are extremely satisfied with their organization, believe they have a future at their organization, and rarely think about finding a new job.


Also, the intensity to which employees are passionate about their jobs varies among different jobs types. In India, clerical workers (77 percent) report the most passion for their jobs followed by supervisors (76 percent), senior/middle managers (74 percent), salespeople (72 percent) and professional/technical workers (70 percent). Service and production workers (64 percent) report the least amount of passion.

Brenda Kowske, research consultant, Kenexa Research Institute, said, "Similar to romantic passion, workers won't put up with a miserable relationship for long. As the economic outlook continues to improve, it would behoove leaders to 'play cupid.' Elevating an employee's passion for his/her job will keep employees happy and committed, even when other attractive opportunities come their way."
Src : Silicon India

JSF Validation Messages

0

Posted by Jagadeesh VP | Posted in , ,

In JSF, user defined error message can be displayed for validation.

The standard error messages that are shown for each type of validation error are controlled by the Message.properties file.
This file is placed in jsf-impl.jar.

jsf-impl.jar > javax.faces > Message.properties

We can create our own property file and use it in our application.
Eg :

javax.faces.component.UIInput.REQUIRED={0}: Validation Error: Value is required.

javax.faces.component.UIInput.REQUIRED= This field should have value.

Include your file in faces-config.xml.


<application>
<locale-config>
<default-locale> en </default-locale>
</locale-config>
<message-bundle> your.package.MyMessages </message-bundle>
</application>

JSF Bean & Bean Constructor

0

Posted by Jagadeesh VP | Posted in

Using constructor in bean class will make all the references from faces-config.xml to null.
This throws the exception.

But for some bean constructor in necessary for initialization.

This problem can be avoided by using @PostConstruct annotation.

Eg:

public MyBean(){
someMethod();
}
the above constructor can be replaced by

@PostConstruct
public void myBeanMethod(){
someMethod();
}

The method defined with this annotation will be called immediately after finishing the construction of Bean object.

Note : This annotation won't works in JSF 1.1

Quotes

0

Posted by Jagadeesh VP | Posted in

"All that is valuable in human society depends upon the opportunity for development accorded the individual."

Anyone who doesn't take truth seriously in small matters cannot be trusted in large ones either.

Albert Einstein


"So in the Sun world, the hard stuff is possible, but the easy stuff is hard. In the Microsoft world, the easy stuff is easy, but the hard stuff is impossible."

James Gosling

0

Posted by Jagadeesh VP | Posted in





Dependecy Injection

0

Posted by Jagadeesh VP | Posted in














Refer Bean ScopeReference Bean Scope
ApplicationApplication
SessionApplication, Session
RequestApplication, Session, Request




Examlple :

We have two classes Managed_Bean_Class1 & Managed_Bean_Class2 ,
public Class Managed_Bean_Class1 {
private String userName;
public void setUserName( String userName){
this.userName = userName;
}
public String getUserName(){
return userName;
}
}
if we need the instance of Managed_Bean_Class1 in Managed_Bean_Class2
public Class Managed_Bean_Class2 {
private String dbURL;
public void setUserName(String dbURL){
this.dbURL = dbURL;
}
public String getUserName(){
return dbURL;
}
public boolean checkUser() {
/* Normal way */
Managed_Bean_Class1 ref = (Managed_Bean_Class1)FacesContext.getCurrentInstance()
.getApplication().createValueBinding("#{managed_Bean_Class1}")
.getValue(FacesContext.getCurrentInstance());
String userName = ref.getUserName();
............
// business logic
}
public boolean connect() {
........
........
}
}





faces-config.xml entries for Managed_Bean_Class1 & Managed_Bean_Class2

<managed-bean>
<managed-bean-name>managed_Bean_Class1</managed-bean-name>
<managed-bean-class>myproject.UserData</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>managed_Bean_Class2</managed-bean-name>
<managed-bean-class>myproject.Control</managed-bean-class>
<managed-bean-scope>application</managed-bean-scope>
</managed-bean>





In case of dependency injection:
We have the Managed_Bean_Class1 as a property with getter & setter.



public Class Managed_Bean_Class2 {
private String dbURL;
public void setUserName(String dbURL){
this.dbURL = dbURL;
}
public String getUserName(){
return dbURL;
}
private Managed_Bean_Class1 class1_in_class2 = null;
public setClass1_in_class2(Managed_Bean_Class1 class1_in_class2){
this.class1_in_class2 = Class1_in_class2;
}
public Managed_Bean_Class1 getClass1_in_class2(){
return class1_in_class2;
}
public boolean checkUser() {
/* Normal way */
String userName = getClass1_in_class2().getUserName();
/* This will get the value in userName property
in Managed_Bean_Class1 */
............
// business logic
}
public boolean connect() {
........
........
}
}


faces-config.xml entries for Managed_Bean_Class1 & Managed_Bean_Class2:
<managed-bean>
<managed-bean-name>managed_Bean_Class1</managed-bean-name>
<managed-bean-class>myproject.UserData</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>managed_Bean_Class2</managed-bean-name>
<managed-bean-class>myproject.Control</managed-bean-class>
<managed-bean-scope>application</managed-bean-scope>
<managed-property>
<property-name>class1_in_class2</property-name>
<value>#{managed_Bean_Class1}</value>
</managed-property>
</managed-bean>


Aayirathil Oruvan

1

Posted by Jagadeesh VP | Posted in


A fantastic movie in Tamil cinema. Many commenting that he shouldn't have pulled the names of two dynasties for the sake of attracting audiences.

But i really proud about Mr Selva coz, with / without his knowledge he just narrated the real story of our peoples in SriLanka who are referred as LTTE.

The dialogs @ second half of the flim really superb. Mr Selva took a great decision, though he knows the Yalpanam Tamil is tough to understand by many.

He choose a right shield to protect him from the unwanted questions about the TIGER symbol. A flim which slapped all ours.

Some came out from theater without feeling the slap, some did not informed about this slap to others due security issue.


Time Warp

0

Posted by Jagadeesh VP | Posted in

One of the most viewed video in 2009.










Navigation in JSF

0

Posted by Jagadeesh VP | Posted in

Navigation from faces-config.xml

<navigation-rule>
<from-view-id>/blah.jsp</from-view-id>
<navigation-case>
<from-outcome>some string</from-outcome>
<to-view-id>/something.jsp</to-view-id>
</navigation-case>
</navigation-rule>

Navigation from Bean:
FacesContext ctx = FacesContext.getCurrentInstance();
ctx.getApplication().getNavigationHandler().handleNavigation(...);
ctx.responseComplete();

Hint: handleNavigation(fc, actionMethodCurrent, actionNameCurrent);
Eg :
context.getApplication().getNavigationHandler().handleNavigation(context, null, managed-bean-name);

Whats happening in TN?

0

Posted by Jagadeesh VP | Posted in

The two Tamil Nadu ministers who took no action as an injured policeman begged for help stayed away from his last rites, which were held at his hometown of Sankaran Kovil.

Only senior police officers were there to lay wreaths on his body.

The nationwide outrage over the incident seems to have had little effect on Health Minister Paneer Selvam and sports Minister P P Mounideen Khan.

They could have at least been with the family in their time of grief.

The two ministers were travelling in a convoy when they saw the injured and bleeding policeman crying out for help. The convoy did stop but failed to provide any real assistance until it was just too late.
And three days after the incident, the Tamil Nadu government is yet to announce a compensation for the family of the policeman who died while on duty.

The Tamil Nadu Assembly did not take any note of the incident on Friday.












The same may happen to any one of us in future... beware...

The discussion in NDTV portal regarding this incident is quite more different...

visit this link..

IT employee job satisfaction falls to all-time low

0

Posted by Jagadeesh VP | Posted in

Bangalore: With the increasing number of dissatisfied IT employees, many employment experts have raised concerns that key employees may leave current jobs as soon as they get what they perceive is a better offer, reports Computerworld.

In 2007, about 12 percent of the IT employees fit into the category of 'highly engaged' workers, but that has since fallen to four percent. According to the mid-2009 job satisfaction survey conducted by the Corporate Executive Board (CEB), a Washington-based advisory firm that counts many Fortune 500 firms among its clients, the IT employee dissatisfaction is on the rise. The firm surveys 150,000 workers each quarter, asking a battery of behavioral questions about their jobs. About 10,000 of the surveyed people work in the IT field, board officials said.



Also, the CEB's latest survey found that the willingness of IT employees to "exert high levels of discretionary effort" put in extra hours to solve a problem, make suggestions for improving processes, and generally seek to play a key role in an organization, has plummeted to its lowest levels since the survey was launched 10 years ago. "These are literally the most critical employees," said Jaime Capella, a Managing Director in CEB's information technology practice. Moreover, such critical workers are 2.5 times more likely than the average employee to be looking for new opportunities.

Similarly, the Conference Board, a non-profit research group, said that occupants of 45 percent of 5,000 U.S. households it surveyed last year were satisfied with their jobs; down from 61 percent in 1987, the first year the survey was conducted. "When the economy starts to head in the right direction, the employees are going to vote with their feet," said Mike Hagan, a Vice President of Infrastructure at a health insurance firm he asked not to be identified. He is also a Co-author of Achieving IT Service Quality - The Opposite of Luck (Synergy Books, Nov. 2009).

Hagan said that the recession has resulted in unnaturally low attrition levels. To keep key employees, he said that IT managers must find ways to engage employees, and offer them a "line of sight to the corporate vision." It's important that IT managers create jobs that have a purpose, he added.

Also Capella said, in order to keep employees, they are advising to take performance reviews very seriously, work on motivating teams and communicating more consistently and openly, as well as give employees more of a say in the jobs they want. If employees don't believe that companies aren't being honest, they are more likely to get disaffected, he said. If managers are frank with their employees they can "accumulate enough good will" to offset the negative impacts.