How to deploy Jsf component?

Hi Everyone,
I’m new to jsf.I need to develop a jsf component like pop up calender,for tht i’ve done it as an application,its working but how can i distribute it as a component.Plzz let me know if anyone knows it.
Thanks in advance.
Regards,
Sandy

Hi this is ashvini. I m working in ibm on jsf. But i m not even able to popup calender can u help me out . my emailid is
adeulkar@in.ibm.com. So plz reply me soon