 J2EE included technologies and APIs for enterprise applications typically run in server environments, while J2ME featured APIs optimized for mobile applications.The desktop version was renamed J2SE.In 2006, for marketing purposes, Sun renamed new J2 versions as "Java EE", "Java ME", and "Java SE", respectively.