Neither your
J2EE server nor your
IDE have any connection with this.
You can adjust colors on calendar components by adding CSS style information. However, I'm not sure you can arbitrarily color a single day in the calendar to one of a multitude of colors. Then again, I haven't read that part of the RichFaces manual lately.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.