You can message and share files inside your intranet without a server.
An OpenSource Chat Solution
Client-server networking library
The IRC's Talking Robot
Chat Application and file sharing application
Underground IM is a free Java Instant Messaging solution.
JavaBot allows people to easily implement their own IRC bots.
small, fast, java messenger