The Java EE tutorial is also a good way to learn Java EE, and is bundled with the Java EE 7 SDK along with GlassFish 4. As for the glassfish-web.xml, you only use one if you have GlassFish-specific features to configure for your application. By default, don't use any of these files and simply use Java EE annotations like As you build out your app and perhaps begin using some features that require the web.xml file (like to define the JavaServer Faces FacesServlet), then use a web.xml file. sun-web. It depends on the Java EE features you use. This is documented in the GlassFish Documentation. This file name is still supported for backwards compatibility, but you should migrate to glassfish-web.xml. The element hierarchy is as follows: sun-web-app. The sun-web.xml file configures a web application (WAR file). Previous: The sun-application.xml File Next: The sun-ejb-jar.xml File The sun-web.xml File. It no longer made sense to have this name after Sun was acquired by Oracle. Oracle GlassFish Server 3.0.1 Application Deployment Guide. sun-web.xml: Legacy application-server specific deployment descriptor, and has been replaced by glassfish-web.xml.This is documented in the GlassFish Documentation. To configure these features for GlassFish, use glassfish-web.xml. In the glassfish-web.xml file, valve and listener properties for a web module look like this: It is used to specify the metadata used by the web container to deploy the application in a portable manner across application servers (such as the URL endpoint of a servlet). web-facelettaglibrary40.xsd, XML Schema for the Jakarta Tag Libraries in the Jakarta Faces Standard Facelets View Declaration Language (Facelets VDL). The element hierarchy is as follows: glassfish-web-app.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |