Common Server API is replacing the old API for external server registration within the NetBeans IDE. I provided simple and well documented way how to register a server in the IDE. The major parts of the previous Java EE server registration have been deprecated while compatibility has been preserved.
The sources are part of the NetBeans repository.
Oracle Corporation