Joyful Suffering? (James 1:2-11)

James tells us that we are to be joyful in the midst of our suffering.  What kind of system of belief is Christianity?  Is it possible to find joy in the midst of suffering?  Is this something that is optional where maybe we find joy 10 percent of the time and the rest of the time we claim an injustice?  What does James mean and how can we possibly have a perspective of “joy” in the midst of suffering?