compile server : Java Glossary


compile server
Javac takes quite a long time to compile even the tiniest class. It takes a long time to stagger to its feet to get started. Then in rips along at a fast pace. What you can do is keep a copy of Javac permanently running and feed it stuff to compile on the fly, saving the startup time. In a team environment, you can further avoid each team member recompiling if you have an automated scheme to keep recompiling the universe or the changes from time to time.

It is simpler than you would imagine given the to implement the server. Here is code for a server and submitter. The submitter could further be speeded up by running constantly or being JET (Just Enough Time) compiled or written in C. Here is some sample code for a Compile Server and Compile submitter using a raw socket connection. Stuart Gratham explains the idea.

This page is posted
on the web at:

Optional Replicator mirror
on local hard disk J:

Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

Your face IP:[]
You are visitor number