Java is a language. J2EE is a development/deployment environment for web-based enterprise applications.