Glassfish

From BC$ MobileTV Wiki
Jump to: navigation, search

Glassfish is a fully-feature Java-based application server for hosting web-based JSP, Servlet and J2EE code.


As of Glassfish v4.1.1 (2017-03-12) the following "hack" was required to force the Java compile-time/runtime version:

 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE glassfish-web-app PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1 Servlet 3.0//EN" "http://glassfish.org/dtds/glassfish-web-app_3_0-1.dtd">
 <glassfish-web-app error-url="">
 <class-loader delegate="true"/>
 <jsp-config>
 <property name="keepgenerated" value="true">
 <description>Keep a copy of the generated servlet class' java code.</description>
 </property>
 <property name="compilerSourceVM" value="7"/>
 <property name="compilerTargetVM" value="7"/>
 </jsp-config>
 </glassfish-web-app> 


Tutorials


External Links

See Also

Oracle | Server | Tomcat | Sun | Java | JSP | Servlet