do you mean having a java console within your site?
there's also another way to get people to join a room on a specified server:
<a href=irc://irc.server.com/#channel> "click here to join my channel!" </a>
this will force mIRC to open, and connect to the server and join that channel